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