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