1 2015-07-16 Matthew Wahab <matthew.wahab@arm.com>
3 * config/tc-arm.c (arm_fpus): Add crypto-neon-fp-armv8.1.
4 * doc/c-arm.texi (-mfpu=): Likewise. Correct the entry for
7 2015-07-16 James Greenhalgh <james.greenhalgh@arm.com>
9 * config/tc-arm.c (md_assemble): Rephrase the "selected processor does
10 not support ARM mode" error messages.
12 2015-07-15 H.J. Lu <hongjiu.lu@intel.com>
14 * config/tc-i386.c (flag_compress_debug): Replace
15 COMPRESS_DEBUG_GNU_ZLIB with COMPRESS_DEBUG_GABI_ZLIB.
17 2015-07-14 H.J. Lu <hongjiu.lu@intel.com>
19 * as.c (parse_args): Make --compress-debug-sections and
20 --compress-debug-sections=zlib the same as
21 --compress-debug-sections=zlib-gabi.
22 * doc/as.texinfo: Change --compress-debug-sections and
23 --compress-debug-sections=zlib to zlib-gabi.
25 2015-07-09 Catherine Moore <clm@codesourcery.com>
27 * config/tc-mips.c (check_fpabi): Handle
28 VAL_GNU_MIPS_ABI_FP_NAN2008.
30 2015-07-08 Ciro Santilli <ciro.santilli@gmail.com>
32 * doc/as.texinfo: Clarify case requirements for pseudo ops.
34 2015-07-08 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
36 * config/tc-avr.c (tc_gen_reloc): Change 32 bit relocation to
37 32 bit PC relative and update offset if the fixup is pc-relative.
38 * config/tc-avr.h (DIFF_EXPR_OK): Define to enable PC relative diff
41 2015-07-03 Alan Modra <amodra@gmail.com>
43 * config/tc-ppc.c (md_show_usage): Add -m821, -m850, -m860.
44 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
46 2015-07-01 Sandra Loosemore <sandra@codesourcery.com>
47 Cesar Philippidis <cesar@codesourcery.com>
49 * config/tc-nios2.c (nios2_min_align): New.
50 (nop): Replace with....
51 (nop_r1, nop_r2, nop_r2_cdx, nop32, nop16): New.
52 (nios2_align): Handle alignment on 2-byte boundaries when CDX
53 instructions may be present.
54 (s_nios2_align): Adjust reference to nop.
55 (CDXBRANCH, IS_CDXBRANCH): New.
56 (CDX_UBRANCH_SUBTYPE, CDX_CBRANCH_SUBTYPE): New.
57 (nios2_relax_subtype_size): Handle 2-byte CDX branches.
58 (nios2_relax_frag): Likewise.
59 (md_convert_frag): Handle R2 encodings.
60 (nios2_check_overflow): Check that low-order bits are zero
61 before applying rightshift from howto.
62 (nios2_check_overflow): Correct negative overflow calculation.
63 (nios2_diagnose_overflow): Handle signed_immed12_overflow. Issue
64 generic overflow messages for miscellaneous instruction formats.
65 (md_apply_fix): Recognize new R2 relocations. For pc_relative
66 relocations, store fixup in *valP.
67 (nios2_reglist_mask, nios2_reglist_dir): New.
68 (nios2_parse_reglist): New.
69 (nios2_parse_base_register): New.
70 (nios2_assemble_expression): Handle constant expressions designated
72 (nios2_assemble_reg3): New.
73 (nios2_assemble_arg_c): Handle R2 instruction formats.
74 (nios2_assemble_arg_d): Likewise.
75 (nios2_assemble_arg_s): Likewise.
76 (nios2_assemble_arg_t): Likewise.
77 (nios2_assemble_arg_D): New.
78 (nios2_assemble_arg_S): New.
79 (nios2_assemble_arg_T): New.
80 (nios2_assemble_arg_i): Handle R2 instruction formats.
81 (nios2_assemble_arg_I): New.
82 (nios2_assemble_arg_u): Handle R2 instruction formats.
83 (nios2_assemble_arg_U): New.
84 (nios2_assemble_arg_V): New.
85 (nios2_assemble_arg_W): New.
86 (nios2_assemble_arg_X): New.
87 (nios2_assemble_arg_Y): New.
88 (nios2_assemble_arg_o): Handle R2 instruction formats.
89 (nios2_assemble_arg_O): New.
90 (nios2_assemble_arg_P): New.
91 (nios2_assemble_arg_j): Handle R2 instruction formats.
92 (nios2_assemble_arg_k): New.
93 (nios2_assemble_arg_l): Handle R2 instruction formats.
94 (nios2_assemble_arg_m): Likewise.
95 (nios2_assemble_arg_M): New.
96 (nios2_assemble_arg_N): New.
97 (nios2_assemble_arg_e): New.
98 (nios2_assemble_arg_f): New.
99 (nios2_assemble_arg_g): New.
100 (nios2_assemble_arg_h): New.
101 (nios2_assemble_arg_R): New.
102 (nios2_assemble_arg_B): New.
103 (nios2_assemble_args): Handle new argument letters.
104 (nios2_consume_arg): Likewise.
105 (nios2_translate_pseudo_insn): Avoid dereferencing null pointer
107 (nios2_ps_insn_info_structs): Add nop.n.
108 (output_ubranch): Handle CDX branches.
109 (output_cbranch): Likewise.
110 (output_call): Handle R2 encodings.
111 (output_movia): Likewise.
112 (md_begin): Initialize nios2_min_align.
113 (md_assemble): Align to nios2_min_align. Adjust nios2_min_align
114 if a 16-bit instruction is seen.
115 (nios2_cons_align): Use appropriate nop pattern.
117 2015-07-01 Sandra Loosemore <sandra@codesourcery.com>
118 Cesar Philippidis <cesar@codesourcery.com>
120 * config/tc-nios2.c: Adjust includes.
121 (OPTION_MARCH): Define.
122 (md_longopts): Add -march option.
123 (nios2_architecture): New.
124 (nios2_use_arch): New.
125 (md_parse_option): Handle OPTION_MARCH.
126 (md_show_usage): Document -march.
127 (md_begin): Set arch in BFD.
128 (nios2_elf_final_processing): New.
129 * config/tc-nios2.h (elf_tc_final_processing): Define.
130 (nios2_elf_final_processing): New.
131 * doc/c-nios2.texi (-march): Add documentation.
133 2015-06-30 Amit Pawar <Amit.Pawar@amd.com>
135 * config/tc-i386.c (cpu_arch): Add .mwaitx.
136 (process_immext): Check operands for monitorx/mwaitx instructions.
137 * doc/c-i386.texi: Document mwaitx.
139 2015-06-28 H.J. Lu <hongjiu.lu@intel.com>
141 * as.c (parse_args): Replace COMPRESS_DEBUG_ZLIB with
142 COMPRESS_DEBUG_GNU_ZLIB.
143 * config/tc-i386.c (flag_compress_debug): Likewise.
145 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
147 * doc/as.texinfo (.cfi_lsda): Remove the extra @section.
149 2015-06-19 Peter Bergner <bergner@vnet.ibm.com>
151 * config/tc-ppc.c (md_assemble): Use ppc_optional_operand_value.
152 Allow for optional operands without insert functions.
154 2015-06-18 Nick Clifton <nickc@redhat.com>
157 * config/tc-arm.c (md_apply_fix): Add support for ADR in thumb
158 mode against a nearby symbol.
160 2015-06-18 Nick Clifton <nickc@redhat.com>
163 * config/tc-arm.c (tc_gen_reloc): Include BFD_RELOC_ARM_TLS_LE32
164 in the same case as BFD_RELOC_ARM_TLS_IS32.
166 2015-06-17 Nick Clifton <nickc@redhat.com>
168 * config/tc-arm.c (is_double_a_single): Make conditional upon the
169 availablity of a 64-bit type. Use this type for the argument and
171 (double_to_single): Likewise.
172 * config/tc-arm.c (move_or_literal_pool): Use a 64-bit type for
173 the constant value, if available. Generate a 64-bit value from a
174 bignum if supported. Only perform the second optimization for
175 PR 18500 if the 64-bit type is available.
177 2015-06-17 Alessandro Marzocchi <alessandro.marzocchi@gmail.com>
180 * config/tc-arm.c (is_double_a_single): New function.
181 (double_to_single): New function.
182 (move_or_literal_pool): Add support for converting VLDR to VMOV.
185 * config/tc-arm.c (move_or_literal_pool): Add support for LDR Rx,=
186 to MOV.w or MVN.w for Thumb2.
188 2015-06-17 Nicolas Pitre <nico@linaro.org>
190 * as.c (show_usage): Document --sectname-subst.
191 (parse_args): Add --sectname-subst.
192 * as.h (flag_sectname_subst): New.
193 * config/obj-elf.c (obj_elf_section_name): Add %S substitution.
194 * doc/as.texinfo: Document it.
196 2015-06-15 Renlin Li <renlin.li@arm.com>
198 * config/tc-aarch64.c (reloc_table): New relocation modifier.
199 (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTOFF_LO15.
200 (aarch64_force_relocation): Ditto
202 2015-06-13 Mark Wielaard <mjw@redhat.com>
204 * dwarf2dbg.c (out_header): Document EXPR->X_add_number value,
205 out_debug_aranges depends on it.
206 (out_debug_aranges): Track size of header to properly pad header
207 for address alignment.
209 2015-06-11 John David Anglin <danglin@gcc.gnu.org>
212 * gas/config/tc-hppa.c (last_label_symbol): Declare.
213 (pa_get_label): Return last label in current space/segment or NULL.
214 (pa_define_label): Record last label and add to root.
215 (pa_undefine_label): Remove last label from root.
217 2015-06-08 Nick Clifton <nickc@redhat.com>
219 * config/tc-rx.c (rx_op): Correct handling of integer bignums.
221 2015-06-04 Matthew Wahab <matthew.wahab@arm.com>
223 * NEWS: Mention ARMv8.1 support in the Aarch64 port.
224 * config/tc-aarch64.c (aarch64_arch_option_table): Add "armv8.1-a".
225 * doc/c-aarch64.texi (-march): Add "armv8.1-a".
227 2015-06-04 Renlin Li <renlin.li@arm.com>
229 * config/tc-arm.c (arm_init_frag): Use frag's thumb_mode information
232 2015-06-04 Nick Clifton <nickc@redhat.com>
234 * config/tc-h8300.c (md_section_align): Fix compile time warning
235 about left shifting a negative value.
237 2015-06-03 Matthew Wahab <matthew.wahab@arm.com>
239 * config/tc-arm.c (arm_archs): Add "armv8.1-a".
240 * doc/c-arm.texi (ARM Options, -march): Add "armv8.1-a".
241 * NEWS: Mention ARMv8.1 support.
243 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
245 * config/tc-arm.c (arm_ext_pan): New.
246 (do_setpan): New, encode an ARM SETPAN instruction.
247 (do_t_setpan): New, encode a Thumb SETPAN instruction.
248 (insns): Add "setpan".
249 (arm_extensions): Add "pan".
250 * doc/c-arm.texi (ARM Options): Add "pan" to list of -mcpu processor
253 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
255 * config/tc-aarch64.c (aarch64_features): Add "rdma".
256 * doc/c-aarch64.texi (AArch64 Extensions): Add "rdma".
258 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
260 * config/tc-aarch64.c (aarch64_features): Add "lor".
261 * doc/c-aarch64.c (Aarch64 Extensions): Add "lor" to list of
262 architecture extensions.
264 2015-06-01 Matthew Wahab <matthew.wahab@arm.com>
266 * config/tc-aarch64.c (parse_sys_reg): New parameter. Check target
267 support. Fix whitespace.
268 (parse_operands): Update for parse_sys_reg changes.
269 (aarch64_features): Add "pan".
270 * doc/c-aarch64.texi (Aarch64 Extensions): Add "pan".
272 2015-06-01 Jiong Wang <jiong.wang@arm.com>
274 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
275 (md_apply_fix): Support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
276 (aarch64_force_relocation): Ditto.
278 2015-06-01 Jiong Wang <jiong.wang@arm.com>
280 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
281 (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
282 (aarch64_force_relocation): Ditto.
284 2015-05-28 Catherine Moore <clm@codesourcery.com>
285 Bernd Schmidt <bernds@codesourcery.com>
286 Paul Brook <paul@codesourcery.com>
289 * config/tc-alpha.c (all_cfi_sections): Declare.
290 (s_alpha_ent): Initialize all_cfi_sections.
291 (alpha_elf_md_end): Invoke cfi_set_sections.
292 * config/tc-mips.c (md_apply_fix): Handle BFD_RELOC_NONE.
293 (s_ehword): Use BFD_RELOC_32_PCREL.
294 (mips_fix_adjustable): Handle BFD_RELOC_32_PCREL.
295 (mips_cfi_reloc_for_encoding): New function.
296 * tc-mips.h (DWARF2_FDE_RELOC_SIZE): Redefine.
297 (DWARF2_FDE_RELOC_ENCODING): Define.
298 (tc_cfi_reloc_for_encoding): Define.
299 (mips_cfi_reloc_for_encoding): Define.
300 (tc_compact_eh_opcode_stop): Define.
301 (tc_compact_eh_opcode_pad): Define.
302 * doc/as.texinfo: Document Compact EH extensions.
303 * doc/internals.texi: Likewise.
304 * dw2gencfi.c (EH_FRAME_LINKONCE): Redefine.
305 (tc_cfi_reloc_for_encoding): Provide default.
306 (compact_eh): Declare.
307 (emit_expr_encoded): New function.
308 (get_debugseg_name): Add Compact EH support.
309 (alloc_debugseg_item): Likewise.
310 (cfi_set_sections): New function.
311 (dot_cfi_fde_data): New function.
312 (dot_cfi_personality_id): New function.
313 (dot_cfi_inline_lsda): New function.
314 (cfi_pseudo_table): Add cfi_fde_data, cfi_personality_id,
316 (dot_cfi_personality): Add Compact EH support.
317 (dot_cfi_lsda): Likewise.
318 (dot_cfi_sections): Likewise.
319 (dot_cfi_startproc): Likewise.
320 (get_cfi_seg): Likewise.
321 (output_compact_unwind_data): New function.
322 (output_cfi_insn): Add Compact EH support.
323 (output_cie): Likewise.
324 (output_fde): Likewise.
325 (cfi_finish): Likewise.
326 (cfi_emit_eh_header): New function.
327 (output_eh_header): New function.
328 * dw2gencfi.h (cfi_set_sections): Declare.
329 (SUPPORT_COMPACT_EH): Define.
330 (MULTIPLE_FRAME_SECTIONS): Define.
331 New enumeration to describe the Compact EH header format.
332 (fde_entry): Add new fields personality_id, eh_header_type, eh_data_size,
333 eh_data, eh_loc and sections.
334 (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame, CFI_EMIT_target,
335 CFI_EMIT_eh_frame_compact): Define.
337 2015-05-26 Max Filippov <jcmvbkbc@gmail.com>
339 * config/tc-xtensa.c (xtensa_move_literals): Check that
340 search_frag is non-NULL. Report error if literal frag is not
343 2015-05-22 Nick Clifton <nickc@redhat.com>
346 * read.c (output_big_sleb128): Use U suffix to prevent compile
349 2015-05-19 Jiong Wang <jiong.wang@arm.com>
351 * config/tc-aarch64.c (process_movw_reloc_info): Sort relocation case
352 labels alphabetically.
353 (md_apply_fix): Ditto.
354 (aarch64_force_relocation): Ditto.
356 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
359 * config/tc-i386.c (OPTION_MAMD64): New.
360 (OPTION_MINTEL64): Likewise.
361 (md_longopts): Add -mamd64 and -mintel64.
362 (md_parse_option): Handle OPTION_MAMD64 and OPTION_MINTEL64.
363 (md_show_usage): Add -mamd64 and -mintel64.
364 * doc/c-i386.texi: Document -mamd64 and -mintel64.
366 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
368 * config/tc-i386.c (shared): New.
369 (OPTION_MSHARED): Likewise.
370 (elf_symbol_resolved_in_segment_p): Add relocation argument.
371 Check PLT relocations and shared.
372 (md_estimate_size_before_relax): Pass fragP->fr_var to
373 elf_symbol_resolved_in_segment_p.
374 (md_longopts): Add -mshared.
375 (md_show_usage): Likewise.
376 (md_parse_option): Handle OPTION_MSHARED.
377 * doc/c-i386.texi: Document -mshared.
379 2015-05-14 H.J. Lu <hongjiu.lu@intel.com>
381 * write.c (compress_debug): Don't write the zlib header, which
382 is handled by bfd_update_compression_header.
384 2015-05-13 Max Filippov <jcmvbkbc@gmail.com>
386 * config/tc-xtensa.c (xtensa_relax_frag): Allow trampoline to be
387 closer than J_RANGE / 2 to jump frag.
389 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
391 * configure.tgt (arch): Set to iamcu for i386-*-elfiamcu target.
392 * config/tc-i386.c (i386_mach): Support iamcu.
393 (i386_target_format): Likewise.
395 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
397 * config/tc-i386.c (cpu_arch): Add iamcu.
398 (i386_align_code): Handle PROCESSOR_IAMCU.
399 (i386_arch): Likewise.
400 (i386_mach): Likewise.
401 (i386_target_format): Likewise.
402 (valid_iamcu_cpu_flags): New function.
403 (check_cpu_arch_compatible): Only allow Intel MCU instructions
404 when targeting Intel MCU.
405 (set_cpu_arch): Call valid_iamcu_cpu_flags to check if CPU flags
406 are valid for Intel MCU.
407 (md_parse_option): Likewise.
408 * tc-i386.h (ELF_TARGET_IAMCU_FORMAT): New.
409 (processor_type): Add PROCESSOR_IAMCU.
410 * doc/c-i386.texi: Document iamcu.
412 2015-05-08 Nick Clifton <nickc@redhat.com>
415 * config/tc-arm.h (TC_EQUAL_IN_INSN): Define.
416 * config/tc-arm.c (arm_tc_equal_in_insn): New function. Move
417 the symbol name checking code to here from...
418 (md_undefined_symbo): ... here.
420 2015-05-07 H.J. Lu <hongjiu.lu@intel.com>
422 * config/tc-i386.c (elf_symbol_resolved_in_segment_p): New.
423 (md_estimate_size_before_relax): Use it.
425 2015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
427 * config/tc-sparc.c: Typo in comment fixed.
429 2015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
431 * config/tc-sparc.c (sparc_ip): Support the %ncc "natural"
433 * doc/c-sparc.texi (Sparc-Regs): Document %ncc.
435 2015-05-06 Nick Clifton <nickc@redhat.com>
437 * doc/as.texinfo (Dollar Local Labels): Note that these are only
438 supported on some targets.
440 2015-05-06 Renlin Li <renlin.li@arm.com>
442 * config/tc-aarch64.c (mapping_state): Recording alignment before exit.
444 2015-05-05 Renlin Li <renlin.li@arm.com>
446 * config/tc-aarch64.c (aarch64_init_frag): Always generate mapping
449 2015-05-05 Nick Clifton <nickc@redhat.com>
451 * config/tc-msp430.c (MAX_OP_LEN): Increase to 4096.
452 (msp430_make_init_symbols): New function.
453 (msp430_section): Call it.
454 (msp430_frob_section): Likewise.
456 2015-05-02 Max Filippov <jcmvbkbc@gmail.com>
458 * config/tc-xtensa.c (cached_fixupS, fixup_cacheS): New typedefs.
459 (struct cached_fixup, struct fixup_cache): New structures.
460 (fixup_order, xtensa_make_cached_fixup),
461 (xtensa_realloc_fixup_cache, xtensa_cache_relaxable_fixups),
462 (xtensa_find_first_cached_fixup, xtensa_delete_cached_fixup),
463 (xtensa_add_cached_fixup): New functions.
464 (xtensa_relax_frag): Cache fixups pointing at potentially
465 oversized jumps at the beginning of every relaxation pass. Only
466 check subset of this cache in the reach of single jump from the
467 trampoline frag currently being relaxed.
469 2015-05-01 Nick Clifton <nickc@redhat.com>
471 * config/rl78-parse.y (MULU): Remove ISA_G14.
472 (MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings.
474 2015-05-01 H.J. Lu <hongjiu.lu@intel.com>
476 * config/tc-i386.c (i386_elf_emit_arch_note): Removed.
477 * config/tc-i386.h (md_end): Likewise.
478 (i386_elf_emit_arch_note): Likewise.
480 2015-05-01 H.J. Lu <hongjiu.lu@intel.com>
482 * configure.tgt: Support i386-*-elf*.
484 2015-04-30 DJ Delorie <dj@redhat.com>
486 * config/rl78-defs.h (rl78_isa_g10): New.
489 * config/rl78-parse.y (ISA_G10): New.
492 (MULHU, MULH, MULU, DIVHU, DIVWU, MACHU, MACH): Use them.
493 * config/tc-rl78.c (rl78_isa_g10): New.
497 2015-04-30 H.J. Lu <hongjiu.lu@intel.com>
499 * config/tc-i386.c (i386_target_format): Use "else if" on
502 2015-04-30 Nick Clifton <nickc@redhat.com>
505 * config/tc-arm.c (md_undefined_symbol): Issue a warning message
506 (if enabled) when the user creates a symbol with the same name as
508 (flag_warn_syms): New static variable.
509 (arm_opts): Add mwarn-syms and mno-warn-syms.
510 * doc/c-arm.texi (ARM Options): Document the -m[no-]warn-syms
514 * doc/as.texinfo (Zero): Add documentation of the .zero pseudo-op.
516 2015-04-29 Nick Clifton <nickc@redhat.com>
519 * config/tc-arm.c (encode_arm_cp_address): Issue an error message
520 if the operand is neither a register nor a vector.
522 2015-04-29 Nick Clifton <nickc@redhat.com>
524 * doc/as.texinfo (Set): Note that a symbol cannot be set multiple
525 times if the expression is not constant and the target uses linker
528 2015-04-28 Renlin Li <renlin.li@arm.com>
530 * config/tc-arm.c (arm_init_frag): Always emit mapping symbols.
532 2015-04-28 Nick Clifton <nickc@redhat.com>
535 * cond.c (s_if): Stop compile time warning about stopc being used
539 2015-04-27 Renlin Li <renlin.li@arm.com>
541 * config/tc-aarch64.c (s_aarch64_inst): Don't align code for non-text
543 (md_assemble): Likewise, move the align code outside the loop.
545 2015-04-24 Jim Wilson <jim.wilson@linaro.org>
547 * config/tc-aarch64.c (aarch64_cpus): Add CRC and CRYPTO features
550 2015-04-24 Richard Earnshaw <rearnsha@arm.com>
552 * config/tc-arm.h (arm_min): New function.
553 (SUB_SEGMENT_ALIGN): Define.
555 2015-04-23 Matthew Fortune <matthew.fortune@imgtec.com>
557 * config/tc-mips.c (macro): State the recommended way of creating
558 32-bit or 64-bit addresses.
560 2015-04-23 Jan Beulich <jbeulich@suse.com>
562 * config/tc-i386.c (match_mem_size): Also allow no size
563 specification when broadcasting.
565 2015-04-20 H.J. Lu <hongjiu.lu@intel.com>
567 * doc/as.texinfo (Bundle directives): Shorten menu entry and
569 (CFI directives): Use @subsection.
570 (SH-Dependent, SH64-Dependent): Moved after SCORE-Dependent.
571 * doc/c-i386.texi (i386-Mnemonics): Use @subsection.
573 2015-04-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
575 * config/tc-avr.c (create_record_for_frag): Rename link to
578 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
581 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
583 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
585 * as.h (compressed_debug_section_type): Removed.
587 2015-04-14 Nick Clifton <nickc@redhat.com>
589 * config/tc-rl78.h (TC_LINKRELAX_FIXUP): Define.
590 (TC_FORCE_RELOCATION_SUB_SAME): Define.
591 (DWARF2_USE_FIXED_ADVANCE_PC): Define.
593 2015-04-10 Nick Clifton <nickc@redhat.com>
596 * doc/c-arm.texi (ARM Options): Add a note about the interaction of
597 the -EB option with the linker's --be8 option.
599 2015-04-09 Hans-Peter Nilsson <hp@axis.com>
601 * doc/c-rx.texi: Fix markup typos in last change.
603 2015-04-09 Nick Clifton <nickc@redhat.com>
605 * config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS.
606 (md_longopts): Add -mno-allow-string-insns.
607 (md_parse_option): Handle -mno-allow-string-insns.
608 (md_show_usage): Mention -mno-allow-string-insns.
609 (rx_note_string_insn_use): New function. Produces an error
610 message if a string insn is used when it is not allowed.
611 * config/rx-parse.y (SCMPU): Call rx_note_string_insn_use.
612 (SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise.
613 * config/rx-defs.h (rx_note_string_insn_use): Prototype.
614 * doc/c-rx.texi: Document -mno-allow-string-insns.
616 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
618 * as.c (show_usage): Update --compress-debug-sections.
619 (std_longopts): Use optional_argument on compress-debug-sections.
621 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
622 * as.h (compressed_debug_section_type): New.
623 (flag_compress_debug): Change type to compressed_debug_section_type.
624 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
625 * write.c (compress_debug): Set BFD_COMPRESS_GABI for
626 --compress-debug-sections=zlib-gabi. Call
627 bfd_get_compression_header_size to get compression header size.
628 Don't rename section name for --compress-debug-sections=zlib-gabi.
629 * config/tc-i386.c (compressed_debug_section_type): Set to
631 * doc/as.texinfo: Document
632 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
634 2015-04-07 Renlin Li <renlin.li@arm.com>
636 * config/tc-aarch64.c (mapping_state): Use subseg_text_p.
637 (s_aarch64_inst): Likewise.
638 (md_assemble): Likewise.
640 2015-04-06 H.J. Lu <hongjiu.lu@intel.com>
642 * write.c (compress_debug): Use bfd_putb64 to write uncompressed
645 2015-04-05 H.J. Lu <hongjiu.lu@intel.com>
647 * write.c (compress_debug): Don't write the zlib header if
648 compressed section size is the same as before compression.
650 2015-04-02 Nick Clifton <nickc@redhat.com>
653 * config/tc-microblaze.c (parse_imm): Use offsetT as the type for
654 min and max parameters. Sign extend values before testing.
656 2015-04-02 Renlin Li <renlin.li@arm.com>
658 * config/tc-aarch64.c (mapping_state): Emit MAP_DATA within text section in order.
659 (mapping_state_2): Don't emit MAP_DATA here.
660 (s_aarch64_inst): Align frag during state transition.
661 (md_assemble): Likewise.
663 2015-04-02 Ed Maste <emaste@freebsd.org>
665 * config/tc-aarch64.c (set_error_kind): Delete.
666 (set_error_message): Delete.
668 2015-04-02 H.J. Lu <hongjiu.lu@intel.com>
670 * configure: Regenerated.
672 2015-04-01 Evandro Menezes <e.menezes@samsung.com>
674 * config/tc-aarch64.c: Add support for Samsung Exynos M1.
675 * doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
677 2015-04-01 Evandro Menezes <e.menezes@samsung.com>
679 * config/tc-arm.c: Add support for Samsung Exynos M1.
680 * doc/c-arm.texi (-mcpu=): Add "exynos-m1".
682 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
684 * configure: Regenerated.
686 2015-03-31 Ed Schouten <ed@nuxi.nl>
688 * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
690 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
692 * configure.ac: Revert the AM_ZLIB change.
693 * Makefile.in: Regenerated.
694 * aclocal.m4: Likewise.
695 * configure: Likewise.
697 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
699 * Makefile.am (ZLIBINC): New.
700 (AM_CFLAGS): Add $(ZLIBINC).
701 * as.c: (show_usage): Don't check HAVE_ZLIB_H.
702 (parse_args): Likewise.
703 * compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
704 (compress_init): Don't check HAVE_ZLIB_H.
705 (compress_data): Likewise.
706 (compress_finish): Likewise.
707 * configure.ac (AM_ZLIB): Removed.
708 (zlibinc): New. AC_SUBST.
709 Add --with-system-zlib.
710 * Makefile.in: Regenerated.
711 * config.in: Likewise.
712 * configure: Likewise.
713 * doc/Makefile.in: Likewise.
715 2015-03-27 H.J. Lu <hongjiu.lu@intel.com>
717 * config/tc-i386.c (cpu_flags_set): Removed.
719 2015-03-25 Renlin Li <renlin.li@arm.com>
721 * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
723 (mapping_state_2): Emit first MAP_DATA symbol here.
725 2015-03-24 H.J. Lu <hongjiu.lu@intel.com>
728 * write.c (compress_debug): Don't write the zlib header if
729 compression didn't make the section smaller.
731 2015-03-24 Terry Guo <terry.guo@arm.com>
733 * config/tc-arm.c (no_cpu_selected): Use new macro to compare
735 (parse_psr): Likewise.
736 (do_t_mrs): Likewise.
737 (do_t_msr): Likewise.
738 (static const arm_feature_set arm_ext_*): Defined with new macros.
739 (static const arm_feature_set arm_cext_*): Likewise.
740 (static const arm_feature_set fpu_fpa_ext_*): Likewise.
741 (static const arm_feature_set fpu_vfp_ext_*): Likewise.
742 (deprecated_coproc_regs): Likewise.
743 (UL_BARRIER): Likewise.
744 (barrier_opt_names): Likewise.
745 (arm_cpus): Likewise.
746 (arm_extensions): Likewise.
748 2015-03-20 H.J. Lu <hongjiu.lu@intel.com>
750 * config/tc-i386.c (i386_align_code): Limit multi-byte nop
751 instructions to 10 bytes.
753 2015-03-19 Nick Clifton <nickc@redhat.com>
755 * config/tc-rl78.c (enum options): Add G13 and G14.
756 (md_longopts): Add -mg13 and -mg14.
757 (md_parse_option): Handle -mg13 and -mg14.
758 (md_show_usage): List -mg13 and -mg14.
759 * doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
761 2015-03-18 Jon Turney <jon.turney@dronecode.org.uk>
762 Nick Clifton <nickc@redhat.com>
765 * doc/as.texinfo: Note that when gas compresses debug sections the
766 compression is only performed if it makes the section smaller.
767 * write.c (compress_debug): Do not compress a debug section if
768 doing so would make it larger.
770 2015-03-17 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
772 * config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
773 (i386_align_code): Add PROCESSOR_ZNVER cases.
774 * config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
775 * doc/c-i386.texi: Add znver1 and clzero.
777 2015-03-16 Nick Clifton <nickc@redhat.com>
779 * dwarf2dbg.c (out_header): Remove spurious #if 1.
781 2015-03-13 Jiong Wang <jiong.wang@arm.com>
783 * config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
786 2015-03-13 Jiong Wang <jiong.wang@arm.com>
788 * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
790 2015-03-12 Andrew Bennett <andrew.bennett@imgtec.com>
792 * config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
793 * doc/c-mips.texi: Document i6400 -march option.
795 2015-03-12 Nick Clifton <nickc@redhat.com>
798 * config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
799 to arm_apply_sym_value. Update prototype.
800 * config/tc-arm.c (arm_apply_sym_value): Add segment argument.
801 Do not apply the value if the symbol is in a different segment to
804 2015-03-11 Alan Modra <amodra@gmail.com>
806 * config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
807 (md_apply_fix): Report an error on data-only fixups used with insns.
809 2015-03-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
811 * config/tc-s390.c (md_gather_operands): Check for valid
812 length field operands.
814 2015-03-10 Michael Perkins <perkinsmg75@yahoo.co.uk>
816 * config/tc-arm.c (parse_operands): Fix bug setting writeback
817 values for '^' on OP_REGLSTs.
818 (do_push_pop): Add new writeback constraint.
820 2015-03-10 Renlin Li <renlin.li@arm.com>
822 * config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
823 (mapping_state_2): Emit first MAP_DATA symbol here.
825 2015-03-10 Matthew Wahab <matthew.wahab@arm.com>
827 * config/tc-aarch64.c (mapping_state): Set minimum alignment for
830 2015-03-10 Nick Clifton <nickc@redhat.com>
833 * config/tc-arm.c (md_begin): Ensure that selected_cpu is
834 initialised when CPU_DEFAULT is defined.
836 2015-03-05 Nick Clifton <nickc@redhat.com>
838 * config/tc-v850.c (md_parse_option): Fix code to set or clear
839 EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
840 -m8byte-align and -m4byte-align command line options.
842 2015-03-04 Richard Sandiford <richard.sandiford@arm.com>
845 * config/tc-aarch64.c (process_movw_reloc_info): Allow
846 R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
849 2015-02-28 Alan Modra <amodra@gmail.com>
851 * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
852 end to their alignment.
854 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
856 * config/tc-aarch64.c (reloc_table_entry): Generate
857 BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
858 (md_apply_fix, aarch64_force_relocation): Handle
859 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
861 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
863 * config/tc-aarch64.c (reloc_table_entry): Generate
864 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
865 (md_apply_fix, aarch64_force_relocation): Handle
866 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
868 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
870 * config/tc-aarch64.c (reloc_table_entry): Generate
871 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
872 (md_apply_fix, aarch64_force_relocation): Handle
873 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
875 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
877 * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
878 (reloc_table): Likewise.
879 (parse_address_main): Use ld_literal_type.
881 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
883 * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
884 (reloc_table): Likewise.
885 (parse_address_main): Use adr_type.
887 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
889 * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
891 2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
893 * config/tc-avr.c: Add elf32-avr.h include.
894 (struct avr_property_record_link): New structure.
895 (avr_output_property_section_header): New function.
896 (avr_record_size): New function.
897 (avr_output_property_record): New function.
898 (avr_create_property_section): New function.
899 (avr_handle_align): New function.
900 (exclude_section_from_property_tables): New function.
901 (create_record_for_frag): New function.
902 (append_records_for_section): New function.
903 (avr_create_and_fill_property_section): New function.
904 (avr_post_relax_hook): New function.
905 * config/tc-avr.h (md_post_relax_hook): Define.
906 (avr_post_relax_hook): Declare.
907 (HANDLE_ALIGN): Define.
908 (avr_handle_align): Declare.
909 (strut avr_frag_data): New structure.
910 (TC_FRAG_TYPE): Define.
912 2015-02-25 Matthew Wahab <matthew.wahab@arm.com>
914 * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
917 2015-02-24 Nick Clifton <nickc@redhat.com>
919 * config/tc-v850.c (soft_float): New variable.
920 (v850_data_8): New variable.
921 (md_show_usage): Add -msoft-float/-mhard-float.
922 (md_parse_option): Likewise.
923 (md_begin): Set the default value of soft_float.
924 (v850_md_end): New function. Creates a note section.
925 * config/tc-v850.h (md_end): Define.
926 * doc/c-v850.texi: Document -msoft-float/-mhard-float.
928 2015-02-23 Yoshinori Sato <ysato@users.sourceforge.jp>
930 * config/tc-h8300.c (line_separater_chars): Add a version for
931 h8300-linux that includes a separator.
932 (default_mach): New variable.
934 (md_longopts): Add '--march' option.
935 (md_parse_option): Parse the new option.
936 * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
937 * configure.tgt: Add h8300-*-linux
938 * doc/c-h8300.texi: Document --march.
940 2015-02-23 Nick Clifton <nickc@redhat.com>
943 * dwarf2dbg.c (out_header): When generating dwarf sections use
944 real symbols not temps for the start and end symbols.
945 * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
946 adjustments to relocations in debug sections.
947 (TC_LINKRELAX_FIXUP): Likewise.
949 2015-02-19 Alan Modra <amodra@gmail.com>
951 * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
952 * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
954 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
956 * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
958 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
960 * config/tc-arm.c: Add support for Cortex-A72.
962 2015-02-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
964 * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
965 of as_warn for deprecation messages.
966 (encode_arm_addr_mode_2): Likewise.
967 (check_obsolete): Likewise.
968 (do_rd_rm_rn): Likewise.
969 (do_co_reg): Likewise.
970 (do_setend): Likewise.
971 (do_t_mov_cmp): Likewise.
972 (do_neon_ldr_str): Likewise.
973 (opcode_lookup): Likewise.
974 (if_fsm_post_encode): Likewise.
975 (md_assemble): Likewise.
977 2015-02-06 Jan Beulich <jbeulich@suse.com>
979 * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
980 (cfi_change_reg_numbers): Also do nothing for CFI_label.
981 (cfi_pseudo_table): Also handle .cfi_label when not supporting
984 2015-02-05 Alan Modra <amodra@gmail.com>
986 * config/tc-msp430.c (md_assemble): Correct size passed to
987 extract_cmd. Remove index check.
989 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
991 * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
992 * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
994 2015-02-04 Nick Clifton <nickc@redhat.com>
996 * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
999 2015-02-03 Renlin Li <renlin.li@arm.com>
1001 * doc/c-aarch64.texi (.arch): Document the directive.
1002 (.arch_extension): Likewise.
1004 2015-02-03 Nick Clifton <nickc@redhat.com>
1006 * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
1008 2015-01-28 James Bowman <james.bowman@ftdichip.com>
1010 * Makefile.am: Add FT32 files.
1011 * config/tc-ft32.c: New file.
1012 * config/tc-ft32.h: New file.
1013 * configure.tgt: Add FT32 support.
1014 * Makefile.in: Regenerate.
1015 * po/POTFILES.in: Regenerate.
1017 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
1019 * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
1020 of instruction la to a symbol.
1022 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
1024 * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
1027 2015-01-19 Alan Modra <amodra@gmail.com>
1029 * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
1030 * write.c (get_frag_for_reloc): Allow match just past end of frag.
1032 2015-01-16 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1034 * config/tc-s390.c (struct pd_reg): Remove.
1035 (pre_defined_registers): Remove.
1036 (REG_NAME_CNT): Remove.
1037 (reg_name_search): Calculate the register number instead of doing
1039 (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
1040 reg_name_search signature.
1041 (s390_parse_cpu): Support the new arch string z13.
1042 (s390_insert_operand): Support for vector registers with the extra
1043 field for the fifth bit of each vector register operand.
1044 (md_gather_operand): Adjust to the new handling of optional
1047 * doc/as.texinfo: Document the z13 cpu string.
1049 2015-01-13 Matthew Wahab <matthew.wahab@arm.com>
1051 * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
1052 #0, restoring previous behaviour.
1054 2015-01-12 Jan Beulich <jbeulich@suse.com>
1056 * gas/dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
1057 (cfi_pseudo_table): Add "cfi_label".
1058 (output_cfi_insn): Handle CFI_label.
1059 (select_cie_for_fde): Als terminate CIE when encountering
1061 * dw2gencfi.h (cfi_add_label): Declare.
1062 (struct cfi_insn_data): New member "sym_name".
1064 * read.c (read_symbol_name): Drop "static".
1065 * read.h (read_symbol_name): Declare.
1067 2015-01-12 Jan Beulich <jbeulich@suse.com>
1069 * gas/config/tc-arm.c (do_neon_shl_imm): Check immediate range.
1070 (do_neon_qshl_imm): Likewise.
1072 2015-01-12 Alan Modra <amodra@gmail.com>
1074 * read.c (s_altmacro, s_reloc): Make definition static.
1076 2015-01-10 Andrew Burgess <andrew.burgess@embecosm.com>
1078 * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
1081 2015-01-09 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1083 * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
1085 * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
1087 2015-01-07 Jan Beulich <jbeulich@suse.com>
1089 * config/tc-arm.c (struct arm_option_extension_value_table):
1090 Split field "value" into fields "merge_value" and "clear_value".
1091 (arm_extensions): Adjust initializer accordingly.
1093 2015-01-01 Alan Modra <amodra@gmail.com>
1095 * as.c (parse_args): Just print current year.
1097 2015-01-01 Alan Modra <amodra@gmail.com>
1099 Update year range in copyright notice of all files.
1101 For older changes see ChangeLog-2014
1103 Copyright (C) 2015 Free Software Foundation, Inc.
1105 Copying and distribution of this file, with or without modification,
1106 are permitted in any medium without royalty provided the copyright
1107 notice and this notice are preserved.
1113 version-control: never