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