1 2015-07-28 Robert Suchanek <robert.suchanek@imgtec.com>
3 * config/tc-mips.c (mips_cpu_info_table): Add m5100 and m5101 entries.
4 * doc/c-mips.texi: Document m5100 and m5101 for -march=.
6 2015-07-28 Robert Suchanek <robert.suchanek@imgtec.com>
8 * config/tc-mips.c (mips_cpu_info_table): Add interaptiv entry.
9 * doc/c-mips.text: Document -march=interaptiv.
11 2015-07-27 H.J. Lu <hongjiu.lu@intel.com>
13 * configure: Regenerated.
15 2015-07-24 Nick Clifton <nickc@redhat.com>
17 * config/tc-rl78.c (rl78_abs_sym): New local variable.
18 (md_begin): Initialise the new symbol.
19 (OPIMM): Define the value to be relative to the new symbol and not
20 the absolute section symbol.
22 2015-07-22 Alan Modra <amodra@gmail.com>
25 * input-scrub.c (input_scrub_next_buffer): Rearrange and simplify
26 loop. Don't drop lines at end of file lacking a newline, add a
27 newline instead. Ensure partial_size is zero whenever
28 partial_where is NULL. Adjust buffer size for extra char.
29 (input_scrub_push, input_scrub_begin): Adjust buffer size here too.
31 2015-07-20 Matthew Wahab <matthew.wahab@arm.com>
33 * NEWS: Mention corrected spelling of armv6kz.
34 * config/tc-arm.c (arm_cpus): Replace ARM_ARCH_V6ZK with
36 (arm_archs): Likewise. Also add "armv6kz" and "armv6kzt2".
37 * doc/c-arm.texi: Replace "armv6zk" with "armv6kz".
39 2015-07-16 Jiong Wang <jiong.wang@arm.com>
41 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
42 (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PREL21.
43 (aarch64_force_relocation): Ditto.
45 2015-07-16 Matthew Wahab <matthew.wahab@arm.com>
47 * config/tc-arm.c (arm_fpus): Add crypto-neon-fp-armv8.1.
48 * doc/c-arm.texi (-mfpu=): Likewise. Correct the entry for
51 2015-07-16 James Greenhalgh <james.greenhalgh@arm.com>
53 * config/tc-arm.c (md_assemble): Rephrase the "selected processor does
54 not support ARM mode" error messages.
56 2015-07-15 H.J. Lu <hongjiu.lu@intel.com>
58 * config/tc-i386.c (flag_compress_debug): Replace
59 COMPRESS_DEBUG_GNU_ZLIB with COMPRESS_DEBUG_GABI_ZLIB.
61 2015-07-14 H.J. Lu <hongjiu.lu@intel.com>
63 * as.c (parse_args): Make --compress-debug-sections and
64 --compress-debug-sections=zlib the same as
65 --compress-debug-sections=zlib-gabi.
66 * doc/as.texinfo: Change --compress-debug-sections and
67 --compress-debug-sections=zlib to zlib-gabi.
69 2015-07-09 Catherine Moore <clm@codesourcery.com>
71 * config/tc-mips.c (check_fpabi): Handle
72 VAL_GNU_MIPS_ABI_FP_NAN2008.
74 2015-07-08 Ciro Santilli <ciro.santilli@gmail.com>
76 * doc/as.texinfo: Clarify case requirements for pseudo ops.
78 2015-07-08 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
80 * config/tc-avr.c (tc_gen_reloc): Change 32 bit relocation to
81 32 bit PC relative and update offset if the fixup is pc-relative.
82 * config/tc-avr.h (DIFF_EXPR_OK): Define to enable PC relative diff
85 2015-07-03 Alan Modra <amodra@gmail.com>
87 * config/tc-ppc.c (md_show_usage): Add -m821, -m850, -m860.
88 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
90 2015-07-01 Sandra Loosemore <sandra@codesourcery.com>
91 Cesar Philippidis <cesar@codesourcery.com>
93 * config/tc-nios2.c (nios2_min_align): New.
94 (nop): Replace with....
95 (nop_r1, nop_r2, nop_r2_cdx, nop32, nop16): New.
96 (nios2_align): Handle alignment on 2-byte boundaries when CDX
97 instructions may be present.
98 (s_nios2_align): Adjust reference to nop.
99 (CDXBRANCH, IS_CDXBRANCH): New.
100 (CDX_UBRANCH_SUBTYPE, CDX_CBRANCH_SUBTYPE): New.
101 (nios2_relax_subtype_size): Handle 2-byte CDX branches.
102 (nios2_relax_frag): Likewise.
103 (md_convert_frag): Handle R2 encodings.
104 (nios2_check_overflow): Check that low-order bits are zero
105 before applying rightshift from howto.
106 (nios2_check_overflow): Correct negative overflow calculation.
107 (nios2_diagnose_overflow): Handle signed_immed12_overflow. Issue
108 generic overflow messages for miscellaneous instruction formats.
109 (md_apply_fix): Recognize new R2 relocations. For pc_relative
110 relocations, store fixup in *valP.
111 (nios2_reglist_mask, nios2_reglist_dir): New.
112 (nios2_parse_reglist): New.
113 (nios2_parse_base_register): New.
114 (nios2_assemble_expression): Handle constant expressions designated
116 (nios2_assemble_reg3): New.
117 (nios2_assemble_arg_c): Handle R2 instruction formats.
118 (nios2_assemble_arg_d): Likewise.
119 (nios2_assemble_arg_s): Likewise.
120 (nios2_assemble_arg_t): Likewise.
121 (nios2_assemble_arg_D): New.
122 (nios2_assemble_arg_S): New.
123 (nios2_assemble_arg_T): New.
124 (nios2_assemble_arg_i): Handle R2 instruction formats.
125 (nios2_assemble_arg_I): New.
126 (nios2_assemble_arg_u): Handle R2 instruction formats.
127 (nios2_assemble_arg_U): New.
128 (nios2_assemble_arg_V): New.
129 (nios2_assemble_arg_W): New.
130 (nios2_assemble_arg_X): New.
131 (nios2_assemble_arg_Y): New.
132 (nios2_assemble_arg_o): Handle R2 instruction formats.
133 (nios2_assemble_arg_O): New.
134 (nios2_assemble_arg_P): New.
135 (nios2_assemble_arg_j): Handle R2 instruction formats.
136 (nios2_assemble_arg_k): New.
137 (nios2_assemble_arg_l): Handle R2 instruction formats.
138 (nios2_assemble_arg_m): Likewise.
139 (nios2_assemble_arg_M): New.
140 (nios2_assemble_arg_N): New.
141 (nios2_assemble_arg_e): New.
142 (nios2_assemble_arg_f): New.
143 (nios2_assemble_arg_g): New.
144 (nios2_assemble_arg_h): New.
145 (nios2_assemble_arg_R): New.
146 (nios2_assemble_arg_B): New.
147 (nios2_assemble_args): Handle new argument letters.
148 (nios2_consume_arg): Likewise.
149 (nios2_translate_pseudo_insn): Avoid dereferencing null pointer
151 (nios2_ps_insn_info_structs): Add nop.n.
152 (output_ubranch): Handle CDX branches.
153 (output_cbranch): Likewise.
154 (output_call): Handle R2 encodings.
155 (output_movia): Likewise.
156 (md_begin): Initialize nios2_min_align.
157 (md_assemble): Align to nios2_min_align. Adjust nios2_min_align
158 if a 16-bit instruction is seen.
159 (nios2_cons_align): Use appropriate nop pattern.
161 2015-07-01 Sandra Loosemore <sandra@codesourcery.com>
162 Cesar Philippidis <cesar@codesourcery.com>
164 * config/tc-nios2.c: Adjust includes.
165 (OPTION_MARCH): Define.
166 (md_longopts): Add -march option.
167 (nios2_architecture): New.
168 (nios2_use_arch): New.
169 (md_parse_option): Handle OPTION_MARCH.
170 (md_show_usage): Document -march.
171 (md_begin): Set arch in BFD.
172 (nios2_elf_final_processing): New.
173 * config/tc-nios2.h (elf_tc_final_processing): Define.
174 (nios2_elf_final_processing): New.
175 * doc/c-nios2.texi (-march): Add documentation.
177 2015-06-30 Amit Pawar <Amit.Pawar@amd.com>
179 * config/tc-i386.c (cpu_arch): Add .mwaitx.
180 (process_immext): Check operands for monitorx/mwaitx instructions.
181 * doc/c-i386.texi: Document mwaitx.
183 2015-06-28 H.J. Lu <hongjiu.lu@intel.com>
185 * as.c (parse_args): Replace COMPRESS_DEBUG_ZLIB with
186 COMPRESS_DEBUG_GNU_ZLIB.
187 * config/tc-i386.c (flag_compress_debug): Likewise.
189 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
191 * doc/as.texinfo (.cfi_lsda): Remove the extra @section.
193 2015-06-19 Peter Bergner <bergner@vnet.ibm.com>
195 * config/tc-ppc.c (md_assemble): Use ppc_optional_operand_value.
196 Allow for optional operands without insert functions.
198 2015-06-18 Nick Clifton <nickc@redhat.com>
201 * config/tc-arm.c (md_apply_fix): Add support for ADR in thumb
202 mode against a nearby symbol.
204 2015-06-18 Nick Clifton <nickc@redhat.com>
207 * config/tc-arm.c (tc_gen_reloc): Include BFD_RELOC_ARM_TLS_LE32
208 in the same case as BFD_RELOC_ARM_TLS_IS32.
210 2015-06-17 Nick Clifton <nickc@redhat.com>
212 * config/tc-arm.c (is_double_a_single): Make conditional upon the
213 availablity of a 64-bit type. Use this type for the argument and
215 (double_to_single): Likewise.
216 * config/tc-arm.c (move_or_literal_pool): Use a 64-bit type for
217 the constant value, if available. Generate a 64-bit value from a
218 bignum if supported. Only perform the second optimization for
219 PR 18500 if the 64-bit type is available.
221 2015-06-17 Alessandro Marzocchi <alessandro.marzocchi@gmail.com>
224 * config/tc-arm.c (is_double_a_single): New function.
225 (double_to_single): New function.
226 (move_or_literal_pool): Add support for converting VLDR to VMOV.
229 * config/tc-arm.c (move_or_literal_pool): Add support for LDR Rx,=
230 to MOV.w or MVN.w for Thumb2.
232 2015-06-17 Nicolas Pitre <nico@linaro.org>
234 * as.c (show_usage): Document --sectname-subst.
235 (parse_args): Add --sectname-subst.
236 * as.h (flag_sectname_subst): New.
237 * config/obj-elf.c (obj_elf_section_name): Add %S substitution.
238 * doc/as.texinfo: Document it.
240 2015-06-15 Renlin Li <renlin.li@arm.com>
242 * config/tc-aarch64.c (reloc_table): New relocation modifier.
243 (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTOFF_LO15.
244 (aarch64_force_relocation): Ditto
246 2015-06-13 Mark Wielaard <mjw@redhat.com>
248 * dwarf2dbg.c (out_header): Document EXPR->X_add_number value,
249 out_debug_aranges depends on it.
250 (out_debug_aranges): Track size of header to properly pad header
251 for address alignment.
253 2015-06-11 John David Anglin <danglin@gcc.gnu.org>
256 * gas/config/tc-hppa.c (last_label_symbol): Declare.
257 (pa_get_label): Return last label in current space/segment or NULL.
258 (pa_define_label): Record last label and add to root.
259 (pa_undefine_label): Remove last label from root.
261 2015-06-08 Nick Clifton <nickc@redhat.com>
263 * config/tc-rx.c (rx_op): Correct handling of integer bignums.
265 2015-06-04 Matthew Wahab <matthew.wahab@arm.com>
267 * NEWS: Mention ARMv8.1 support in the Aarch64 port.
268 * config/tc-aarch64.c (aarch64_arch_option_table): Add "armv8.1-a".
269 * doc/c-aarch64.texi (-march): Add "armv8.1-a".
271 2015-06-04 Renlin Li <renlin.li@arm.com>
273 * config/tc-arm.c (arm_init_frag): Use frag's thumb_mode information
276 2015-06-04 Nick Clifton <nickc@redhat.com>
278 * config/tc-h8300.c (md_section_align): Fix compile time warning
279 about left shifting a negative value.
281 2015-06-03 Matthew Wahab <matthew.wahab@arm.com>
283 * config/tc-arm.c (arm_archs): Add "armv8.1-a".
284 * doc/c-arm.texi (ARM Options, -march): Add "armv8.1-a".
285 * NEWS: Mention ARMv8.1 support.
287 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
289 * config/tc-arm.c (arm_ext_pan): New.
290 (do_setpan): New, encode an ARM SETPAN instruction.
291 (do_t_setpan): New, encode a Thumb SETPAN instruction.
292 (insns): Add "setpan".
293 (arm_extensions): Add "pan".
294 * doc/c-arm.texi (ARM Options): Add "pan" to list of -mcpu processor
297 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
299 * config/tc-aarch64.c (aarch64_features): Add "rdma".
300 * doc/c-aarch64.texi (AArch64 Extensions): Add "rdma".
302 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
304 * config/tc-aarch64.c (aarch64_features): Add "lor".
305 * doc/c-aarch64.c (Aarch64 Extensions): Add "lor" to list of
306 architecture extensions.
308 2015-06-01 Matthew Wahab <matthew.wahab@arm.com>
310 * config/tc-aarch64.c (parse_sys_reg): New parameter. Check target
311 support. Fix whitespace.
312 (parse_operands): Update for parse_sys_reg changes.
313 (aarch64_features): Add "pan".
314 * doc/c-aarch64.texi (Aarch64 Extensions): Add "pan".
316 2015-06-01 Jiong Wang <jiong.wang@arm.com>
318 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
319 (md_apply_fix): Support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
320 (aarch64_force_relocation): Ditto.
322 2015-06-01 Jiong Wang <jiong.wang@arm.com>
324 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
325 (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
326 (aarch64_force_relocation): Ditto.
328 2015-05-28 Catherine Moore <clm@codesourcery.com>
329 Bernd Schmidt <bernds@codesourcery.com>
330 Paul Brook <paul@codesourcery.com>
333 * config/tc-alpha.c (all_cfi_sections): Declare.
334 (s_alpha_ent): Initialize all_cfi_sections.
335 (alpha_elf_md_end): Invoke cfi_set_sections.
336 * config/tc-mips.c (md_apply_fix): Handle BFD_RELOC_NONE.
337 (s_ehword): Use BFD_RELOC_32_PCREL.
338 (mips_fix_adjustable): Handle BFD_RELOC_32_PCREL.
339 (mips_cfi_reloc_for_encoding): New function.
340 * tc-mips.h (DWARF2_FDE_RELOC_SIZE): Redefine.
341 (DWARF2_FDE_RELOC_ENCODING): Define.
342 (tc_cfi_reloc_for_encoding): Define.
343 (mips_cfi_reloc_for_encoding): Define.
344 (tc_compact_eh_opcode_stop): Define.
345 (tc_compact_eh_opcode_pad): Define.
346 * doc/as.texinfo: Document Compact EH extensions.
347 * doc/internals.texi: Likewise.
348 * dw2gencfi.c (EH_FRAME_LINKONCE): Redefine.
349 (tc_cfi_reloc_for_encoding): Provide default.
350 (compact_eh): Declare.
351 (emit_expr_encoded): New function.
352 (get_debugseg_name): Add Compact EH support.
353 (alloc_debugseg_item): Likewise.
354 (cfi_set_sections): New function.
355 (dot_cfi_fde_data): New function.
356 (dot_cfi_personality_id): New function.
357 (dot_cfi_inline_lsda): New function.
358 (cfi_pseudo_table): Add cfi_fde_data, cfi_personality_id,
360 (dot_cfi_personality): Add Compact EH support.
361 (dot_cfi_lsda): Likewise.
362 (dot_cfi_sections): Likewise.
363 (dot_cfi_startproc): Likewise.
364 (get_cfi_seg): Likewise.
365 (output_compact_unwind_data): New function.
366 (output_cfi_insn): Add Compact EH support.
367 (output_cie): Likewise.
368 (output_fde): Likewise.
369 (cfi_finish): Likewise.
370 (cfi_emit_eh_header): New function.
371 (output_eh_header): New function.
372 * dw2gencfi.h (cfi_set_sections): Declare.
373 (SUPPORT_COMPACT_EH): Define.
374 (MULTIPLE_FRAME_SECTIONS): Define.
375 New enumeration to describe the Compact EH header format.
376 (fde_entry): Add new fields personality_id, eh_header_type, eh_data_size,
377 eh_data, eh_loc and sections.
378 (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame, CFI_EMIT_target,
379 CFI_EMIT_eh_frame_compact): Define.
381 2015-05-26 Max Filippov <jcmvbkbc@gmail.com>
383 * config/tc-xtensa.c (xtensa_move_literals): Check that
384 search_frag is non-NULL. Report error if literal frag is not
387 2015-05-22 Nick Clifton <nickc@redhat.com>
390 * read.c (output_big_sleb128): Use U suffix to prevent compile
393 2015-05-19 Jiong Wang <jiong.wang@arm.com>
395 * config/tc-aarch64.c (process_movw_reloc_info): Sort relocation case
396 labels alphabetically.
397 (md_apply_fix): Ditto.
398 (aarch64_force_relocation): Ditto.
400 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
403 * config/tc-i386.c (OPTION_MAMD64): New.
404 (OPTION_MINTEL64): Likewise.
405 (md_longopts): Add -mamd64 and -mintel64.
406 (md_parse_option): Handle OPTION_MAMD64 and OPTION_MINTEL64.
407 (md_show_usage): Add -mamd64 and -mintel64.
408 * doc/c-i386.texi: Document -mamd64 and -mintel64.
410 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
412 * config/tc-i386.c (shared): New.
413 (OPTION_MSHARED): Likewise.
414 (elf_symbol_resolved_in_segment_p): Add relocation argument.
415 Check PLT relocations and shared.
416 (md_estimate_size_before_relax): Pass fragP->fr_var to
417 elf_symbol_resolved_in_segment_p.
418 (md_longopts): Add -mshared.
419 (md_show_usage): Likewise.
420 (md_parse_option): Handle OPTION_MSHARED.
421 * doc/c-i386.texi: Document -mshared.
423 2015-05-14 H.J. Lu <hongjiu.lu@intel.com>
425 * write.c (compress_debug): Don't write the zlib header, which
426 is handled by bfd_update_compression_header.
428 2015-05-13 Max Filippov <jcmvbkbc@gmail.com>
430 * config/tc-xtensa.c (xtensa_relax_frag): Allow trampoline to be
431 closer than J_RANGE / 2 to jump frag.
433 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
435 * configure.tgt (arch): Set to iamcu for i386-*-elfiamcu target.
436 * config/tc-i386.c (i386_mach): Support iamcu.
437 (i386_target_format): Likewise.
439 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
441 * config/tc-i386.c (cpu_arch): Add iamcu.
442 (i386_align_code): Handle PROCESSOR_IAMCU.
443 (i386_arch): Likewise.
444 (i386_mach): Likewise.
445 (i386_target_format): Likewise.
446 (valid_iamcu_cpu_flags): New function.
447 (check_cpu_arch_compatible): Only allow Intel MCU instructions
448 when targeting Intel MCU.
449 (set_cpu_arch): Call valid_iamcu_cpu_flags to check if CPU flags
450 are valid for Intel MCU.
451 (md_parse_option): Likewise.
452 * tc-i386.h (ELF_TARGET_IAMCU_FORMAT): New.
453 (processor_type): Add PROCESSOR_IAMCU.
454 * doc/c-i386.texi: Document iamcu.
456 2015-05-08 Nick Clifton <nickc@redhat.com>
459 * config/tc-arm.h (TC_EQUAL_IN_INSN): Define.
460 * config/tc-arm.c (arm_tc_equal_in_insn): New function. Move
461 the symbol name checking code to here from...
462 (md_undefined_symbo): ... here.
464 2015-05-07 H.J. Lu <hongjiu.lu@intel.com>
466 * config/tc-i386.c (elf_symbol_resolved_in_segment_p): New.
467 (md_estimate_size_before_relax): Use it.
469 2015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
471 * config/tc-sparc.c: Typo in comment fixed.
473 2015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
475 * config/tc-sparc.c (sparc_ip): Support the %ncc "natural"
477 * doc/c-sparc.texi (Sparc-Regs): Document %ncc.
479 2015-05-06 Nick Clifton <nickc@redhat.com>
481 * doc/as.texinfo (Dollar Local Labels): Note that these are only
482 supported on some targets.
484 2015-05-06 Renlin Li <renlin.li@arm.com>
486 * config/tc-aarch64.c (mapping_state): Recording alignment before exit.
488 2015-05-05 Renlin Li <renlin.li@arm.com>
490 * config/tc-aarch64.c (aarch64_init_frag): Always generate mapping
493 2015-05-05 Nick Clifton <nickc@redhat.com>
495 * config/tc-msp430.c (MAX_OP_LEN): Increase to 4096.
496 (msp430_make_init_symbols): New function.
497 (msp430_section): Call it.
498 (msp430_frob_section): Likewise.
500 2015-05-02 Max Filippov <jcmvbkbc@gmail.com>
502 * config/tc-xtensa.c (cached_fixupS, fixup_cacheS): New typedefs.
503 (struct cached_fixup, struct fixup_cache): New structures.
504 (fixup_order, xtensa_make_cached_fixup),
505 (xtensa_realloc_fixup_cache, xtensa_cache_relaxable_fixups),
506 (xtensa_find_first_cached_fixup, xtensa_delete_cached_fixup),
507 (xtensa_add_cached_fixup): New functions.
508 (xtensa_relax_frag): Cache fixups pointing at potentially
509 oversized jumps at the beginning of every relaxation pass. Only
510 check subset of this cache in the reach of single jump from the
511 trampoline frag currently being relaxed.
513 2015-05-01 Nick Clifton <nickc@redhat.com>
515 * config/rl78-parse.y (MULU): Remove ISA_G14.
516 (MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings.
518 2015-05-01 H.J. Lu <hongjiu.lu@intel.com>
520 * config/tc-i386.c (i386_elf_emit_arch_note): Removed.
521 * config/tc-i386.h (md_end): Likewise.
522 (i386_elf_emit_arch_note): Likewise.
524 2015-05-01 H.J. Lu <hongjiu.lu@intel.com>
526 * configure.tgt: Support i386-*-elf*.
528 2015-04-30 DJ Delorie <dj@redhat.com>
530 * config/rl78-defs.h (rl78_isa_g10): New.
533 * config/rl78-parse.y (ISA_G10): New.
536 (MULHU, MULH, MULU, DIVHU, DIVWU, MACHU, MACH): Use them.
537 * config/tc-rl78.c (rl78_isa_g10): New.
541 2015-04-30 H.J. Lu <hongjiu.lu@intel.com>
543 * config/tc-i386.c (i386_target_format): Use "else if" on
546 2015-04-30 Nick Clifton <nickc@redhat.com>
549 * config/tc-arm.c (md_undefined_symbol): Issue a warning message
550 (if enabled) when the user creates a symbol with the same name as
552 (flag_warn_syms): New static variable.
553 (arm_opts): Add mwarn-syms and mno-warn-syms.
554 * doc/c-arm.texi (ARM Options): Document the -m[no-]warn-syms
558 * doc/as.texinfo (Zero): Add documentation of the .zero pseudo-op.
560 2015-04-29 Nick Clifton <nickc@redhat.com>
563 * config/tc-arm.c (encode_arm_cp_address): Issue an error message
564 if the operand is neither a register nor a vector.
566 2015-04-29 Nick Clifton <nickc@redhat.com>
568 * doc/as.texinfo (Set): Note that a symbol cannot be set multiple
569 times if the expression is not constant and the target uses linker
572 2015-04-28 Renlin Li <renlin.li@arm.com>
574 * config/tc-arm.c (arm_init_frag): Always emit mapping symbols.
576 2015-04-28 Nick Clifton <nickc@redhat.com>
579 * cond.c (s_if): Stop compile time warning about stopc being used
583 2015-04-27 Renlin Li <renlin.li@arm.com>
585 * config/tc-aarch64.c (s_aarch64_inst): Don't align code for non-text
587 (md_assemble): Likewise, move the align code outside the loop.
589 2015-04-24 Jim Wilson <jim.wilson@linaro.org>
591 * config/tc-aarch64.c (aarch64_cpus): Add CRC and CRYPTO features
594 2015-04-24 Richard Earnshaw <rearnsha@arm.com>
596 * config/tc-arm.h (arm_min): New function.
597 (SUB_SEGMENT_ALIGN): Define.
599 2015-04-23 Matthew Fortune <matthew.fortune@imgtec.com>
601 * config/tc-mips.c (macro): State the recommended way of creating
602 32-bit or 64-bit addresses.
604 2015-04-23 Jan Beulich <jbeulich@suse.com>
606 * config/tc-i386.c (match_mem_size): Also allow no size
607 specification when broadcasting.
609 2015-04-20 H.J. Lu <hongjiu.lu@intel.com>
611 * doc/as.texinfo (Bundle directives): Shorten menu entry and
613 (CFI directives): Use @subsection.
614 (SH-Dependent, SH64-Dependent): Moved after SCORE-Dependent.
615 * doc/c-i386.texi (i386-Mnemonics): Use @subsection.
617 2015-04-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
619 * config/tc-avr.c (create_record_for_frag): Rename link to
622 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
625 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
627 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
629 * as.h (compressed_debug_section_type): Removed.
631 2015-04-14 Nick Clifton <nickc@redhat.com>
633 * config/tc-rl78.h (TC_LINKRELAX_FIXUP): Define.
634 (TC_FORCE_RELOCATION_SUB_SAME): Define.
635 (DWARF2_USE_FIXED_ADVANCE_PC): Define.
637 2015-04-10 Nick Clifton <nickc@redhat.com>
640 * doc/c-arm.texi (ARM Options): Add a note about the interaction of
641 the -EB option with the linker's --be8 option.
643 2015-04-09 Hans-Peter Nilsson <hp@axis.com>
645 * doc/c-rx.texi: Fix markup typos in last change.
647 2015-04-09 Nick Clifton <nickc@redhat.com>
649 * config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS.
650 (md_longopts): Add -mno-allow-string-insns.
651 (md_parse_option): Handle -mno-allow-string-insns.
652 (md_show_usage): Mention -mno-allow-string-insns.
653 (rx_note_string_insn_use): New function. Produces an error
654 message if a string insn is used when it is not allowed.
655 * config/rx-parse.y (SCMPU): Call rx_note_string_insn_use.
656 (SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise.
657 * config/rx-defs.h (rx_note_string_insn_use): Prototype.
658 * doc/c-rx.texi: Document -mno-allow-string-insns.
660 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
662 * as.c (show_usage): Update --compress-debug-sections.
663 (std_longopts): Use optional_argument on compress-debug-sections.
665 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
666 * as.h (compressed_debug_section_type): New.
667 (flag_compress_debug): Change type to compressed_debug_section_type.
668 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
669 * write.c (compress_debug): Set BFD_COMPRESS_GABI for
670 --compress-debug-sections=zlib-gabi. Call
671 bfd_get_compression_header_size to get compression header size.
672 Don't rename section name for --compress-debug-sections=zlib-gabi.
673 * config/tc-i386.c (compressed_debug_section_type): Set to
675 * doc/as.texinfo: Document
676 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
678 2015-04-07 Renlin Li <renlin.li@arm.com>
680 * config/tc-aarch64.c (mapping_state): Use subseg_text_p.
681 (s_aarch64_inst): Likewise.
682 (md_assemble): Likewise.
684 2015-04-06 H.J. Lu <hongjiu.lu@intel.com>
686 * write.c (compress_debug): Use bfd_putb64 to write uncompressed
689 2015-04-05 H.J. Lu <hongjiu.lu@intel.com>
691 * write.c (compress_debug): Don't write the zlib header if
692 compressed section size is the same as before compression.
694 2015-04-02 Nick Clifton <nickc@redhat.com>
697 * config/tc-microblaze.c (parse_imm): Use offsetT as the type for
698 min and max parameters. Sign extend values before testing.
700 2015-04-02 Renlin Li <renlin.li@arm.com>
702 * config/tc-aarch64.c (mapping_state): Emit MAP_DATA within text section in order.
703 (mapping_state_2): Don't emit MAP_DATA here.
704 (s_aarch64_inst): Align frag during state transition.
705 (md_assemble): Likewise.
707 2015-04-02 Ed Maste <emaste@freebsd.org>
709 * config/tc-aarch64.c (set_error_kind): Delete.
710 (set_error_message): Delete.
712 2015-04-02 H.J. Lu <hongjiu.lu@intel.com>
714 * configure: Regenerated.
716 2015-04-01 Evandro Menezes <e.menezes@samsung.com>
718 * config/tc-aarch64.c: Add support for Samsung Exynos M1.
719 * doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
721 2015-04-01 Evandro Menezes <e.menezes@samsung.com>
723 * config/tc-arm.c: Add support for Samsung Exynos M1.
724 * doc/c-arm.texi (-mcpu=): Add "exynos-m1".
726 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
728 * configure: Regenerated.
730 2015-03-31 Ed Schouten <ed@nuxi.nl>
732 * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
734 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
736 * configure.ac: Revert the AM_ZLIB change.
737 * Makefile.in: Regenerated.
738 * aclocal.m4: Likewise.
739 * configure: Likewise.
741 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
743 * Makefile.am (ZLIBINC): New.
744 (AM_CFLAGS): Add $(ZLIBINC).
745 * as.c: (show_usage): Don't check HAVE_ZLIB_H.
746 (parse_args): Likewise.
747 * compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
748 (compress_init): Don't check HAVE_ZLIB_H.
749 (compress_data): Likewise.
750 (compress_finish): Likewise.
751 * configure.ac (AM_ZLIB): Removed.
752 (zlibinc): New. AC_SUBST.
753 Add --with-system-zlib.
754 * Makefile.in: Regenerated.
755 * config.in: Likewise.
756 * configure: Likewise.
757 * doc/Makefile.in: Likewise.
759 2015-03-27 H.J. Lu <hongjiu.lu@intel.com>
761 * config/tc-i386.c (cpu_flags_set): Removed.
763 2015-03-25 Renlin Li <renlin.li@arm.com>
765 * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
767 (mapping_state_2): Emit first MAP_DATA symbol here.
769 2015-03-24 H.J. Lu <hongjiu.lu@intel.com>
772 * write.c (compress_debug): Don't write the zlib header if
773 compression didn't make the section smaller.
775 2015-03-24 Terry Guo <terry.guo@arm.com>
777 * config/tc-arm.c (no_cpu_selected): Use new macro to compare
779 (parse_psr): Likewise.
780 (do_t_mrs): Likewise.
781 (do_t_msr): Likewise.
782 (static const arm_feature_set arm_ext_*): Defined with new macros.
783 (static const arm_feature_set arm_cext_*): Likewise.
784 (static const arm_feature_set fpu_fpa_ext_*): Likewise.
785 (static const arm_feature_set fpu_vfp_ext_*): Likewise.
786 (deprecated_coproc_regs): Likewise.
787 (UL_BARRIER): Likewise.
788 (barrier_opt_names): Likewise.
789 (arm_cpus): Likewise.
790 (arm_extensions): Likewise.
792 2015-03-20 H.J. Lu <hongjiu.lu@intel.com>
794 * config/tc-i386.c (i386_align_code): Limit multi-byte nop
795 instructions to 10 bytes.
797 2015-03-19 Nick Clifton <nickc@redhat.com>
799 * config/tc-rl78.c (enum options): Add G13 and G14.
800 (md_longopts): Add -mg13 and -mg14.
801 (md_parse_option): Handle -mg13 and -mg14.
802 (md_show_usage): List -mg13 and -mg14.
803 * doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
805 2015-03-18 Jon Turney <jon.turney@dronecode.org.uk>
806 Nick Clifton <nickc@redhat.com>
809 * doc/as.texinfo: Note that when gas compresses debug sections the
810 compression is only performed if it makes the section smaller.
811 * write.c (compress_debug): Do not compress a debug section if
812 doing so would make it larger.
814 2015-03-17 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
816 * config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
817 (i386_align_code): Add PROCESSOR_ZNVER cases.
818 * config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
819 * doc/c-i386.texi: Add znver1 and clzero.
821 2015-03-16 Nick Clifton <nickc@redhat.com>
823 * dwarf2dbg.c (out_header): Remove spurious #if 1.
825 2015-03-13 Jiong Wang <jiong.wang@arm.com>
827 * config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
830 2015-03-13 Jiong Wang <jiong.wang@arm.com>
832 * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
834 2015-03-12 Andrew Bennett <andrew.bennett@imgtec.com>
836 * config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
837 * doc/c-mips.texi: Document i6400 -march option.
839 2015-03-12 Nick Clifton <nickc@redhat.com>
842 * config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
843 to arm_apply_sym_value. Update prototype.
844 * config/tc-arm.c (arm_apply_sym_value): Add segment argument.
845 Do not apply the value if the symbol is in a different segment to
848 2015-03-11 Alan Modra <amodra@gmail.com>
850 * config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
851 (md_apply_fix): Report an error on data-only fixups used with insns.
853 2015-03-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
855 * config/tc-s390.c (md_gather_operands): Check for valid
856 length field operands.
858 2015-03-10 Michael Perkins <perkinsmg75@yahoo.co.uk>
860 * config/tc-arm.c (parse_operands): Fix bug setting writeback
861 values for '^' on OP_REGLSTs.
862 (do_push_pop): Add new writeback constraint.
864 2015-03-10 Renlin Li <renlin.li@arm.com>
866 * config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
867 (mapping_state_2): Emit first MAP_DATA symbol here.
869 2015-03-10 Matthew Wahab <matthew.wahab@arm.com>
871 * config/tc-aarch64.c (mapping_state): Set minimum alignment for
874 2015-03-10 Nick Clifton <nickc@redhat.com>
877 * config/tc-arm.c (md_begin): Ensure that selected_cpu is
878 initialised when CPU_DEFAULT is defined.
880 2015-03-05 Nick Clifton <nickc@redhat.com>
882 * config/tc-v850.c (md_parse_option): Fix code to set or clear
883 EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
884 -m8byte-align and -m4byte-align command line options.
886 2015-03-04 Richard Sandiford <richard.sandiford@arm.com>
889 * config/tc-aarch64.c (process_movw_reloc_info): Allow
890 R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
893 2015-02-28 Alan Modra <amodra@gmail.com>
895 * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
896 end to their alignment.
898 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
900 * config/tc-aarch64.c (reloc_table_entry): Generate
901 BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
902 (md_apply_fix, aarch64_force_relocation): Handle
903 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
905 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
907 * config/tc-aarch64.c (reloc_table_entry): Generate
908 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
909 (md_apply_fix, aarch64_force_relocation): Handle
910 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
912 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
914 * config/tc-aarch64.c (reloc_table_entry): Generate
915 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
916 (md_apply_fix, aarch64_force_relocation): Handle
917 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
919 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
921 * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
922 (reloc_table): Likewise.
923 (parse_address_main): Use ld_literal_type.
925 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
927 * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
928 (reloc_table): Likewise.
929 (parse_address_main): Use adr_type.
931 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
933 * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
935 2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
937 * config/tc-avr.c: Add elf32-avr.h include.
938 (struct avr_property_record_link): New structure.
939 (avr_output_property_section_header): New function.
940 (avr_record_size): New function.
941 (avr_output_property_record): New function.
942 (avr_create_property_section): New function.
943 (avr_handle_align): New function.
944 (exclude_section_from_property_tables): New function.
945 (create_record_for_frag): New function.
946 (append_records_for_section): New function.
947 (avr_create_and_fill_property_section): New function.
948 (avr_post_relax_hook): New function.
949 * config/tc-avr.h (md_post_relax_hook): Define.
950 (avr_post_relax_hook): Declare.
951 (HANDLE_ALIGN): Define.
952 (avr_handle_align): Declare.
953 (strut avr_frag_data): New structure.
954 (TC_FRAG_TYPE): Define.
956 2015-02-25 Matthew Wahab <matthew.wahab@arm.com>
958 * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
961 2015-02-24 Nick Clifton <nickc@redhat.com>
963 * config/tc-v850.c (soft_float): New variable.
964 (v850_data_8): New variable.
965 (md_show_usage): Add -msoft-float/-mhard-float.
966 (md_parse_option): Likewise.
967 (md_begin): Set the default value of soft_float.
968 (v850_md_end): New function. Creates a note section.
969 * config/tc-v850.h (md_end): Define.
970 * doc/c-v850.texi: Document -msoft-float/-mhard-float.
972 2015-02-23 Yoshinori Sato <ysato@users.sourceforge.jp>
974 * config/tc-h8300.c (line_separater_chars): Add a version for
975 h8300-linux that includes a separator.
976 (default_mach): New variable.
978 (md_longopts): Add '--march' option.
979 (md_parse_option): Parse the new option.
980 * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
981 * configure.tgt: Add h8300-*-linux
982 * doc/c-h8300.texi: Document --march.
984 2015-02-23 Nick Clifton <nickc@redhat.com>
987 * dwarf2dbg.c (out_header): When generating dwarf sections use
988 real symbols not temps for the start and end symbols.
989 * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
990 adjustments to relocations in debug sections.
991 (TC_LINKRELAX_FIXUP): Likewise.
993 2015-02-19 Alan Modra <amodra@gmail.com>
995 * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
996 * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
998 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
1000 * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
1002 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
1004 * config/tc-arm.c: Add support for Cortex-A72.
1006 2015-02-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1008 * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
1009 of as_warn for deprecation messages.
1010 (encode_arm_addr_mode_2): Likewise.
1011 (check_obsolete): Likewise.
1012 (do_rd_rm_rn): Likewise.
1013 (do_co_reg): Likewise.
1014 (do_setend): Likewise.
1015 (do_t_mov_cmp): Likewise.
1016 (do_neon_ldr_str): Likewise.
1017 (opcode_lookup): Likewise.
1018 (if_fsm_post_encode): Likewise.
1019 (md_assemble): Likewise.
1021 2015-02-06 Jan Beulich <jbeulich@suse.com>
1023 * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
1024 (cfi_change_reg_numbers): Also do nothing for CFI_label.
1025 (cfi_pseudo_table): Also handle .cfi_label when not supporting
1028 2015-02-05 Alan Modra <amodra@gmail.com>
1030 * config/tc-msp430.c (md_assemble): Correct size passed to
1031 extract_cmd. Remove index check.
1033 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
1035 * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
1036 * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
1038 2015-02-04 Nick Clifton <nickc@redhat.com>
1040 * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
1043 2015-02-03 Renlin Li <renlin.li@arm.com>
1045 * doc/c-aarch64.texi (.arch): Document the directive.
1046 (.arch_extension): Likewise.
1048 2015-02-03 Nick Clifton <nickc@redhat.com>
1050 * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
1052 2015-01-28 James Bowman <james.bowman@ftdichip.com>
1054 * Makefile.am: Add FT32 files.
1055 * config/tc-ft32.c: New file.
1056 * config/tc-ft32.h: New file.
1057 * configure.tgt: Add FT32 support.
1058 * Makefile.in: Regenerate.
1059 * po/POTFILES.in: Regenerate.
1061 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
1063 * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
1064 of instruction la to a symbol.
1066 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
1068 * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
1071 2015-01-19 Alan Modra <amodra@gmail.com>
1073 * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
1074 * write.c (get_frag_for_reloc): Allow match just past end of frag.
1076 2015-01-16 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1078 * config/tc-s390.c (struct pd_reg): Remove.
1079 (pre_defined_registers): Remove.
1080 (REG_NAME_CNT): Remove.
1081 (reg_name_search): Calculate the register number instead of doing
1083 (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
1084 reg_name_search signature.
1085 (s390_parse_cpu): Support the new arch string z13.
1086 (s390_insert_operand): Support for vector registers with the extra
1087 field for the fifth bit of each vector register operand.
1088 (md_gather_operand): Adjust to the new handling of optional
1091 * doc/as.texinfo: Document the z13 cpu string.
1093 2015-01-13 Matthew Wahab <matthew.wahab@arm.com>
1095 * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
1096 #0, restoring previous behaviour.
1098 2015-01-12 Jan Beulich <jbeulich@suse.com>
1100 * gas/dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
1101 (cfi_pseudo_table): Add "cfi_label".
1102 (output_cfi_insn): Handle CFI_label.
1103 (select_cie_for_fde): Als terminate CIE when encountering
1105 * dw2gencfi.h (cfi_add_label): Declare.
1106 (struct cfi_insn_data): New member "sym_name".
1108 * read.c (read_symbol_name): Drop "static".
1109 * read.h (read_symbol_name): Declare.
1111 2015-01-12 Jan Beulich <jbeulich@suse.com>
1113 * gas/config/tc-arm.c (do_neon_shl_imm): Check immediate range.
1114 (do_neon_qshl_imm): Likewise.
1116 2015-01-12 Alan Modra <amodra@gmail.com>
1118 * read.c (s_altmacro, s_reloc): Make definition static.
1120 2015-01-10 Andrew Burgess <andrew.burgess@embecosm.com>
1122 * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
1125 2015-01-09 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1127 * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
1129 * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
1131 2015-01-07 Jan Beulich <jbeulich@suse.com>
1133 * config/tc-arm.c (struct arm_option_extension_value_table):
1134 Split field "value" into fields "merge_value" and "clear_value".
1135 (arm_extensions): Adjust initializer accordingly.
1137 2015-01-01 Alan Modra <amodra@gmail.com>
1139 * as.c (parse_args): Just print current year.
1141 2015-01-01 Alan Modra <amodra@gmail.com>
1143 Update year range in copyright notice of all files.
1145 For older changes see ChangeLog-2014
1147 Copyright (C) 2015 Free Software Foundation, Inc.
1149 Copying and distribution of this file, with or without modification,
1150 are permitted in any medium without royalty provided the copyright
1151 notice and this notice are preserved.
1157 version-control: never