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