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