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