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