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