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