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