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