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