1 2015-06-19 Peter Bergner <bergner@vnet.ibm.com>
3 * config/tc-ppc.c (md_assemble): Use ppc_optional_operand_value.
4 Allow for optional operands without insert functions.
6 2015-06-18 Nick Clifton <nickc@redhat.com>
9 * config/tc-arm.c (md_apply_fix): Add support for ADR in thumb
10 mode against a nearby symbol.
12 2015-06-18 Nick Clifton <nickc@redhat.com>
15 * config/tc-arm.c (tc_gen_reloc): Include BFD_RELOC_ARM_TLS_LE32
16 in the same case as BFD_RELOC_ARM_TLS_IS32.
18 2015-06-17 Nick Clifton <nickc@redhat.com>
20 * config/tc-arm.c (is_double_a_single): Make conditional upon the
21 availablity of a 64-bit type. Use this type for the argument and
23 (double_to_single): Likewise.
24 * config/tc-arm.c (move_or_literal_pool): Use a 64-bit type for
25 the constant value, if available. Generate a 64-bit value from a
26 bignum if supported. Only perform the second optimization for
27 PR 18500 if the 64-bit type is available.
29 2015-06-17 Alessandro Marzocchi <alessandro.marzocchi@gmail.com>
32 * config/tc-arm.c (is_double_a_single): New function.
33 (double_to_single): New function.
34 (move_or_literal_pool): Add support for converting VLDR to VMOV.
37 * config/tc-arm.c (move_or_literal_pool): Add support for LDR Rx,=
38 to MOV.w or MVN.w for Thumb2.
40 2015-06-17 Nicolas Pitre <nico@linaro.org>
42 * as.c (show_usage): Document --sectname-subst.
43 (parse_args): Add --sectname-subst.
44 * as.h (flag_sectname_subst): New.
45 * config/obj-elf.c (obj_elf_section_name): Add %S substitution.
46 * doc/as.texinfo: Document it.
48 2015-06-15 Renlin Li <renlin.li@arm.com>
50 * config/tc-aarch64.c (reloc_table): New relocation modifier.
51 (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTOFF_LO15.
52 (aarch64_force_relocation): Ditto
54 2015-06-13 Mark Wielaard <mjw@redhat.com>
56 * dwarf2dbg.c (out_header): Document EXPR->X_add_number value,
57 out_debug_aranges depends on it.
58 (out_debug_aranges): Track size of header to properly pad header
59 for address alignment.
61 2015-06-11 John David Anglin <danglin@gcc.gnu.org>
64 * gas/config/tc-hppa.c (last_label_symbol): Declare.
65 (pa_get_label): Return last label in current space/segment or NULL.
66 (pa_define_label): Record last label and add to root.
67 (pa_undefine_label): Remove last label from root.
69 2015-06-08 Nick Clifton <nickc@redhat.com>
71 * config/tc-rx.c (rx_op): Correct handling of integer bignums.
73 2015-06-04 Matthew Wahab <matthew.wahab@arm.com>
75 * NEWS: Mention ARMv8.1 support in the Aarch64 port.
76 * config/tc-aarch64.c (aarch64_arch_option_table): Add "armv8.1-a".
77 * doc/c-aarch64.texi (-march): Add "armv8.1-a".
79 2015-06-04 Renlin Li <renlin.li@arm.com>
81 * config/tc-arm.c (arm_init_frag): Use frag's thumb_mode information
84 2015-06-04 Nick Clifton <nickc@redhat.com>
86 * config/tc-h8300.c (md_section_align): Fix compile time warning
87 about left shifting a negative value.
89 2015-06-03 Matthew Wahab <matthew.wahab@arm.com>
91 * config/tc-arm.c (arm_archs): Add "armv8.1-a".
92 * doc/c-arm.texi (ARM Options, -march): Add "armv8.1-a".
93 * NEWS: Mention ARMv8.1 support.
95 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
97 * config/tc-arm.c (arm_ext_pan): New.
98 (do_setpan): New, encode an ARM SETPAN instruction.
99 (do_t_setpan): New, encode a Thumb SETPAN instruction.
100 (insns): Add "setpan".
101 (arm_extensions): Add "pan".
102 * doc/c-arm.texi (ARM Options): Add "pan" to list of -mcpu processor
105 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
107 * config/tc-aarch64.c (aarch64_features): Add "rdma".
108 * doc/c-aarch64.texi (AArch64 Extensions): Add "rdma".
110 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
112 * config/tc-aarch64.c (aarch64_features): Add "lor".
113 * doc/c-aarch64.c (Aarch64 Extensions): Add "lor" to list of
114 architecture extensions.
116 2015-06-01 Matthew Wahab <matthew.wahab@arm.com>
118 * config/tc-aarch64.c (parse_sys_reg): New parameter. Check target
119 support. Fix whitespace.
120 (parse_operands): Update for parse_sys_reg changes.
121 (aarch64_features): Add "pan".
122 * doc/c-aarch64.texi (Aarch64 Extensions): Add "pan".
124 2015-06-01 Jiong Wang <jiong.wang@arm.com>
126 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
127 (md_apply_fix): Support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
128 (aarch64_force_relocation): Ditto.
130 2015-06-01 Jiong Wang <jiong.wang@arm.com>
132 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
133 (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
134 (aarch64_force_relocation): Ditto.
136 2015-05-28 Catherine Moore <clm@codesourcery.com>
137 Bernd Schmidt <bernds@codesourcery.com>
138 Paul Brook <paul@codesourcery.com>
141 * config/tc-alpha.c (all_cfi_sections): Declare.
142 (s_alpha_ent): Initialize all_cfi_sections.
143 (alpha_elf_md_end): Invoke cfi_set_sections.
144 * config/tc-mips.c (md_apply_fix): Handle BFD_RELOC_NONE.
145 (s_ehword): Use BFD_RELOC_32_PCREL.
146 (mips_fix_adjustable): Handle BFD_RELOC_32_PCREL.
147 (mips_cfi_reloc_for_encoding): New function.
148 * tc-mips.h (DWARF2_FDE_RELOC_SIZE): Redefine.
149 (DWARF2_FDE_RELOC_ENCODING): Define.
150 (tc_cfi_reloc_for_encoding): Define.
151 (mips_cfi_reloc_for_encoding): Define.
152 (tc_compact_eh_opcode_stop): Define.
153 (tc_compact_eh_opcode_pad): Define.
154 * doc/as.texinfo: Document Compact EH extensions.
155 * doc/internals.texi: Likewise.
156 * dw2gencfi.c (EH_FRAME_LINKONCE): Redefine.
157 (tc_cfi_reloc_for_encoding): Provide default.
158 (compact_eh): Declare.
159 (emit_expr_encoded): New function.
160 (get_debugseg_name): Add Compact EH support.
161 (alloc_debugseg_item): Likewise.
162 (cfi_set_sections): New function.
163 (dot_cfi_fde_data): New function.
164 (dot_cfi_personality_id): New function.
165 (dot_cfi_inline_lsda): New function.
166 (cfi_pseudo_table): Add cfi_fde_data, cfi_personality_id,
168 (dot_cfi_personality): Add Compact EH support.
169 (dot_cfi_lsda): Likewise.
170 (dot_cfi_sections): Likewise.
171 (dot_cfi_startproc): Likewise.
172 (get_cfi_seg): Likewise.
173 (output_compact_unwind_data): New function.
174 (output_cfi_insn): Add Compact EH support.
175 (output_cie): Likewise.
176 (output_fde): Likewise.
177 (cfi_finish): Likewise.
178 (cfi_emit_eh_header): New function.
179 (output_eh_header): New function.
180 * dw2gencfi.h (cfi_set_sections): Declare.
181 (SUPPORT_COMPACT_EH): Define.
182 (MULTIPLE_FRAME_SECTIONS): Define.
183 New enumeration to describe the Compact EH header format.
184 (fde_entry): Add new fields personality_id, eh_header_type, eh_data_size,
185 eh_data, eh_loc and sections.
186 (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame, CFI_EMIT_target,
187 CFI_EMIT_eh_frame_compact): Define.
189 2015-05-26 Max Filippov <jcmvbkbc@gmail.com>
191 * config/tc-xtensa.c (xtensa_move_literals): Check that
192 search_frag is non-NULL. Report error if literal frag is not
195 2015-05-22 Nick Clifton <nickc@redhat.com>
198 * read.c (output_big_sleb128): Use U suffix to prevent compile
201 2015-05-19 Jiong Wang <jiong.wang@arm.com>
203 * config/tc-aarch64.c (process_movw_reloc_info): Sort relocation case
204 labels alphabetically.
205 (md_apply_fix): Ditto.
206 (aarch64_force_relocation): Ditto.
208 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
211 * config/tc-i386.c (OPTION_MAMD64): New.
212 (OPTION_MINTEL64): Likewise.
213 (md_longopts): Add -mamd64 and -mintel64.
214 (md_parse_option): Handle OPTION_MAMD64 and OPTION_MINTEL64.
215 (md_show_usage): Add -mamd64 and -mintel64.
216 * doc/c-i386.texi: Document -mamd64 and -mintel64.
218 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
220 * config/tc-i386.c (shared): New.
221 (OPTION_MSHARED): Likewise.
222 (elf_symbol_resolved_in_segment_p): Add relocation argument.
223 Check PLT relocations and shared.
224 (md_estimate_size_before_relax): Pass fragP->fr_var to
225 elf_symbol_resolved_in_segment_p.
226 (md_longopts): Add -mshared.
227 (md_show_usage): Likewise.
228 (md_parse_option): Handle OPTION_MSHARED.
229 * doc/c-i386.texi: Document -mshared.
231 2015-05-14 H.J. Lu <hongjiu.lu@intel.com>
233 * write.c (compress_debug): Don't write the zlib header, which
234 is handled by bfd_update_compression_header.
236 2015-05-13 Max Filippov <jcmvbkbc@gmail.com>
238 * config/tc-xtensa.c (xtensa_relax_frag): Allow trampoline to be
239 closer than J_RANGE / 2 to jump frag.
241 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
243 * configure.tgt (arch): Set to iamcu for i386-*-elfiamcu target.
244 * config/tc-i386.c (i386_mach): Support iamcu.
245 (i386_target_format): Likewise.
247 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
249 * config/tc-i386.c (cpu_arch): Add iamcu.
250 (i386_align_code): Handle PROCESSOR_IAMCU.
251 (i386_arch): Likewise.
252 (i386_mach): Likewise.
253 (i386_target_format): Likewise.
254 (valid_iamcu_cpu_flags): New function.
255 (check_cpu_arch_compatible): Only allow Intel MCU instructions
256 when targeting Intel MCU.
257 (set_cpu_arch): Call valid_iamcu_cpu_flags to check if CPU flags
258 are valid for Intel MCU.
259 (md_parse_option): Likewise.
260 * tc-i386.h (ELF_TARGET_IAMCU_FORMAT): New.
261 (processor_type): Add PROCESSOR_IAMCU.
262 * doc/c-i386.texi: Document iamcu.
264 2015-05-08 Nick Clifton <nickc@redhat.com>
267 * config/tc-arm.h (TC_EQUAL_IN_INSN): Define.
268 * config/tc-arm.c (arm_tc_equal_in_insn): New function. Move
269 the symbol name checking code to here from...
270 (md_undefined_symbo): ... here.
272 2015-05-07 H.J. Lu <hongjiu.lu@intel.com>
274 * config/tc-i386.c (elf_symbol_resolved_in_segment_p): New.
275 (md_estimate_size_before_relax): Use it.
277 2015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
279 * config/tc-sparc.c: Typo in comment fixed.
281 2015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
283 * config/tc-sparc.c (sparc_ip): Support the %ncc "natural"
285 * doc/c-sparc.texi (Sparc-Regs): Document %ncc.
287 2015-05-06 Nick Clifton <nickc@redhat.com>
289 * doc/as.texinfo (Dollar Local Labels): Note that these are only
290 supported on some targets.
292 2015-05-06 Renlin Li <renlin.li@arm.com>
294 * config/tc-aarch64.c (mapping_state): Recording alignment before exit.
296 2015-05-05 Renlin Li <renlin.li@arm.com>
298 * config/tc-aarch64.c (aarch64_init_frag): Always generate mapping
301 2015-05-05 Nick Clifton <nickc@redhat.com>
303 * config/tc-msp430.c (MAX_OP_LEN): Increase to 4096.
304 (msp430_make_init_symbols): New function.
305 (msp430_section): Call it.
306 (msp430_frob_section): Likewise.
308 2015-05-02 Max Filippov <jcmvbkbc@gmail.com>
310 * config/tc-xtensa.c (cached_fixupS, fixup_cacheS): New typedefs.
311 (struct cached_fixup, struct fixup_cache): New structures.
312 (fixup_order, xtensa_make_cached_fixup),
313 (xtensa_realloc_fixup_cache, xtensa_cache_relaxable_fixups),
314 (xtensa_find_first_cached_fixup, xtensa_delete_cached_fixup),
315 (xtensa_add_cached_fixup): New functions.
316 (xtensa_relax_frag): Cache fixups pointing at potentially
317 oversized jumps at the beginning of every relaxation pass. Only
318 check subset of this cache in the reach of single jump from the
319 trampoline frag currently being relaxed.
321 2015-05-01 Nick Clifton <nickc@redhat.com>
323 * config/rl78-parse.y (MULU): Remove ISA_G14.
324 (MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings.
326 2015-05-01 H.J. Lu <hongjiu.lu@intel.com>
328 * config/tc-i386.c (i386_elf_emit_arch_note): Removed.
329 * config/tc-i386.h (md_end): Likewise.
330 (i386_elf_emit_arch_note): Likewise.
332 2015-05-01 H.J. Lu <hongjiu.lu@intel.com>
334 * configure.tgt: Support i386-*-elf*.
336 2015-04-30 DJ Delorie <dj@redhat.com>
338 * config/rl78-defs.h (rl78_isa_g10): New.
341 * config/rl78-parse.y (ISA_G10): New.
344 (MULHU, MULH, MULU, DIVHU, DIVWU, MACHU, MACH): Use them.
345 * config/tc-rl78.c (rl78_isa_g10): New.
349 2015-04-30 H.J. Lu <hongjiu.lu@intel.com>
351 * config/tc-i386.c (i386_target_format): Use "else if" on
354 2015-04-30 Nick Clifton <nickc@redhat.com>
357 * config/tc-arm.c (md_undefined_symbol): Issue a warning message
358 (if enabled) when the user creates a symbol with the same name as
360 (flag_warn_syms): New static variable.
361 (arm_opts): Add mwarn-syms and mno-warn-syms.
362 * doc/c-arm.texi (ARM Options): Document the -m[no-]warn-syms
366 * doc/as.texinfo (Zero): Add documentation of the .zero pseudo-op.
368 2015-04-29 Nick Clifton <nickc@redhat.com>
371 * config/tc-arm.c (encode_arm_cp_address): Issue an error message
372 if the operand is neither a register nor a vector.
374 2015-04-29 Nick Clifton <nickc@redhat.com>
376 * doc/as.texinfo (Set): Note that a symbol cannot be set multiple
377 times if the expression is not constant and the target uses linker
380 2015-04-28 Renlin Li <renlin.li@arm.com>
382 * config/tc-arm.c (arm_init_frag): Always emit mapping symbols.
384 2015-04-28 Nick Clifton <nickc@redhat.com>
387 * cond.c (s_if): Stop compile time warning about stopc being used
391 2015-04-27 Renlin Li <renlin.li@arm.com>
393 * config/tc-aarch64.c (s_aarch64_inst): Don't align code for non-text
395 (md_assemble): Likewise, move the align code outside the loop.
397 2015-04-24 Jim Wilson <jim.wilson@linaro.org>
399 * config/tc-aarch64.c (aarch64_cpus): Add CRC and CRYPTO features
402 2015-04-24 Richard Earnshaw <rearnsha@arm.com>
404 * config/tc-arm.h (arm_min): New function.
405 (SUB_SEGMENT_ALIGN): Define.
407 2015-04-23 Matthew Fortune <matthew.fortune@imgtec.com>
409 * config/tc-mips.c (macro): State the recommended way of creating
410 32-bit or 64-bit addresses.
412 2015-04-23 Jan Beulich <jbeulich@suse.com>
414 * config/tc-i386.c (match_mem_size): Also allow no size
415 specification when broadcasting.
417 2015-04-20 H.J. Lu <hongjiu.lu@intel.com>
419 * doc/as.texinfo (Bundle directives): Shorten menu entry and
421 (CFI directives): Use @subsection.
422 (SH-Dependent, SH64-Dependent): Moved after SCORE-Dependent.
423 * doc/c-i386.texi (i386-Mnemonics): Use @subsection.
425 2015-04-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
427 * config/tc-avr.c (create_record_for_frag): Rename link to
430 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
433 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
435 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
437 * as.h (compressed_debug_section_type): Removed.
439 2015-04-14 Nick Clifton <nickc@redhat.com>
441 * config/tc-rl78.h (TC_LINKRELAX_FIXUP): Define.
442 (TC_FORCE_RELOCATION_SUB_SAME): Define.
443 (DWARF2_USE_FIXED_ADVANCE_PC): Define.
445 2015-04-10 Nick Clifton <nickc@redhat.com>
448 * doc/c-arm.texi (ARM Options): Add a note about the interaction of
449 the -EB option with the linker's --be8 option.
451 2015-04-09 Hans-Peter Nilsson <hp@axis.com>
453 * doc/c-rx.texi: Fix markup typos in last change.
455 2015-04-09 Nick Clifton <nickc@redhat.com>
457 * config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS.
458 (md_longopts): Add -mno-allow-string-insns.
459 (md_parse_option): Handle -mno-allow-string-insns.
460 (md_show_usage): Mention -mno-allow-string-insns.
461 (rx_note_string_insn_use): New function. Produces an error
462 message if a string insn is used when it is not allowed.
463 * config/rx-parse.y (SCMPU): Call rx_note_string_insn_use.
464 (SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise.
465 * config/rx-defs.h (rx_note_string_insn_use): Prototype.
466 * doc/c-rx.texi: Document -mno-allow-string-insns.
468 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
470 * as.c (show_usage): Update --compress-debug-sections.
471 (std_longopts): Use optional_argument on compress-debug-sections.
473 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
474 * as.h (compressed_debug_section_type): New.
475 (flag_compress_debug): Change type to compressed_debug_section_type.
476 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
477 * write.c (compress_debug): Set BFD_COMPRESS_GABI for
478 --compress-debug-sections=zlib-gabi. Call
479 bfd_get_compression_header_size to get compression header size.
480 Don't rename section name for --compress-debug-sections=zlib-gabi.
481 * config/tc-i386.c (compressed_debug_section_type): Set to
483 * doc/as.texinfo: Document
484 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
486 2015-04-07 Renlin Li <renlin.li@arm.com>
488 * config/tc-aarch64.c (mapping_state): Use subseg_text_p.
489 (s_aarch64_inst): Likewise.
490 (md_assemble): Likewise.
492 2015-04-06 H.J. Lu <hongjiu.lu@intel.com>
494 * write.c (compress_debug): Use bfd_putb64 to write uncompressed
497 2015-04-05 H.J. Lu <hongjiu.lu@intel.com>
499 * write.c (compress_debug): Don't write the zlib header if
500 compressed section size is the same as before compression.
502 2015-04-02 Nick Clifton <nickc@redhat.com>
505 * config/tc-microblaze.c (parse_imm): Use offsetT as the type for
506 min and max parameters. Sign extend values before testing.
508 2015-04-02 Renlin Li <renlin.li@arm.com>
510 * config/tc-aarch64.c (mapping_state): Emit MAP_DATA within text section in order.
511 (mapping_state_2): Don't emit MAP_DATA here.
512 (s_aarch64_inst): Align frag during state transition.
513 (md_assemble): Likewise.
515 2015-04-02 Ed Maste <emaste@freebsd.org>
517 * config/tc-aarch64.c (set_error_kind): Delete.
518 (set_error_message): Delete.
520 2015-04-02 H.J. Lu <hongjiu.lu@intel.com>
522 * configure: Regenerated.
524 2015-04-01 Evandro Menezes <e.menezes@samsung.com>
526 * config/tc-aarch64.c: Add support for Samsung Exynos M1.
527 * doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
529 2015-04-01 Evandro Menezes <e.menezes@samsung.com>
531 * config/tc-arm.c: Add support for Samsung Exynos M1.
532 * doc/c-arm.texi (-mcpu=): Add "exynos-m1".
534 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
536 * configure: Regenerated.
538 2015-03-31 Ed Schouten <ed@nuxi.nl>
540 * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
542 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
544 * configure.ac: Revert the AM_ZLIB change.
545 * Makefile.in: Regenerated.
546 * aclocal.m4: Likewise.
547 * configure: Likewise.
549 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
551 * Makefile.am (ZLIBINC): New.
552 (AM_CFLAGS): Add $(ZLIBINC).
553 * as.c: (show_usage): Don't check HAVE_ZLIB_H.
554 (parse_args): Likewise.
555 * compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
556 (compress_init): Don't check HAVE_ZLIB_H.
557 (compress_data): Likewise.
558 (compress_finish): Likewise.
559 * configure.ac (AM_ZLIB): Removed.
560 (zlibinc): New. AC_SUBST.
561 Add --with-system-zlib.
562 * Makefile.in: Regenerated.
563 * config.in: Likewise.
564 * configure: Likewise.
565 * doc/Makefile.in: Likewise.
567 2015-03-27 H.J. Lu <hongjiu.lu@intel.com>
569 * config/tc-i386.c (cpu_flags_set): Removed.
571 2015-03-25 Renlin Li <renlin.li@arm.com>
573 * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
575 (mapping_state_2): Emit first MAP_DATA symbol here.
577 2015-03-24 H.J. Lu <hongjiu.lu@intel.com>
580 * write.c (compress_debug): Don't write the zlib header if
581 compression didn't make the section smaller.
583 2015-03-24 Terry Guo <terry.guo@arm.com>
585 * config/tc-arm.c (no_cpu_selected): Use new macro to compare
587 (parse_psr): Likewise.
588 (do_t_mrs): Likewise.
589 (do_t_msr): Likewise.
590 (static const arm_feature_set arm_ext_*): Defined with new macros.
591 (static const arm_feature_set arm_cext_*): Likewise.
592 (static const arm_feature_set fpu_fpa_ext_*): Likewise.
593 (static const arm_feature_set fpu_vfp_ext_*): Likewise.
594 (deprecated_coproc_regs): Likewise.
595 (UL_BARRIER): Likewise.
596 (barrier_opt_names): Likewise.
597 (arm_cpus): Likewise.
598 (arm_extensions): Likewise.
600 2015-03-20 H.J. Lu <hongjiu.lu@intel.com>
602 * config/tc-i386.c (i386_align_code): Limit multi-byte nop
603 instructions to 10 bytes.
605 2015-03-19 Nick Clifton <nickc@redhat.com>
607 * config/tc-rl78.c (enum options): Add G13 and G14.
608 (md_longopts): Add -mg13 and -mg14.
609 (md_parse_option): Handle -mg13 and -mg14.
610 (md_show_usage): List -mg13 and -mg14.
611 * doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
613 2015-03-18 Jon Turney <jon.turney@dronecode.org.uk>
614 Nick Clifton <nickc@redhat.com>
617 * doc/as.texinfo: Note that when gas compresses debug sections the
618 compression is only performed if it makes the section smaller.
619 * write.c (compress_debug): Do not compress a debug section if
620 doing so would make it larger.
622 2015-03-17 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
624 * config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
625 (i386_align_code): Add PROCESSOR_ZNVER cases.
626 * config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
627 * doc/c-i386.texi: Add znver1 and clzero.
629 2015-03-16 Nick Clifton <nickc@redhat.com>
631 * dwarf2dbg.c (out_header): Remove spurious #if 1.
633 2015-03-13 Jiong Wang <jiong.wang@arm.com>
635 * config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
638 2015-03-13 Jiong Wang <jiong.wang@arm.com>
640 * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
642 2015-03-12 Andrew Bennett <andrew.bennett@imgtec.com>
644 * config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
645 * doc/c-mips.texi: Document i6400 -march option.
647 2015-03-12 Nick Clifton <nickc@redhat.com>
650 * config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
651 to arm_apply_sym_value. Update prototype.
652 * config/tc-arm.c (arm_apply_sym_value): Add segment argument.
653 Do not apply the value if the symbol is in a different segment to
656 2015-03-11 Alan Modra <amodra@gmail.com>
658 * config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
659 (md_apply_fix): Report an error on data-only fixups used with insns.
661 2015-03-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
663 * config/tc-s390.c (md_gather_operands): Check for valid
664 length field operands.
666 2015-03-10 Michael Perkins <perkinsmg75@yahoo.co.uk>
668 * config/tc-arm.c (parse_operands): Fix bug setting writeback
669 values for '^' on OP_REGLSTs.
670 (do_push_pop): Add new writeback constraint.
672 2015-03-10 Renlin Li <renlin.li@arm.com>
674 * config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
675 (mapping_state_2): Emit first MAP_DATA symbol here.
677 2015-03-10 Matthew Wahab <matthew.wahab@arm.com>
679 * config/tc-aarch64.c (mapping_state): Set minimum alignment for
682 2015-03-10 Nick Clifton <nickc@redhat.com>
685 * config/tc-arm.c (md_begin): Ensure that selected_cpu is
686 initialised when CPU_DEFAULT is defined.
688 2015-03-05 Nick Clifton <nickc@redhat.com>
690 * config/tc-v850.c (md_parse_option): Fix code to set or clear
691 EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
692 -m8byte-align and -m4byte-align command line options.
694 2015-03-04 Richard Sandiford <richard.sandiford@arm.com>
697 * config/tc-aarch64.c (process_movw_reloc_info): Allow
698 R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
701 2015-02-28 Alan Modra <amodra@gmail.com>
703 * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
704 end to their alignment.
706 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
708 * config/tc-aarch64.c (reloc_table_entry): Generate
709 BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
710 (md_apply_fix, aarch64_force_relocation): Handle
711 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
713 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
715 * config/tc-aarch64.c (reloc_table_entry): Generate
716 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
717 (md_apply_fix, aarch64_force_relocation): Handle
718 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
720 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
722 * config/tc-aarch64.c (reloc_table_entry): Generate
723 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
724 (md_apply_fix, aarch64_force_relocation): Handle
725 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
727 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
729 * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
730 (reloc_table): Likewise.
731 (parse_address_main): Use ld_literal_type.
733 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
735 * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
736 (reloc_table): Likewise.
737 (parse_address_main): Use adr_type.
739 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
741 * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
743 2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
745 * config/tc-avr.c: Add elf32-avr.h include.
746 (struct avr_property_record_link): New structure.
747 (avr_output_property_section_header): New function.
748 (avr_record_size): New function.
749 (avr_output_property_record): New function.
750 (avr_create_property_section): New function.
751 (avr_handle_align): New function.
752 (exclude_section_from_property_tables): New function.
753 (create_record_for_frag): New function.
754 (append_records_for_section): New function.
755 (avr_create_and_fill_property_section): New function.
756 (avr_post_relax_hook): New function.
757 * config/tc-avr.h (md_post_relax_hook): Define.
758 (avr_post_relax_hook): Declare.
759 (HANDLE_ALIGN): Define.
760 (avr_handle_align): Declare.
761 (strut avr_frag_data): New structure.
762 (TC_FRAG_TYPE): Define.
764 2015-02-25 Matthew Wahab <matthew.wahab@arm.com>
766 * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
769 2015-02-24 Nick Clifton <nickc@redhat.com>
771 * config/tc-v850.c (soft_float): New variable.
772 (v850_data_8): New variable.
773 (md_show_usage): Add -msoft-float/-mhard-float.
774 (md_parse_option): Likewise.
775 (md_begin): Set the default value of soft_float.
776 (v850_md_end): New function. Creates a note section.
777 * config/tc-v850.h (md_end): Define.
778 * doc/c-v850.texi: Document -msoft-float/-mhard-float.
780 2015-02-23 Yoshinori Sato <ysato@users.sourceforge.jp>
782 * config/tc-h8300.c (line_separater_chars): Add a version for
783 h8300-linux that includes a separator.
784 (default_mach): New variable.
786 (md_longopts): Add '--march' option.
787 (md_parse_option): Parse the new option.
788 * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
789 * configure.tgt: Add h8300-*-linux
790 * doc/c-h8300.texi: Document --march.
792 2015-02-23 Nick Clifton <nickc@redhat.com>
795 * dwarf2dbg.c (out_header): When generating dwarf sections use
796 real symbols not temps for the start and end symbols.
797 * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
798 adjustments to relocations in debug sections.
799 (TC_LINKRELAX_FIXUP): Likewise.
801 2015-02-19 Alan Modra <amodra@gmail.com>
803 * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
804 * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
806 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
808 * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
810 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
812 * config/tc-arm.c: Add support for Cortex-A72.
814 2015-02-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
816 * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
817 of as_warn for deprecation messages.
818 (encode_arm_addr_mode_2): Likewise.
819 (check_obsolete): Likewise.
820 (do_rd_rm_rn): Likewise.
821 (do_co_reg): Likewise.
822 (do_setend): Likewise.
823 (do_t_mov_cmp): Likewise.
824 (do_neon_ldr_str): Likewise.
825 (opcode_lookup): Likewise.
826 (if_fsm_post_encode): Likewise.
827 (md_assemble): Likewise.
829 2015-02-06 Jan Beulich <jbeulich@suse.com>
831 * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
832 (cfi_change_reg_numbers): Also do nothing for CFI_label.
833 (cfi_pseudo_table): Also handle .cfi_label when not supporting
836 2015-02-05 Alan Modra <amodra@gmail.com>
838 * config/tc-msp430.c (md_assemble): Correct size passed to
839 extract_cmd. Remove index check.
841 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
843 * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
844 * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
846 2015-02-04 Nick Clifton <nickc@redhat.com>
848 * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
851 2015-02-03 Renlin Li <renlin.li@arm.com>
853 * doc/c-aarch64.texi (.arch): Document the directive.
854 (.arch_extension): Likewise.
856 2015-02-03 Nick Clifton <nickc@redhat.com>
858 * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
860 2015-01-28 James Bowman <james.bowman@ftdichip.com>
862 * Makefile.am: Add FT32 files.
863 * config/tc-ft32.c: New file.
864 * config/tc-ft32.h: New file.
865 * configure.tgt: Add FT32 support.
866 * Makefile.in: Regenerate.
867 * po/POTFILES.in: Regenerate.
869 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
871 * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
872 of instruction la to a symbol.
874 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
876 * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
879 2015-01-19 Alan Modra <amodra@gmail.com>
881 * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
882 * write.c (get_frag_for_reloc): Allow match just past end of frag.
884 2015-01-16 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
886 * config/tc-s390.c (struct pd_reg): Remove.
887 (pre_defined_registers): Remove.
888 (REG_NAME_CNT): Remove.
889 (reg_name_search): Calculate the register number instead of doing
891 (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
892 reg_name_search signature.
893 (s390_parse_cpu): Support the new arch string z13.
894 (s390_insert_operand): Support for vector registers with the extra
895 field for the fifth bit of each vector register operand.
896 (md_gather_operand): Adjust to the new handling of optional
899 * doc/as.texinfo: Document the z13 cpu string.
901 2015-01-13 Matthew Wahab <matthew.wahab@arm.com>
903 * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
904 #0, restoring previous behaviour.
906 2015-01-12 Jan Beulich <jbeulich@suse.com>
908 * gas/dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
909 (cfi_pseudo_table): Add "cfi_label".
910 (output_cfi_insn): Handle CFI_label.
911 (select_cie_for_fde): Als terminate CIE when encountering
913 * dw2gencfi.h (cfi_add_label): Declare.
914 (struct cfi_insn_data): New member "sym_name".
916 * read.c (read_symbol_name): Drop "static".
917 * read.h (read_symbol_name): Declare.
919 2015-01-12 Jan Beulich <jbeulich@suse.com>
921 * gas/config/tc-arm.c (do_neon_shl_imm): Check immediate range.
922 (do_neon_qshl_imm): Likewise.
924 2015-01-12 Alan Modra <amodra@gmail.com>
926 * read.c (s_altmacro, s_reloc): Make definition static.
928 2015-01-10 Andrew Burgess <andrew.burgess@embecosm.com>
930 * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
933 2015-01-09 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
935 * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
937 * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
939 2015-01-07 Jan Beulich <jbeulich@suse.com>
941 * config/tc-arm.c (struct arm_option_extension_value_table):
942 Split field "value" into fields "merge_value" and "clear_value".
943 (arm_extensions): Adjust initializer accordingly.
945 2015-01-01 Alan Modra <amodra@gmail.com>
947 * as.c (parse_args): Just print current year.
949 2015-01-01 Alan Modra <amodra@gmail.com>
951 Update year range in copyright notice of all files.
953 For older changes see ChangeLog-2014
955 Copyright (C) 2015 Free Software Foundation, Inc.
957 Copying and distribution of this file, with or without modification,
958 are permitted in any medium without royalty provided the copyright
959 notice and this notice are preserved.
965 version-control: never