[AArch64] Gas add BFD_RELOC_AARCH64_LD64_GOTOFF_LO15 support
[external/binutils.git] / gas / ChangeLog
1 2015-06-15  Renlin Li  <renlin.li@arm.com>
2
3         * config/tc-aarch64.c (reloc_table): New relocation modifier.
4         (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTOFF_LO15.
5         (aarch64_force_relocation): Ditto
6
7 2015-06-13  Mark Wielaard  <mjw@redhat.com>
8
9         * dwarf2dbg.c (out_header): Document EXPR->X_add_number value,
10         out_debug_aranges depends on it.
11         (out_debug_aranges): Track size of header to properly pad header
12         for address alignment.
13
14 2015-06-11  John David Anglin  <danglin@gcc.gnu.org>
15
16         PR gas/18427
17         * gas/config/tc-hppa.c (last_label_symbol): Declare.
18         (pa_get_label): Return last label in current space/segment or NULL.
19         (pa_define_label): Record last label and add to root.
20         (pa_undefine_label): Remove last label from root.
21
22 2015-06-08  Nick Clifton  <nickc@redhat.com>
23
24         * config/tc-rx.c (rx_op): Correct handling of integer bignums.
25
26 2015-06-04  Matthew Wahab  <matthew.wahab@arm.com>
27
28         * NEWS: Mention ARMv8.1 support in the Aarch64 port.
29         * config/tc-aarch64.c (aarch64_arch_option_table): Add "armv8.1-a".
30         * doc/c-aarch64.texi (-march): Add "armv8.1-a".
31
32 2015-06-04  Renlin Li  <renlin.li@arm.com>
33
34         * config/tc-arm.c (arm_init_frag): Use frag's thumb_mode information
35         when available.
36
37 2015-06-04  Nick Clifton  <nickc@redhat.com>
38
39         * config/tc-h8300.c (md_section_align): Fix compile time warning
40         about left shifting a negative value.
41
42 2015-06-03  Matthew Wahab  <matthew.wahab@arm.com>
43
44         * config/tc-arm.c (arm_archs): Add "armv8.1-a".
45         * doc/c-arm.texi (ARM Options, -march): Add "armv8.1-a".
46         * NEWS: Mention ARMv8.1 support.
47
48 2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
49
50         * config/tc-arm.c (arm_ext_pan): New.
51         (do_setpan): New, encode an ARM SETPAN instruction.
52         (do_t_setpan): New, encode a Thumb SETPAN instruction.
53         (insns): Add "setpan".
54         (arm_extensions): Add "pan".
55         * doc/c-arm.texi (ARM Options): Add "pan" to list of -mcpu processor
56         extensions.
57
58 2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
59
60         * config/tc-aarch64.c (aarch64_features): Add "rdma".
61         * doc/c-aarch64.texi (AArch64 Extensions): Add "rdma".
62
63 2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
64
65         * config/tc-aarch64.c (aarch64_features): Add "lor".
66         * doc/c-aarch64.c (Aarch64 Extensions): Add "lor" to list of
67         architecture extensions.
68
69 2015-06-01  Matthew Wahab  <matthew.wahab@arm.com>
70
71         * config/tc-aarch64.c (parse_sys_reg): New parameter.  Check target
72         support.  Fix whitespace.
73         (parse_operands): Update for parse_sys_reg changes.
74         (aarch64_features): Add "pan".
75         * doc/c-aarch64.texi (Aarch64 Extensions): Add "pan".
76
77 2015-06-01  Jiong Wang  <jiong.wang@arm.com>
78
79         * config/tc-aarch64.c (reloc_table): New relocation modifiers.
80         (md_apply_fix): Support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
81         (aarch64_force_relocation): Ditto.
82
83 2015-06-01  Jiong Wang  <jiong.wang@arm.com>
84
85         * config/tc-aarch64.c (reloc_table): New relocation modifiers.
86         (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
87         (aarch64_force_relocation): Ditto.
88
89 2015-05-28  Catherine Moore  <clm@codesourcery.com>
90             Bernd Schmidt <bernds@codesourcery.com>
91             Paul Brook <paul@codesourcery.com>
92
93         gas/
94         * config/tc-alpha.c (all_cfi_sections): Declare.
95         (s_alpha_ent): Initialize all_cfi_sections.
96         (alpha_elf_md_end): Invoke cfi_set_sections.
97         * config/tc-mips.c (md_apply_fix):  Handle BFD_RELOC_NONE.
98         (s_ehword): Use BFD_RELOC_32_PCREL.
99         (mips_fix_adjustable): Handle BFD_RELOC_32_PCREL.
100         (mips_cfi_reloc_for_encoding): New function.
101         * tc-mips.h (DWARF2_FDE_RELOC_SIZE): Redefine.
102         (DWARF2_FDE_RELOC_ENCODING): Define.
103         (tc_cfi_reloc_for_encoding): Define.
104         (mips_cfi_reloc_for_encoding): Define.
105         (tc_compact_eh_opcode_stop): Define.
106         (tc_compact_eh_opcode_pad): Define.
107         * doc/as.texinfo: Document Compact EH extensions.
108         * doc/internals.texi: Likewise.
109         * dw2gencfi.c (EH_FRAME_LINKONCE): Redefine.
110         (tc_cfi_reloc_for_encoding): Provide default.
111         (compact_eh): Declare.
112         (emit_expr_encoded): New function.
113         (get_debugseg_name): Add Compact EH support.
114         (alloc_debugseg_item): Likewise.
115         (cfi_set_sections): New function.
116         (dot_cfi_fde_data): New function.
117         (dot_cfi_personality_id): New function.
118         (dot_cfi_inline_lsda): New function.
119         (cfi_pseudo_table): Add cfi_fde_data, cfi_personality_id,
120         and cfi_inline_lsda.
121         (dot_cfi_personality): Add Compact EH support.
122         (dot_cfi_lsda): Likewise.
123         (dot_cfi_sections): Likewise.
124         (dot_cfi_startproc): Likewise.
125         (get_cfi_seg): Likewise.
126         (output_compact_unwind_data): New function.
127         (output_cfi_insn): Add Compact EH support.
128         (output_cie): Likewise.
129         (output_fde): Likewise.
130         (cfi_finish): Likewise.
131         (cfi_emit_eh_header): New function.
132         (output_eh_header): New function.
133         * dw2gencfi.h (cfi_set_sections): Declare.
134         (SUPPORT_COMPACT_EH): Define.
135         (MULTIPLE_FRAME_SECTIONS): Define.
136         New enumeration to describe the Compact EH header format.
137         (fde_entry): Add new fields personality_id, eh_header_type, eh_data_size,
138         eh_data, eh_loc and sections.
139         (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame, CFI_EMIT_target,
140         CFI_EMIT_eh_frame_compact): Define.
141
142 2015-05-26  Max Filippov  <jcmvbkbc@gmail.com>
143
144         * config/tc-xtensa.c (xtensa_move_literals): Check that
145         search_frag is non-NULL. Report error if literal frag is not
146         found.
147
148 2015-05-22  Nick Clifton  <nickc@redhat.com>
149
150         PR gas/18446
151         * read.c (output_big_sleb128): Use U suffix to prevent compile
152         time warning.
153
154 2015-05-19  Jiong Wang  <jiong.wang@arm.com>
155
156         * config/tc-aarch64.c (process_movw_reloc_info): Sort relocation case
157         labels alphabetically.
158         (md_apply_fix): Ditto.
159         (aarch64_force_relocation): Ditto.
160
161 2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
162
163         PR binutis/18386
164         * config/tc-i386.c (OPTION_MAMD64): New.
165         (OPTION_MINTEL64): Likewise.
166         (md_longopts): Add -mamd64 and -mintel64.
167         (md_parse_option): Handle OPTION_MAMD64 and OPTION_MINTEL64.
168         (md_show_usage): Add -mamd64 and -mintel64.
169         * doc/c-i386.texi: Document -mamd64 and -mintel64.
170
171 2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
172
173         * config/tc-i386.c (shared): New.
174         (OPTION_MSHARED): Likewise.
175         (elf_symbol_resolved_in_segment_p): Add relocation argument.
176         Check PLT relocations and shared.
177         (md_estimate_size_before_relax): Pass fragP->fr_var to
178         elf_symbol_resolved_in_segment_p.
179         (md_longopts): Add -mshared.
180         (md_show_usage): Likewise.
181         (md_parse_option): Handle OPTION_MSHARED.
182         * doc/c-i386.texi: Document -mshared.
183
184 2015-05-14  H.J. Lu  <hongjiu.lu@intel.com>
185
186         * write.c (compress_debug): Don't write the zlib header, which
187         is handled by bfd_update_compression_header.
188
189 2015-05-13  Max Filippov  <jcmvbkbc@gmail.com>
190
191         * config/tc-xtensa.c (xtensa_relax_frag): Allow trampoline to be
192         closer than J_RANGE / 2 to jump frag.
193
194 2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
195
196         * configure.tgt (arch): Set to iamcu for i386-*-elfiamcu target.
197         * config/tc-i386.c (i386_mach): Support iamcu.
198         (i386_target_format): Likewise.
199
200 2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
201
202         * config/tc-i386.c (cpu_arch): Add iamcu.
203         (i386_align_code): Handle PROCESSOR_IAMCU.
204         (i386_arch): Likewise.
205         (i386_mach): Likewise.
206         (i386_target_format): Likewise.
207         (valid_iamcu_cpu_flags): New function.
208         (check_cpu_arch_compatible): Only allow Intel MCU instructions
209         when targeting Intel MCU.
210         (set_cpu_arch): Call valid_iamcu_cpu_flags to check if CPU flags
211         are valid for Intel MCU.
212         (md_parse_option): Likewise.
213         * tc-i386.h (ELF_TARGET_IAMCU_FORMAT): New.
214         (processor_type): Add PROCESSOR_IAMCU.
215         * doc/c-i386.texi: Document iamcu.
216
217 2015-05-08  Nick Clifton  <nickc@redhat.com>
218
219         PR gas/18347
220         * config/tc-arm.h (TC_EQUAL_IN_INSN): Define.
221         * config/tc-arm.c (arm_tc_equal_in_insn): New function.  Move
222         the symbol name checking code to here from...
223         (md_undefined_symbo): ... here.
224
225 2015-05-07  H.J. Lu  <hongjiu.lu@intel.com>
226
227         * config/tc-i386.c (elf_symbol_resolved_in_segment_p): New.
228         (md_estimate_size_before_relax): Use it.
229
230 2015-05-06  Jose E. Marchesi  <jose.marchesi@oracle.com>
231
232         * config/tc-sparc.c: Typo in comment fixed.
233
234 2015-05-06  Jose E. Marchesi  <jose.marchesi@oracle.com>
235
236         * config/tc-sparc.c (sparc_ip): Support the %ncc "natural"
237         condition codes
238         * doc/c-sparc.texi (Sparc-Regs): Document %ncc.
239
240 2015-05-06  Nick Clifton  <nickc@redhat.com>
241
242         * doc/as.texinfo (Dollar Local Labels): Note that these are only
243         supported on some targets.
244
245 2015-05-06  Renlin Li  <renlin.li@arm.com>
246
247         * config/tc-aarch64.c (mapping_state): Recording alignment before exit.
248
249 2015-05-05  Renlin Li  <renlin.li@arm.com>
250
251         * config/tc-aarch64.c (aarch64_init_frag): Always generate mapping
252         symbols.
253
254 2015-05-05  Nick Clifton  <nickc@redhat.com>
255
256         * config/tc-msp430.c (MAX_OP_LEN): Increase to 4096.
257         (msp430_make_init_symbols): New function.
258         (msp430_section): Call it.
259         (msp430_frob_section): Likewise.
260
261 2015-05-02  Max Filippov  <jcmvbkbc@gmail.com>
262
263         * config/tc-xtensa.c (cached_fixupS, fixup_cacheS): New typedefs.
264         (struct cached_fixup, struct fixup_cache): New structures.
265         (fixup_order, xtensa_make_cached_fixup),
266         (xtensa_realloc_fixup_cache, xtensa_cache_relaxable_fixups),
267         (xtensa_find_first_cached_fixup, xtensa_delete_cached_fixup),
268         (xtensa_add_cached_fixup): New functions.
269         (xtensa_relax_frag): Cache fixups pointing at potentially
270         oversized jumps at the beginning of every relaxation pass. Only
271         check subset of this cache in the reach of single jump from the
272         trampoline frag currently being relaxed.
273
274 2015-05-01  Nick Clifton  <nickc@redhat.com>
275
276         * config/rl78-parse.y (MULU): Remove ISA_G14.
277         (MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings.
278
279 2015-05-01  H.J. Lu  <hongjiu.lu@intel.com>
280
281         * config/tc-i386.c (i386_elf_emit_arch_note): Removed.
282         * config/tc-i386.h (md_end): Likewise.
283         (i386_elf_emit_arch_note): Likewise.
284
285 2015-05-01  H.J. Lu  <hongjiu.lu@intel.com>
286
287         * configure.tgt: Support i386-*-elf*.
288
289 2015-04-30  DJ Delorie  <dj@redhat.com>
290
291         * config/rl78-defs.h (rl78_isa_g10): New.
292         (rl78_isa_g13): New.
293         (rl78_isa_g14): New.
294         * config/rl78-parse.y (ISA_G10): New.
295         (ISA_G13): New.
296         (ISA_G14): New.
297         (MULHU, MULH, MULU, DIVHU, DIVWU, MACHU, MACH): Use them.
298         * config/tc-rl78.c (rl78_isa_g10): New.
299         (rl78_isa_g13): New.
300         (rl78_isa_g14): New.
301
302 2015-04-30  H.J. Lu  <hongjiu.lu@intel.com>
303
304         * config/tc-i386.c (i386_target_format): Use "else if" on
305         cpu_arch_isa.
306
307 2015-04-30  Nick Clifton  <nickc@redhat.com>
308
309         PR gas/18347
310         * config/tc-arm.c (md_undefined_symbol): Issue a warning message
311         (if enabled) when the user creates a symbol with the same name as
312         an ARM instruction.
313         (flag_warn_syms): New static variable.
314         (arm_opts): Add mwarn-syms and mno-warn-syms.
315         * doc/c-arm.texi (ARM Options): Document the -m[no-]warn-syms
316         options.
317
318         PR gas/18353
319         * doc/as.texinfo (Zero): Add documentation of the .zero pseudo-op.
320
321 2015-04-29  Nick Clifton  <nickc@redhat.com>
322
323         PR 18256
324         * config/tc-arm.c (encode_arm_cp_address): Issue an error message
325         if the operand is neither a register nor a vector.
326
327 2015-04-29  Nick Clifton  <nickc@redhat.com>
328
329         * doc/as.texinfo (Set): Note that a symbol cannot be set multiple
330         times if the expression is not constant and the target uses linker
331         relaxation.
332
333 2015-04-28  Renlin Li  <renlin.li@arm.com>
334
335         * config/tc-arm.c (arm_init_frag): Always emit mapping symbols.
336
337 2015-04-28  Nick Clifton  <nickc@redhat.com>
338
339         PR 18313
340         * cond.c (s_if): Stop compile time warning about stopc being used
341         before it is set.
342         (s_ifc): Likewise.
343
344 2015-04-27  Renlin Li  <renlin.li@arm.com>
345
346         * config/tc-aarch64.c (s_aarch64_inst): Don't align code for non-text
347         section.
348         (md_assemble): Likewise, move the align code outside the loop.
349
350 2015-04-24  Jim Wilson  <jim.wilson@linaro.org>
351
352         * config/tc-aarch64.c (aarch64_cpus): Add CRC and CRYPTO features
353         for thunderx.
354
355 2015-04-24  Richard Earnshaw  <rearnsha@arm.com>
356
357         * config/tc-arm.h (arm_min): New function.
358         (SUB_SEGMENT_ALIGN): Define.
359
360 2015-04-23  Matthew Fortune  <matthew.fortune@imgtec.com>
361
362         * config/tc-mips.c (macro): State the recommended way of creating
363         32-bit or 64-bit addresses.
364
365 2015-04-23  Jan Beulich  <jbeulich@suse.com>
366
367         * config/tc-i386.c (match_mem_size): Also allow no size
368         specification when broadcasting.
369
370 2015-04-20  H.J. Lu  <hongjiu.lu@intel.com>
371
372         * doc/as.texinfo (Bundle directives): Shorten menu entry and
373         use @subsection.
374         (CFI directives): Use @subsection.
375         (SH-Dependent, SH64-Dependent): Moved after SCORE-Dependent.
376         * doc/c-i386.texi (i386-Mnemonics): Use @subsection.
377
378 2015-04-17  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
379
380         * config/tc-avr.c (create_record_for_frag): Rename link to
381         prop_rec_link.
382
383 2015-04-15  H.J. Lu  <hongjiu.lu@intel.com>
384
385         * NEWS: Mention
386         --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
387
388 2015-04-14  H.J. Lu  <hongjiu.lu@intel.com>
389
390         * as.h (compressed_debug_section_type): Removed.
391
392 2015-04-14  Nick Clifton  <nickc@redhat.com>
393
394         * config/tc-rl78.h (TC_LINKRELAX_FIXUP): Define.
395         (TC_FORCE_RELOCATION_SUB_SAME): Define.
396         (DWARF2_USE_FIXED_ADVANCE_PC): Define.
397
398 2015-04-10  Nick Clifton  <nickc@redhat.com>
399
400         PR binutils/18198
401         * doc/c-arm.texi (ARM Options): Add a note about the interaction of
402         the -EB option with the linker's --be8 option.
403
404 2015-04-09  Hans-Peter Nilsson  <hp@axis.com>
405
406         * doc/c-rx.texi: Fix markup typos in last change.
407
408 2015-04-09  Nick Clifton  <nickc@redhat.com>
409
410         * config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS.
411         (md_longopts): Add -mno-allow-string-insns.
412         (md_parse_option): Handle -mno-allow-string-insns.
413         (md_show_usage): Mention -mno-allow-string-insns.
414         (rx_note_string_insn_use): New function.  Produces an error
415         message if a string insn is used when it is not allowed.
416         * config/rx-parse.y (SCMPU): Call rx_note_string_insn_use.
417         (SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise.
418         * config/rx-defs.h (rx_note_string_insn_use): Prototype.
419         * doc/c-rx.texi: Document -mno-allow-string-insns.
420
421 2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
422
423         * as.c (show_usage): Update --compress-debug-sections.
424         (std_longopts): Use optional_argument on compress-debug-sections.
425         (parse_args): Handle
426         --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
427         * as.h (compressed_debug_section_type): New.
428         (flag_compress_debug): Change type to compressed_debug_section_type.
429         --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
430         * write.c (compress_debug): Set BFD_COMPRESS_GABI for
431         --compress-debug-sections=zlib-gabi.  Call
432         bfd_get_compression_header_size to get compression header size.
433         Don't rename section name for --compress-debug-sections=zlib-gabi.
434         * config/tc-i386.c (compressed_debug_section_type): Set to
435         COMPRESS_DEBUG_ZLIB.
436         * doc/as.texinfo: Document
437         --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
438
439 2015-04-07  Renlin Li  <renlin.li@arm.com>
440
441         * config/tc-aarch64.c (mapping_state): Use subseg_text_p.
442         (s_aarch64_inst): Likewise.
443         (md_assemble): Likewise.
444
445 2015-04-06  H.J. Lu  <hongjiu.lu@intel.com>
446
447         * write.c (compress_debug): Use bfd_putb64 to write uncompressed
448         section size.
449
450 2015-04-05  H.J. Lu  <hongjiu.lu@intel.com>
451
452         * write.c (compress_debug): Don't write the zlib header if
453         compressed section size is the same as before compression.
454
455 2015-04-02  Nick Clifton  <nickc@redhat.com>
456
457         PR gas/18189
458         * config/tc-microblaze.c (parse_imm): Use offsetT as the type for
459         min and max parameters.  Sign extend values before testing.
460
461 2015-04-02  Renlin Li  <renlin.li@arm.com>
462
463         * config/tc-aarch64.c (mapping_state): Emit MAP_DATA within text section in order.
464         (mapping_state_2): Don't emit MAP_DATA here.
465         (s_aarch64_inst): Align frag during state transition.
466         (md_assemble): Likewise.
467
468 2015-04-02  Ed Maste  <emaste@freebsd.org>
469
470         * config/tc-aarch64.c (set_error_kind): Delete.
471         (set_error_message): Delete.
472
473 2015-04-02  H.J. Lu  <hongjiu.lu@intel.com>
474
475         * configure: Regenerated.
476
477 2015-04-01  Evandro Menezes  <e.menezes@samsung.com>
478
479         * config/tc-aarch64.c: Add support for Samsung Exynos M1.
480         * doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
481
482 2015-04-01  Evandro Menezes  <e.menezes@samsung.com>
483
484         * config/tc-arm.c: Add support for Samsung Exynos M1.
485         * doc/c-arm.texi (-mcpu=): Add "exynos-m1".
486
487 2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
488
489         * configure: Regenerated.
490
491 2015-03-31  Ed Schouten  <ed@nuxi.nl>
492
493         * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
494
495 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
496
497         * configure.ac: Revert the AM_ZLIB change.
498         * Makefile.in: Regenerated.
499         * aclocal.m4: Likewise.
500         * configure: Likewise.
501
502 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
503
504         * Makefile.am (ZLIBINC): New.
505         (AM_CFLAGS): Add $(ZLIBINC).
506         * as.c: (show_usage): Don't check HAVE_ZLIB_H.
507         (parse_args): Likewise.
508         * compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
509         (compress_init): Don't check HAVE_ZLIB_H.
510         (compress_data): Likewise.
511         (compress_finish): Likewise.
512         * configure.ac (AM_ZLIB): Removed.
513         (zlibinc): New.  AC_SUBST.
514         Add --with-system-zlib.
515         * Makefile.in: Regenerated.
516         * config.in: Likewise.
517         * configure: Likewise.
518         * doc/Makefile.in: Likewise.
519
520 2015-03-27  H.J. Lu  <hongjiu.lu@intel.com>
521
522         * config/tc-i386.c (cpu_flags_set): Removed.
523
524 2015-03-25  Renlin Li  <renlin.li@arm.com>
525
526         * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
527         code.
528         (mapping_state_2): Emit first MAP_DATA symbol here.
529
530 2015-03-24  H.J. Lu  <hongjiu.lu@intel.com>
531
532         PR gas/18087
533         * write.c (compress_debug): Don't write the zlib header if
534         compression didn't make the section smaller.
535
536 2015-03-24  Terry Guo  <terry.guo@arm.com>
537
538         * config/tc-arm.c (no_cpu_selected): Use new macro to compare
539         features.
540         (parse_psr): Likewise.
541         (do_t_mrs): Likewise.
542         (do_t_msr): Likewise.
543         (static const arm_feature_set arm_ext_*): Defined with new macros.
544         (static const arm_feature_set arm_cext_*): Likewise.
545         (static const arm_feature_set fpu_fpa_ext_*): Likewise.
546         (static const arm_feature_set fpu_vfp_ext_*): Likewise.
547         (deprecated_coproc_regs): Likewise.
548         (UL_BARRIER): Likewise.
549         (barrier_opt_names): Likewise.
550         (arm_cpus): Likewise.
551         (arm_extensions): Likewise.
552
553 2015-03-20  H.J. Lu  <hongjiu.lu@intel.com>
554
555         * config/tc-i386.c (i386_align_code): Limit multi-byte nop
556         instructions to 10 bytes.
557
558 2015-03-19  Nick Clifton  <nickc@redhat.com>
559
560         * config/tc-rl78.c (enum options): Add G13 and G14.
561         (md_longopts): Add -mg13 and -mg14.
562         (md_parse_option): Handle -mg13 and -mg14.
563         (md_show_usage): List -mg13 and -mg14.
564         * doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
565
566 2015-03-18  Jon Turney  <jon.turney@dronecode.org.uk>
567             Nick Clifton  <nickc@redhat.com>
568
569         PR binutils/18087
570         * doc/as.texinfo: Note that when gas compresses debug sections the
571         compression is only performed if it makes the section smaller.
572         * write.c (compress_debug): Do not compress a debug section if
573         doing so would make it larger.
574
575 2015-03-17  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
576
577         * config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
578         (i386_align_code): Add PROCESSOR_ZNVER cases.
579         * config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
580         * doc/c-i386.texi: Add znver1 and clzero.
581
582 2015-03-16  Nick Clifton  <nickc@redhat.com>
583
584         * dwarf2dbg.c (out_header): Remove spurious #if 1.
585
586 2015-03-13  Jiong Wang  <jiong.wang@arm.com>
587
588         * config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
589         number 31.
590
591 2015-03-13  Jiong Wang  <jiong.wang@arm.com>
592
593         * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
594
595 2015-03-12  Andrew Bennett  <andrew.bennett@imgtec.com>
596
597         * config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
598         * doc/c-mips.texi: Document i6400 -march option.
599
600 2015-03-12  Nick Clifton  <nickc@redhat.com>
601
602         PR gas/17444
603         * config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
604         to arm_apply_sym_value.  Update prototype.
605         * config/tc-arm.c (arm_apply_sym_value): Add segment argument.
606         Do not apply the value if the symbol is in a different segment to
607         the current segment.
608
609 2015-03-11  Alan Modra  <amodra@gmail.com>
610
611         * config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
612         (md_apply_fix): Report an error on data-only fixups used with insns.
613
614 2015-03-10  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
615
616         * config/tc-s390.c (md_gather_operands): Check for valid
617         length field operands.
618
619 2015-03-10  Michael Perkins  <perkinsmg75@yahoo.co.uk>
620
621         * config/tc-arm.c (parse_operands): Fix bug setting writeback
622         values for '^' on OP_REGLSTs.
623         (do_push_pop): Add new writeback constraint.
624
625 2015-03-10  Renlin Li  <renlin.li@arm.com>
626
627         * config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
628         (mapping_state_2): Emit first MAP_DATA symbol here.
629
630 2015-03-10  Matthew Wahab  <matthew.wahab@arm.com>
631
632         * config/tc-aarch64.c (mapping_state): Set minimum alignment for
633         code sections.
634
635 2015-03-10  Nick Clifton  <nickc@redhat.com>
636
637         PR gas/17852
638         * config/tc-arm.c (md_begin): Ensure that selected_cpu is
639         initialised when CPU_DEFAULT is defined.
640
641 2015-03-05  Nick Clifton  <nickc@redhat.com>
642
643         * config/tc-v850.c (md_parse_option): Fix code to set or clear
644         EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
645         -m8byte-align and -m4byte-align command line options.
646
647 2015-03-04  Richard Sandiford  <richard.sandiford@arm.com>
648
649         PR gas/17843
650         * config/tc-aarch64.c (process_movw_reloc_info): Allow
651         R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
652         for MOVK.
653
654 2015-02-28  Alan Modra  <amodra@gmail.com>
655
656         * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
657         end to their alignment.
658
659 2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
660
661         * config/tc-aarch64.c (reloc_table_entry): Generate
662         BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
663         (md_apply_fix, aarch64_force_relocation): Handle
664         BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
665
666 2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
667
668         * config/tc-aarch64.c (reloc_table_entry): Generate
669         BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
670         (md_apply_fix, aarch64_force_relocation): Handle
671         BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
672
673 2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
674
675         * config/tc-aarch64.c (reloc_table_entry): Generate
676         BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
677         (md_apply_fix, aarch64_force_relocation): Handle
678         BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
679
680 2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
681
682         * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
683         (reloc_table): Likewise.
684         (parse_address_main): Use ld_literal_type.
685
686 2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
687
688         * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
689         (reloc_table): Likewise.
690         (parse_address_main): Use adr_type.
691
692 2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
693
694         * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
695
696 2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
697
698         * config/tc-avr.c: Add elf32-avr.h include.
699         (struct avr_property_record_link): New structure.
700         (avr_output_property_section_header): New function.
701         (avr_record_size): New function.
702         (avr_output_property_record): New function.
703         (avr_create_property_section): New function.
704         (avr_handle_align): New function.
705         (exclude_section_from_property_tables): New function.
706         (create_record_for_frag): New function.
707         (append_records_for_section): New function.
708         (avr_create_and_fill_property_section): New function.
709         (avr_post_relax_hook): New function.
710         * config/tc-avr.h (md_post_relax_hook): Define.
711         (avr_post_relax_hook): Declare.
712         (HANDLE_ALIGN): Define.
713         (avr_handle_align): Declare.
714         (strut avr_frag_data): New structure.
715         (TC_FRAG_TYPE): Define.
716
717 2015-02-25  Matthew Wahab  <matthew.wahab@arm.com>
718
719         * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
720         cortex-a72.
721
722 2015-02-24  Nick Clifton  <nickc@redhat.com>
723
724         * config/tc-v850.c (soft_float): New variable.
725         (v850_data_8): New variable.
726         (md_show_usage): Add -msoft-float/-mhard-float.
727         (md_parse_option): Likewise.
728         (md_begin): Set the default value of soft_float.
729         (v850_md_end): New function.  Creates a note section.
730         * config/tc-v850.h (md_end): Define.
731         * doc/c-v850.texi: Document -msoft-float/-mhard-float.
732
733 2015-02-23  Yoshinori Sato  <ysato@users.sourceforge.jp>
734
735         * config/tc-h8300.c (line_separater_chars): Add a version for
736         h8300-linux that includes a separator.
737         (default_mach): New variable.
738         (md_main): Use it.
739         (md_longopts): Add '--march' option.
740         (md_parse_option): Parse the new option.
741         * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
742         * configure.tgt: Add h8300-*-linux
743         * doc/c-h8300.texi: Document --march.
744
745 2015-02-23  Nick Clifton  <nickc@redhat.com>
746
747         PR 17940
748         * dwarf2dbg.c (out_header): When generating dwarf sections use
749         real symbols not temps for the start and end symbols.
750         * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
751         adjustments to relocations in debug sections.
752         (TC_LINKRELAX_FIXUP): Likewise.
753
754 2015-02-19  Alan Modra  <amodra@gmail.com>
755
756         * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
757         * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
758
759 2015-02-11  Matthew Wahab  <matthew.wahab@arm.com>
760
761         * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
762
763 2015-02-11  Matthew Wahab  <matthew.wahab@arm.com>
764
765         * config/tc-arm.c: Add support for Cortex-A72.
766
767 2015-02-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
768
769         * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
770         of as_warn for deprecation messages.
771         (encode_arm_addr_mode_2): Likewise.
772         (check_obsolete): Likewise.
773         (do_rd_rm_rn): Likewise.
774         (do_co_reg): Likewise.
775         (do_setend): Likewise.
776         (do_t_mov_cmp): Likewise.
777         (do_neon_ldr_str): Likewise.
778         (opcode_lookup): Likewise.
779         (if_fsm_post_encode): Likewise.
780         (md_assemble): Likewise.
781
782 2015-02-06  Jan Beulich  <jbeulich@suse.com>
783
784         * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
785         (cfi_change_reg_numbers): Also do nothing for CFI_label.
786         (cfi_pseudo_table): Also handle .cfi_label when not supporting
787         CFI directives.
788
789 2015-02-05  Alan Modra  <amodra@gmail.com>
790
791         * config/tc-msp430.c (md_assemble): Correct size passed to
792         extract_cmd.  Remove index check.
793
794 2015-02-04  Matthew Wahab  <matthew.wahab@arm.com>
795
796         * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
797         * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
798
799 2015-02-04  Nick Clifton  <nickc@redhat.com>
800
801         * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
802         these instructions.
803
804 2015-02-03  Renlin Li  <renlin.li@arm.com>
805
806         * doc/c-aarch64.texi (.arch): Document the directive.
807         (.arch_extension): Likewise.
808
809 2015-02-03  Nick Clifton  <nickc@redhat.com>
810
811         * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
812
813 2015-01-28  James Bowman  <james.bowman@ftdichip.com>
814
815         * Makefile.am: Add FT32 files.
816         * config/tc-ft32.c: New file.
817         * config/tc-ft32.h: New file.
818         * configure.tgt: Add FT32 support.
819         * Makefile.in: Regenerate.
820         * po/POTFILES.in: Regenerate.
821
822 2015-01-27  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
823
824         * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
825         of instruction la to a symbol.
826
827 2015-01-27  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
828
829         * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
830         section name.
831
832 2015-01-19  Alan Modra  <amodra@gmail.com>
833
834         * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
835         * write.c (get_frag_for_reloc): Allow match just past end of frag.
836
837 2015-01-16  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
838
839         * config/tc-s390.c (struct pd_reg): Remove.
840         (pre_defined_registers): Remove.
841         (REG_NAME_CNT): Remove.
842         (reg_name_search): Calculate the register number instead of doing
843         a lookup.
844         (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
845         reg_name_search signature.
846         (s390_parse_cpu): Support the new arch string z13.
847         (s390_insert_operand): Support for vector registers with the extra
848         field for the fifth bit of each vector register operand.
849         (md_gather_operand): Adjust to the new handling of optional
850         parameters.
851
852         * doc/as.texinfo: Document the z13 cpu string.
853
854 2015-01-13  Matthew Wahab  <matthew.wahab@arm.com>
855
856         * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
857         #0, restoring previous behaviour.
858
859 2015-01-12  Jan Beulich  <jbeulich@suse.com>
860
861         * gas/dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
862         (cfi_pseudo_table): Add "cfi_label".
863         (output_cfi_insn): Handle CFI_label.
864         (select_cie_for_fde): Als terminate CIE when encountering
865         CFI_label.
866         * dw2gencfi.h (cfi_add_label): Declare.
867         (struct cfi_insn_data): New member "sym_name".
868         (CFI_label): New.
869         * read.c (read_symbol_name): Drop "static".
870         * read.h (read_symbol_name): Declare.
871
872 2015-01-12  Jan Beulich  <jbeulich@suse.com>
873
874         * gas/config/tc-arm.c (do_neon_shl_imm): Check immediate range.
875         (do_neon_qshl_imm): Likewise.
876
877 2015-01-12  Alan Modra  <amodra@gmail.com>
878
879         * read.c (s_altmacro, s_reloc): Make definition static.
880
881 2015-01-10  Andrew Burgess  <andrew.burgess@embecosm.com>
882
883         * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
884         diff fixups.
885
886 2015-01-09  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
887
888         * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
889         X-Gene 2.
890         * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
891
892 2015-01-07  Jan Beulich <jbeulich@suse.com>
893
894         * config/tc-arm.c (struct arm_option_extension_value_table):
895         Split field "value" into fields "merge_value" and "clear_value".
896         (arm_extensions): Adjust initializer accordingly.
897
898 2015-01-01  Alan Modra  <amodra@gmail.com>
899
900         * as.c (parse_args): Just print current year.
901
902 2015-01-01  Alan Modra  <amodra@gmail.com>
903
904         Update year range in copyright notice of all files.
905
906 For older changes see ChangeLog-2014
907 \f
908 Copyright (C) 2015 Free Software Foundation, Inc.
909
910 Copying and distribution of this file, with or without modification,
911 are permitted in any medium without royalty provided the copyright
912 notice and this notice are preserved.
913
914 Local Variables:
915 mode: change-log
916 left-margin: 8
917 fill-column: 74
918 version-control: never
919 End: