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