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