1 2015-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
3 * doc/c-aarch64.texi (.xword): Document directive.
5 2015-08-03 Nick Clifton <nickc@redhat.com>
7 * doc/as.texinfo (Overview): Add --hash-size to the synopsis and
8 fix typo in its entry: @kindex -> @item.
10 2015-07-28 Robert Suchanek <robert.suchanek@imgtec.com>
12 * config/tc-mips.c (mips_cpu_info_table): Add m5100 and m5101 entries.
13 * doc/c-mips.texi: Document m5100 and m5101 for -march=.
15 2015-07-28 Robert Suchanek <robert.suchanek@imgtec.com>
17 * config/tc-mips.c (mips_cpu_info_table): Add interaptiv entry.
18 * doc/c-mips.text: Document -march=interaptiv.
20 2015-07-27 H.J. Lu <hongjiu.lu@intel.com>
22 * configure: Regenerated.
24 2015-07-24 Nick Clifton <nickc@redhat.com>
26 * config/tc-rl78.c (rl78_abs_sym): New local variable.
27 (md_begin): Initialise the new symbol.
28 (OPIMM): Define the value to be relative to the new symbol and not
29 the absolute section symbol.
31 2015-07-22 Alan Modra <amodra@gmail.com>
34 * input-scrub.c (input_scrub_next_buffer): Rearrange and simplify
35 loop. Don't drop lines at end of file lacking a newline, add a
36 newline instead. Ensure partial_size is zero whenever
37 partial_where is NULL. Adjust buffer size for extra char.
38 (input_scrub_push, input_scrub_begin): Adjust buffer size here too.
40 2015-07-20 Matthew Wahab <matthew.wahab@arm.com>
42 * NEWS: Mention corrected spelling of armv6kz.
43 * config/tc-arm.c (arm_cpus): Replace ARM_ARCH_V6ZK with
45 (arm_archs): Likewise. Also add "armv6kz" and "armv6kzt2".
46 * doc/c-arm.texi: Replace "armv6zk" with "armv6kz".
48 2015-07-16 Jiong Wang <jiong.wang@arm.com>
50 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
51 (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PREL21.
52 (aarch64_force_relocation): Ditto.
54 2015-07-16 Matthew Wahab <matthew.wahab@arm.com>
56 * config/tc-arm.c (arm_fpus): Add crypto-neon-fp-armv8.1.
57 * doc/c-arm.texi (-mfpu=): Likewise. Correct the entry for
60 2015-07-16 James Greenhalgh <james.greenhalgh@arm.com>
62 * config/tc-arm.c (md_assemble): Rephrase the "selected processor does
63 not support ARM mode" error messages.
65 2015-07-15 H.J. Lu <hongjiu.lu@intel.com>
67 * config/tc-i386.c (flag_compress_debug): Replace
68 COMPRESS_DEBUG_GNU_ZLIB with COMPRESS_DEBUG_GABI_ZLIB.
70 2015-07-14 H.J. Lu <hongjiu.lu@intel.com>
72 * as.c (parse_args): Make --compress-debug-sections and
73 --compress-debug-sections=zlib the same as
74 --compress-debug-sections=zlib-gabi.
75 * doc/as.texinfo: Change --compress-debug-sections and
76 --compress-debug-sections=zlib to zlib-gabi.
78 2015-07-09 Catherine Moore <clm@codesourcery.com>
80 * config/tc-mips.c (check_fpabi): Handle
81 VAL_GNU_MIPS_ABI_FP_NAN2008.
83 2015-07-08 Ciro Santilli <ciro.santilli@gmail.com>
85 * doc/as.texinfo: Clarify case requirements for pseudo ops.
87 2015-07-08 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
89 * config/tc-avr.c (tc_gen_reloc): Change 32 bit relocation to
90 32 bit PC relative and update offset if the fixup is pc-relative.
91 * config/tc-avr.h (DIFF_EXPR_OK): Define to enable PC relative diff
94 2015-07-03 Alan Modra <amodra@gmail.com>
96 * config/tc-ppc.c (md_show_usage): Add -m821, -m850, -m860.
97 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
99 2015-07-01 Sandra Loosemore <sandra@codesourcery.com>
100 Cesar Philippidis <cesar@codesourcery.com>
102 * config/tc-nios2.c (nios2_min_align): New.
103 (nop): Replace with....
104 (nop_r1, nop_r2, nop_r2_cdx, nop32, nop16): New.
105 (nios2_align): Handle alignment on 2-byte boundaries when CDX
106 instructions may be present.
107 (s_nios2_align): Adjust reference to nop.
108 (CDXBRANCH, IS_CDXBRANCH): New.
109 (CDX_UBRANCH_SUBTYPE, CDX_CBRANCH_SUBTYPE): New.
110 (nios2_relax_subtype_size): Handle 2-byte CDX branches.
111 (nios2_relax_frag): Likewise.
112 (md_convert_frag): Handle R2 encodings.
113 (nios2_check_overflow): Check that low-order bits are zero
114 before applying rightshift from howto.
115 (nios2_check_overflow): Correct negative overflow calculation.
116 (nios2_diagnose_overflow): Handle signed_immed12_overflow. Issue
117 generic overflow messages for miscellaneous instruction formats.
118 (md_apply_fix): Recognize new R2 relocations. For pc_relative
119 relocations, store fixup in *valP.
120 (nios2_reglist_mask, nios2_reglist_dir): New.
121 (nios2_parse_reglist): New.
122 (nios2_parse_base_register): New.
123 (nios2_assemble_expression): Handle constant expressions designated
125 (nios2_assemble_reg3): New.
126 (nios2_assemble_arg_c): Handle R2 instruction formats.
127 (nios2_assemble_arg_d): Likewise.
128 (nios2_assemble_arg_s): Likewise.
129 (nios2_assemble_arg_t): Likewise.
130 (nios2_assemble_arg_D): New.
131 (nios2_assemble_arg_S): New.
132 (nios2_assemble_arg_T): New.
133 (nios2_assemble_arg_i): Handle R2 instruction formats.
134 (nios2_assemble_arg_I): New.
135 (nios2_assemble_arg_u): Handle R2 instruction formats.
136 (nios2_assemble_arg_U): New.
137 (nios2_assemble_arg_V): New.
138 (nios2_assemble_arg_W): New.
139 (nios2_assemble_arg_X): New.
140 (nios2_assemble_arg_Y): New.
141 (nios2_assemble_arg_o): Handle R2 instruction formats.
142 (nios2_assemble_arg_O): New.
143 (nios2_assemble_arg_P): New.
144 (nios2_assemble_arg_j): Handle R2 instruction formats.
145 (nios2_assemble_arg_k): New.
146 (nios2_assemble_arg_l): Handle R2 instruction formats.
147 (nios2_assemble_arg_m): Likewise.
148 (nios2_assemble_arg_M): New.
149 (nios2_assemble_arg_N): New.
150 (nios2_assemble_arg_e): New.
151 (nios2_assemble_arg_f): New.
152 (nios2_assemble_arg_g): New.
153 (nios2_assemble_arg_h): New.
154 (nios2_assemble_arg_R): New.
155 (nios2_assemble_arg_B): New.
156 (nios2_assemble_args): Handle new argument letters.
157 (nios2_consume_arg): Likewise.
158 (nios2_translate_pseudo_insn): Avoid dereferencing null pointer
160 (nios2_ps_insn_info_structs): Add nop.n.
161 (output_ubranch): Handle CDX branches.
162 (output_cbranch): Likewise.
163 (output_call): Handle R2 encodings.
164 (output_movia): Likewise.
165 (md_begin): Initialize nios2_min_align.
166 (md_assemble): Align to nios2_min_align. Adjust nios2_min_align
167 if a 16-bit instruction is seen.
168 (nios2_cons_align): Use appropriate nop pattern.
170 2015-07-01 Sandra Loosemore <sandra@codesourcery.com>
171 Cesar Philippidis <cesar@codesourcery.com>
173 * config/tc-nios2.c: Adjust includes.
174 (OPTION_MARCH): Define.
175 (md_longopts): Add -march option.
176 (nios2_architecture): New.
177 (nios2_use_arch): New.
178 (md_parse_option): Handle OPTION_MARCH.
179 (md_show_usage): Document -march.
180 (md_begin): Set arch in BFD.
181 (nios2_elf_final_processing): New.
182 * config/tc-nios2.h (elf_tc_final_processing): Define.
183 (nios2_elf_final_processing): New.
184 * doc/c-nios2.texi (-march): Add documentation.
186 2015-06-30 Amit Pawar <Amit.Pawar@amd.com>
188 * config/tc-i386.c (cpu_arch): Add .mwaitx.
189 (process_immext): Check operands for monitorx/mwaitx instructions.
190 * doc/c-i386.texi: Document mwaitx.
192 2015-06-28 H.J. Lu <hongjiu.lu@intel.com>
194 * as.c (parse_args): Replace COMPRESS_DEBUG_ZLIB with
195 COMPRESS_DEBUG_GNU_ZLIB.
196 * config/tc-i386.c (flag_compress_debug): Likewise.
198 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
200 * doc/as.texinfo (.cfi_lsda): Remove the extra @section.
202 2015-06-19 Peter Bergner <bergner@vnet.ibm.com>
204 * config/tc-ppc.c (md_assemble): Use ppc_optional_operand_value.
205 Allow for optional operands without insert functions.
207 2015-06-18 Nick Clifton <nickc@redhat.com>
210 * config/tc-arm.c (md_apply_fix): Add support for ADR in thumb
211 mode against a nearby symbol.
213 2015-06-18 Nick Clifton <nickc@redhat.com>
216 * config/tc-arm.c (tc_gen_reloc): Include BFD_RELOC_ARM_TLS_LE32
217 in the same case as BFD_RELOC_ARM_TLS_IS32.
219 2015-06-17 Nick Clifton <nickc@redhat.com>
221 * config/tc-arm.c (is_double_a_single): Make conditional upon the
222 availablity of a 64-bit type. Use this type for the argument and
224 (double_to_single): Likewise.
225 * config/tc-arm.c (move_or_literal_pool): Use a 64-bit type for
226 the constant value, if available. Generate a 64-bit value from a
227 bignum if supported. Only perform the second optimization for
228 PR 18500 if the 64-bit type is available.
230 2015-06-17 Alessandro Marzocchi <alessandro.marzocchi@gmail.com>
233 * config/tc-arm.c (is_double_a_single): New function.
234 (double_to_single): New function.
235 (move_or_literal_pool): Add support for converting VLDR to VMOV.
238 * config/tc-arm.c (move_or_literal_pool): Add support for LDR Rx,=
239 to MOV.w or MVN.w for Thumb2.
241 2015-06-17 Nicolas Pitre <nico@linaro.org>
243 * as.c (show_usage): Document --sectname-subst.
244 (parse_args): Add --sectname-subst.
245 * as.h (flag_sectname_subst): New.
246 * config/obj-elf.c (obj_elf_section_name): Add %S substitution.
247 * doc/as.texinfo: Document it.
249 2015-06-15 Renlin Li <renlin.li@arm.com>
251 * config/tc-aarch64.c (reloc_table): New relocation modifier.
252 (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTOFF_LO15.
253 (aarch64_force_relocation): Ditto
255 2015-06-13 Mark Wielaard <mjw@redhat.com>
257 * dwarf2dbg.c (out_header): Document EXPR->X_add_number value,
258 out_debug_aranges depends on it.
259 (out_debug_aranges): Track size of header to properly pad header
260 for address alignment.
262 2015-06-11 John David Anglin <danglin@gcc.gnu.org>
265 * gas/config/tc-hppa.c (last_label_symbol): Declare.
266 (pa_get_label): Return last label in current space/segment or NULL.
267 (pa_define_label): Record last label and add to root.
268 (pa_undefine_label): Remove last label from root.
270 2015-06-08 Nick Clifton <nickc@redhat.com>
272 * config/tc-rx.c (rx_op): Correct handling of integer bignums.
274 2015-06-04 Matthew Wahab <matthew.wahab@arm.com>
276 * NEWS: Mention ARMv8.1 support in the Aarch64 port.
277 * config/tc-aarch64.c (aarch64_arch_option_table): Add "armv8.1-a".
278 * doc/c-aarch64.texi (-march): Add "armv8.1-a".
280 2015-06-04 Renlin Li <renlin.li@arm.com>
282 * config/tc-arm.c (arm_init_frag): Use frag's thumb_mode information
285 2015-06-04 Nick Clifton <nickc@redhat.com>
287 * config/tc-h8300.c (md_section_align): Fix compile time warning
288 about left shifting a negative value.
290 2015-06-03 Matthew Wahab <matthew.wahab@arm.com>
292 * config/tc-arm.c (arm_archs): Add "armv8.1-a".
293 * doc/c-arm.texi (ARM Options, -march): Add "armv8.1-a".
294 * NEWS: Mention ARMv8.1 support.
296 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
298 * config/tc-arm.c (arm_ext_pan): New.
299 (do_setpan): New, encode an ARM SETPAN instruction.
300 (do_t_setpan): New, encode a Thumb SETPAN instruction.
301 (insns): Add "setpan".
302 (arm_extensions): Add "pan".
303 * doc/c-arm.texi (ARM Options): Add "pan" to list of -mcpu processor
306 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
308 * config/tc-aarch64.c (aarch64_features): Add "rdma".
309 * doc/c-aarch64.texi (AArch64 Extensions): Add "rdma".
311 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
313 * config/tc-aarch64.c (aarch64_features): Add "lor".
314 * doc/c-aarch64.c (Aarch64 Extensions): Add "lor" to list of
315 architecture extensions.
317 2015-06-01 Matthew Wahab <matthew.wahab@arm.com>
319 * config/tc-aarch64.c (parse_sys_reg): New parameter. Check target
320 support. Fix whitespace.
321 (parse_operands): Update for parse_sys_reg changes.
322 (aarch64_features): Add "pan".
323 * doc/c-aarch64.texi (Aarch64 Extensions): Add "pan".
325 2015-06-01 Jiong Wang <jiong.wang@arm.com>
327 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
328 (md_apply_fix): Support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
329 (aarch64_force_relocation): Ditto.
331 2015-06-01 Jiong Wang <jiong.wang@arm.com>
333 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
334 (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
335 (aarch64_force_relocation): Ditto.
337 2015-05-28 Catherine Moore <clm@codesourcery.com>
338 Bernd Schmidt <bernds@codesourcery.com>
339 Paul Brook <paul@codesourcery.com>
342 * config/tc-alpha.c (all_cfi_sections): Declare.
343 (s_alpha_ent): Initialize all_cfi_sections.
344 (alpha_elf_md_end): Invoke cfi_set_sections.
345 * config/tc-mips.c (md_apply_fix): Handle BFD_RELOC_NONE.
346 (s_ehword): Use BFD_RELOC_32_PCREL.
347 (mips_fix_adjustable): Handle BFD_RELOC_32_PCREL.
348 (mips_cfi_reloc_for_encoding): New function.
349 * tc-mips.h (DWARF2_FDE_RELOC_SIZE): Redefine.
350 (DWARF2_FDE_RELOC_ENCODING): Define.
351 (tc_cfi_reloc_for_encoding): Define.
352 (mips_cfi_reloc_for_encoding): Define.
353 (tc_compact_eh_opcode_stop): Define.
354 (tc_compact_eh_opcode_pad): Define.
355 * doc/as.texinfo: Document Compact EH extensions.
356 * doc/internals.texi: Likewise.
357 * dw2gencfi.c (EH_FRAME_LINKONCE): Redefine.
358 (tc_cfi_reloc_for_encoding): Provide default.
359 (compact_eh): Declare.
360 (emit_expr_encoded): New function.
361 (get_debugseg_name): Add Compact EH support.
362 (alloc_debugseg_item): Likewise.
363 (cfi_set_sections): New function.
364 (dot_cfi_fde_data): New function.
365 (dot_cfi_personality_id): New function.
366 (dot_cfi_inline_lsda): New function.
367 (cfi_pseudo_table): Add cfi_fde_data, cfi_personality_id,
369 (dot_cfi_personality): Add Compact EH support.
370 (dot_cfi_lsda): Likewise.
371 (dot_cfi_sections): Likewise.
372 (dot_cfi_startproc): Likewise.
373 (get_cfi_seg): Likewise.
374 (output_compact_unwind_data): New function.
375 (output_cfi_insn): Add Compact EH support.
376 (output_cie): Likewise.
377 (output_fde): Likewise.
378 (cfi_finish): Likewise.
379 (cfi_emit_eh_header): New function.
380 (output_eh_header): New function.
381 * dw2gencfi.h (cfi_set_sections): Declare.
382 (SUPPORT_COMPACT_EH): Define.
383 (MULTIPLE_FRAME_SECTIONS): Define.
384 New enumeration to describe the Compact EH header format.
385 (fde_entry): Add new fields personality_id, eh_header_type, eh_data_size,
386 eh_data, eh_loc and sections.
387 (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame, CFI_EMIT_target,
388 CFI_EMIT_eh_frame_compact): Define.
390 2015-05-26 Max Filippov <jcmvbkbc@gmail.com>
392 * config/tc-xtensa.c (xtensa_move_literals): Check that
393 search_frag is non-NULL. Report error if literal frag is not
396 2015-05-22 Nick Clifton <nickc@redhat.com>
399 * read.c (output_big_sleb128): Use U suffix to prevent compile
402 2015-05-19 Jiong Wang <jiong.wang@arm.com>
404 * config/tc-aarch64.c (process_movw_reloc_info): Sort relocation case
405 labels alphabetically.
406 (md_apply_fix): Ditto.
407 (aarch64_force_relocation): Ditto.
409 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
412 * config/tc-i386.c (OPTION_MAMD64): New.
413 (OPTION_MINTEL64): Likewise.
414 (md_longopts): Add -mamd64 and -mintel64.
415 (md_parse_option): Handle OPTION_MAMD64 and OPTION_MINTEL64.
416 (md_show_usage): Add -mamd64 and -mintel64.
417 * doc/c-i386.texi: Document -mamd64 and -mintel64.
419 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
421 * config/tc-i386.c (shared): New.
422 (OPTION_MSHARED): Likewise.
423 (elf_symbol_resolved_in_segment_p): Add relocation argument.
424 Check PLT relocations and shared.
425 (md_estimate_size_before_relax): Pass fragP->fr_var to
426 elf_symbol_resolved_in_segment_p.
427 (md_longopts): Add -mshared.
428 (md_show_usage): Likewise.
429 (md_parse_option): Handle OPTION_MSHARED.
430 * doc/c-i386.texi: Document -mshared.
432 2015-05-14 H.J. Lu <hongjiu.lu@intel.com>
434 * write.c (compress_debug): Don't write the zlib header, which
435 is handled by bfd_update_compression_header.
437 2015-05-13 Max Filippov <jcmvbkbc@gmail.com>
439 * config/tc-xtensa.c (xtensa_relax_frag): Allow trampoline to be
440 closer than J_RANGE / 2 to jump frag.
442 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
444 * configure.tgt (arch): Set to iamcu for i386-*-elfiamcu target.
445 * config/tc-i386.c (i386_mach): Support iamcu.
446 (i386_target_format): Likewise.
448 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
450 * config/tc-i386.c (cpu_arch): Add iamcu.
451 (i386_align_code): Handle PROCESSOR_IAMCU.
452 (i386_arch): Likewise.
453 (i386_mach): Likewise.
454 (i386_target_format): Likewise.
455 (valid_iamcu_cpu_flags): New function.
456 (check_cpu_arch_compatible): Only allow Intel MCU instructions
457 when targeting Intel MCU.
458 (set_cpu_arch): Call valid_iamcu_cpu_flags to check if CPU flags
459 are valid for Intel MCU.
460 (md_parse_option): Likewise.
461 * tc-i386.h (ELF_TARGET_IAMCU_FORMAT): New.
462 (processor_type): Add PROCESSOR_IAMCU.
463 * doc/c-i386.texi: Document iamcu.
465 2015-05-08 Nick Clifton <nickc@redhat.com>
468 * config/tc-arm.h (TC_EQUAL_IN_INSN): Define.
469 * config/tc-arm.c (arm_tc_equal_in_insn): New function. Move
470 the symbol name checking code to here from...
471 (md_undefined_symbo): ... here.
473 2015-05-07 H.J. Lu <hongjiu.lu@intel.com>
475 * config/tc-i386.c (elf_symbol_resolved_in_segment_p): New.
476 (md_estimate_size_before_relax): Use it.
478 2015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
480 * config/tc-sparc.c: Typo in comment fixed.
482 2015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
484 * config/tc-sparc.c (sparc_ip): Support the %ncc "natural"
486 * doc/c-sparc.texi (Sparc-Regs): Document %ncc.
488 2015-05-06 Nick Clifton <nickc@redhat.com>
490 * doc/as.texinfo (Dollar Local Labels): Note that these are only
491 supported on some targets.
493 2015-05-06 Renlin Li <renlin.li@arm.com>
495 * config/tc-aarch64.c (mapping_state): Recording alignment before exit.
497 2015-05-05 Renlin Li <renlin.li@arm.com>
499 * config/tc-aarch64.c (aarch64_init_frag): Always generate mapping
502 2015-05-05 Nick Clifton <nickc@redhat.com>
504 * config/tc-msp430.c (MAX_OP_LEN): Increase to 4096.
505 (msp430_make_init_symbols): New function.
506 (msp430_section): Call it.
507 (msp430_frob_section): Likewise.
509 2015-05-02 Max Filippov <jcmvbkbc@gmail.com>
511 * config/tc-xtensa.c (cached_fixupS, fixup_cacheS): New typedefs.
512 (struct cached_fixup, struct fixup_cache): New structures.
513 (fixup_order, xtensa_make_cached_fixup),
514 (xtensa_realloc_fixup_cache, xtensa_cache_relaxable_fixups),
515 (xtensa_find_first_cached_fixup, xtensa_delete_cached_fixup),
516 (xtensa_add_cached_fixup): New functions.
517 (xtensa_relax_frag): Cache fixups pointing at potentially
518 oversized jumps at the beginning of every relaxation pass. Only
519 check subset of this cache in the reach of single jump from the
520 trampoline frag currently being relaxed.
522 2015-05-01 Nick Clifton <nickc@redhat.com>
524 * config/rl78-parse.y (MULU): Remove ISA_G14.
525 (MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings.
527 2015-05-01 H.J. Lu <hongjiu.lu@intel.com>
529 * config/tc-i386.c (i386_elf_emit_arch_note): Removed.
530 * config/tc-i386.h (md_end): Likewise.
531 (i386_elf_emit_arch_note): Likewise.
533 2015-05-01 H.J. Lu <hongjiu.lu@intel.com>
535 * configure.tgt: Support i386-*-elf*.
537 2015-04-30 DJ Delorie <dj@redhat.com>
539 * config/rl78-defs.h (rl78_isa_g10): New.
542 * config/rl78-parse.y (ISA_G10): New.
545 (MULHU, MULH, MULU, DIVHU, DIVWU, MACHU, MACH): Use them.
546 * config/tc-rl78.c (rl78_isa_g10): New.
550 2015-04-30 H.J. Lu <hongjiu.lu@intel.com>
552 * config/tc-i386.c (i386_target_format): Use "else if" on
555 2015-04-30 Nick Clifton <nickc@redhat.com>
558 * config/tc-arm.c (md_undefined_symbol): Issue a warning message
559 (if enabled) when the user creates a symbol with the same name as
561 (flag_warn_syms): New static variable.
562 (arm_opts): Add mwarn-syms and mno-warn-syms.
563 * doc/c-arm.texi (ARM Options): Document the -m[no-]warn-syms
567 * doc/as.texinfo (Zero): Add documentation of the .zero pseudo-op.
569 2015-04-29 Nick Clifton <nickc@redhat.com>
572 * config/tc-arm.c (encode_arm_cp_address): Issue an error message
573 if the operand is neither a register nor a vector.
575 2015-04-29 Nick Clifton <nickc@redhat.com>
577 * doc/as.texinfo (Set): Note that a symbol cannot be set multiple
578 times if the expression is not constant and the target uses linker
581 2015-04-28 Renlin Li <renlin.li@arm.com>
583 * config/tc-arm.c (arm_init_frag): Always emit mapping symbols.
585 2015-04-28 Nick Clifton <nickc@redhat.com>
588 * cond.c (s_if): Stop compile time warning about stopc being used
592 2015-04-27 Renlin Li <renlin.li@arm.com>
594 * config/tc-aarch64.c (s_aarch64_inst): Don't align code for non-text
596 (md_assemble): Likewise, move the align code outside the loop.
598 2015-04-24 Jim Wilson <jim.wilson@linaro.org>
600 * config/tc-aarch64.c (aarch64_cpus): Add CRC and CRYPTO features
603 2015-04-24 Richard Earnshaw <rearnsha@arm.com>
605 * config/tc-arm.h (arm_min): New function.
606 (SUB_SEGMENT_ALIGN): Define.
608 2015-04-23 Matthew Fortune <matthew.fortune@imgtec.com>
610 * config/tc-mips.c (macro): State the recommended way of creating
611 32-bit or 64-bit addresses.
613 2015-04-23 Jan Beulich <jbeulich@suse.com>
615 * config/tc-i386.c (match_mem_size): Also allow no size
616 specification when broadcasting.
618 2015-04-20 H.J. Lu <hongjiu.lu@intel.com>
620 * doc/as.texinfo (Bundle directives): Shorten menu entry and
622 (CFI directives): Use @subsection.
623 (SH-Dependent, SH64-Dependent): Moved after SCORE-Dependent.
624 * doc/c-i386.texi (i386-Mnemonics): Use @subsection.
626 2015-04-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
628 * config/tc-avr.c (create_record_for_frag): Rename link to
631 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
634 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
636 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
638 * as.h (compressed_debug_section_type): Removed.
640 2015-04-14 Nick Clifton <nickc@redhat.com>
642 * config/tc-rl78.h (TC_LINKRELAX_FIXUP): Define.
643 (TC_FORCE_RELOCATION_SUB_SAME): Define.
644 (DWARF2_USE_FIXED_ADVANCE_PC): Define.
646 2015-04-10 Nick Clifton <nickc@redhat.com>
649 * doc/c-arm.texi (ARM Options): Add a note about the interaction of
650 the -EB option with the linker's --be8 option.
652 2015-04-09 Hans-Peter Nilsson <hp@axis.com>
654 * doc/c-rx.texi: Fix markup typos in last change.
656 2015-04-09 Nick Clifton <nickc@redhat.com>
658 * config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS.
659 (md_longopts): Add -mno-allow-string-insns.
660 (md_parse_option): Handle -mno-allow-string-insns.
661 (md_show_usage): Mention -mno-allow-string-insns.
662 (rx_note_string_insn_use): New function. Produces an error
663 message if a string insn is used when it is not allowed.
664 * config/rx-parse.y (SCMPU): Call rx_note_string_insn_use.
665 (SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise.
666 * config/rx-defs.h (rx_note_string_insn_use): Prototype.
667 * doc/c-rx.texi: Document -mno-allow-string-insns.
669 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
671 * as.c (show_usage): Update --compress-debug-sections.
672 (std_longopts): Use optional_argument on compress-debug-sections.
674 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
675 * as.h (compressed_debug_section_type): New.
676 (flag_compress_debug): Change type to compressed_debug_section_type.
677 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
678 * write.c (compress_debug): Set BFD_COMPRESS_GABI for
679 --compress-debug-sections=zlib-gabi. Call
680 bfd_get_compression_header_size to get compression header size.
681 Don't rename section name for --compress-debug-sections=zlib-gabi.
682 * config/tc-i386.c (compressed_debug_section_type): Set to
684 * doc/as.texinfo: Document
685 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
687 2015-04-07 Renlin Li <renlin.li@arm.com>
689 * config/tc-aarch64.c (mapping_state): Use subseg_text_p.
690 (s_aarch64_inst): Likewise.
691 (md_assemble): Likewise.
693 2015-04-06 H.J. Lu <hongjiu.lu@intel.com>
695 * write.c (compress_debug): Use bfd_putb64 to write uncompressed
698 2015-04-05 H.J. Lu <hongjiu.lu@intel.com>
700 * write.c (compress_debug): Don't write the zlib header if
701 compressed section size is the same as before compression.
703 2015-04-02 Nick Clifton <nickc@redhat.com>
706 * config/tc-microblaze.c (parse_imm): Use offsetT as the type for
707 min and max parameters. Sign extend values before testing.
709 2015-04-02 Renlin Li <renlin.li@arm.com>
711 * config/tc-aarch64.c (mapping_state): Emit MAP_DATA within text section in order.
712 (mapping_state_2): Don't emit MAP_DATA here.
713 (s_aarch64_inst): Align frag during state transition.
714 (md_assemble): Likewise.
716 2015-04-02 Ed Maste <emaste@freebsd.org>
718 * config/tc-aarch64.c (set_error_kind): Delete.
719 (set_error_message): Delete.
721 2015-04-02 H.J. Lu <hongjiu.lu@intel.com>
723 * configure: Regenerated.
725 2015-04-01 Evandro Menezes <e.menezes@samsung.com>
727 * config/tc-aarch64.c: Add support for Samsung Exynos M1.
728 * doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
730 2015-04-01 Evandro Menezes <e.menezes@samsung.com>
732 * config/tc-arm.c: Add support for Samsung Exynos M1.
733 * doc/c-arm.texi (-mcpu=): Add "exynos-m1".
735 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
737 * configure: Regenerated.
739 2015-03-31 Ed Schouten <ed@nuxi.nl>
741 * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
743 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
745 * configure.ac: Revert the AM_ZLIB change.
746 * Makefile.in: Regenerated.
747 * aclocal.m4: Likewise.
748 * configure: Likewise.
750 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
752 * Makefile.am (ZLIBINC): New.
753 (AM_CFLAGS): Add $(ZLIBINC).
754 * as.c: (show_usage): Don't check HAVE_ZLIB_H.
755 (parse_args): Likewise.
756 * compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
757 (compress_init): Don't check HAVE_ZLIB_H.
758 (compress_data): Likewise.
759 (compress_finish): Likewise.
760 * configure.ac (AM_ZLIB): Removed.
761 (zlibinc): New. AC_SUBST.
762 Add --with-system-zlib.
763 * Makefile.in: Regenerated.
764 * config.in: Likewise.
765 * configure: Likewise.
766 * doc/Makefile.in: Likewise.
768 2015-03-27 H.J. Lu <hongjiu.lu@intel.com>
770 * config/tc-i386.c (cpu_flags_set): Removed.
772 2015-03-25 Renlin Li <renlin.li@arm.com>
774 * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
776 (mapping_state_2): Emit first MAP_DATA symbol here.
778 2015-03-24 H.J. Lu <hongjiu.lu@intel.com>
781 * write.c (compress_debug): Don't write the zlib header if
782 compression didn't make the section smaller.
784 2015-03-24 Terry Guo <terry.guo@arm.com>
786 * config/tc-arm.c (no_cpu_selected): Use new macro to compare
788 (parse_psr): Likewise.
789 (do_t_mrs): Likewise.
790 (do_t_msr): Likewise.
791 (static const arm_feature_set arm_ext_*): Defined with new macros.
792 (static const arm_feature_set arm_cext_*): Likewise.
793 (static const arm_feature_set fpu_fpa_ext_*): Likewise.
794 (static const arm_feature_set fpu_vfp_ext_*): Likewise.
795 (deprecated_coproc_regs): Likewise.
796 (UL_BARRIER): Likewise.
797 (barrier_opt_names): Likewise.
798 (arm_cpus): Likewise.
799 (arm_extensions): Likewise.
801 2015-03-20 H.J. Lu <hongjiu.lu@intel.com>
803 * config/tc-i386.c (i386_align_code): Limit multi-byte nop
804 instructions to 10 bytes.
806 2015-03-19 Nick Clifton <nickc@redhat.com>
808 * config/tc-rl78.c (enum options): Add G13 and G14.
809 (md_longopts): Add -mg13 and -mg14.
810 (md_parse_option): Handle -mg13 and -mg14.
811 (md_show_usage): List -mg13 and -mg14.
812 * doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
814 2015-03-18 Jon Turney <jon.turney@dronecode.org.uk>
815 Nick Clifton <nickc@redhat.com>
818 * doc/as.texinfo: Note that when gas compresses debug sections the
819 compression is only performed if it makes the section smaller.
820 * write.c (compress_debug): Do not compress a debug section if
821 doing so would make it larger.
823 2015-03-17 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
825 * config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
826 (i386_align_code): Add PROCESSOR_ZNVER cases.
827 * config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
828 * doc/c-i386.texi: Add znver1 and clzero.
830 2015-03-16 Nick Clifton <nickc@redhat.com>
832 * dwarf2dbg.c (out_header): Remove spurious #if 1.
834 2015-03-13 Jiong Wang <jiong.wang@arm.com>
836 * config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
839 2015-03-13 Jiong Wang <jiong.wang@arm.com>
841 * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
843 2015-03-12 Andrew Bennett <andrew.bennett@imgtec.com>
845 * config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
846 * doc/c-mips.texi: Document i6400 -march option.
848 2015-03-12 Nick Clifton <nickc@redhat.com>
851 * config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
852 to arm_apply_sym_value. Update prototype.
853 * config/tc-arm.c (arm_apply_sym_value): Add segment argument.
854 Do not apply the value if the symbol is in a different segment to
857 2015-03-11 Alan Modra <amodra@gmail.com>
859 * config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
860 (md_apply_fix): Report an error on data-only fixups used with insns.
862 2015-03-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
864 * config/tc-s390.c (md_gather_operands): Check for valid
865 length field operands.
867 2015-03-10 Michael Perkins <perkinsmg75@yahoo.co.uk>
869 * config/tc-arm.c (parse_operands): Fix bug setting writeback
870 values for '^' on OP_REGLSTs.
871 (do_push_pop): Add new writeback constraint.
873 2015-03-10 Renlin Li <renlin.li@arm.com>
875 * config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
876 (mapping_state_2): Emit first MAP_DATA symbol here.
878 2015-03-10 Matthew Wahab <matthew.wahab@arm.com>
880 * config/tc-aarch64.c (mapping_state): Set minimum alignment for
883 2015-03-10 Nick Clifton <nickc@redhat.com>
886 * config/tc-arm.c (md_begin): Ensure that selected_cpu is
887 initialised when CPU_DEFAULT is defined.
889 2015-03-05 Nick Clifton <nickc@redhat.com>
891 * config/tc-v850.c (md_parse_option): Fix code to set or clear
892 EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
893 -m8byte-align and -m4byte-align command line options.
895 2015-03-04 Richard Sandiford <richard.sandiford@arm.com>
898 * config/tc-aarch64.c (process_movw_reloc_info): Allow
899 R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
902 2015-02-28 Alan Modra <amodra@gmail.com>
904 * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
905 end to their alignment.
907 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
909 * config/tc-aarch64.c (reloc_table_entry): Generate
910 BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
911 (md_apply_fix, aarch64_force_relocation): Handle
912 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
914 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
916 * config/tc-aarch64.c (reloc_table_entry): Generate
917 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
918 (md_apply_fix, aarch64_force_relocation): Handle
919 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
921 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
923 * config/tc-aarch64.c (reloc_table_entry): Generate
924 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
925 (md_apply_fix, aarch64_force_relocation): Handle
926 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
928 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
930 * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
931 (reloc_table): Likewise.
932 (parse_address_main): Use ld_literal_type.
934 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
936 * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
937 (reloc_table): Likewise.
938 (parse_address_main): Use adr_type.
940 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
942 * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
944 2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
946 * config/tc-avr.c: Add elf32-avr.h include.
947 (struct avr_property_record_link): New structure.
948 (avr_output_property_section_header): New function.
949 (avr_record_size): New function.
950 (avr_output_property_record): New function.
951 (avr_create_property_section): New function.
952 (avr_handle_align): New function.
953 (exclude_section_from_property_tables): New function.
954 (create_record_for_frag): New function.
955 (append_records_for_section): New function.
956 (avr_create_and_fill_property_section): New function.
957 (avr_post_relax_hook): New function.
958 * config/tc-avr.h (md_post_relax_hook): Define.
959 (avr_post_relax_hook): Declare.
960 (HANDLE_ALIGN): Define.
961 (avr_handle_align): Declare.
962 (strut avr_frag_data): New structure.
963 (TC_FRAG_TYPE): Define.
965 2015-02-25 Matthew Wahab <matthew.wahab@arm.com>
967 * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
970 2015-02-24 Nick Clifton <nickc@redhat.com>
972 * config/tc-v850.c (soft_float): New variable.
973 (v850_data_8): New variable.
974 (md_show_usage): Add -msoft-float/-mhard-float.
975 (md_parse_option): Likewise.
976 (md_begin): Set the default value of soft_float.
977 (v850_md_end): New function. Creates a note section.
978 * config/tc-v850.h (md_end): Define.
979 * doc/c-v850.texi: Document -msoft-float/-mhard-float.
981 2015-02-23 Yoshinori Sato <ysato@users.sourceforge.jp>
983 * config/tc-h8300.c (line_separater_chars): Add a version for
984 h8300-linux that includes a separator.
985 (default_mach): New variable.
987 (md_longopts): Add '--march' option.
988 (md_parse_option): Parse the new option.
989 * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
990 * configure.tgt: Add h8300-*-linux
991 * doc/c-h8300.texi: Document --march.
993 2015-02-23 Nick Clifton <nickc@redhat.com>
996 * dwarf2dbg.c (out_header): When generating dwarf sections use
997 real symbols not temps for the start and end symbols.
998 * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
999 adjustments to relocations in debug sections.
1000 (TC_LINKRELAX_FIXUP): Likewise.
1002 2015-02-19 Alan Modra <amodra@gmail.com>
1004 * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
1005 * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
1007 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
1009 * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
1011 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
1013 * config/tc-arm.c: Add support for Cortex-A72.
1015 2015-02-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1017 * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
1018 of as_warn for deprecation messages.
1019 (encode_arm_addr_mode_2): Likewise.
1020 (check_obsolete): Likewise.
1021 (do_rd_rm_rn): Likewise.
1022 (do_co_reg): Likewise.
1023 (do_setend): Likewise.
1024 (do_t_mov_cmp): Likewise.
1025 (do_neon_ldr_str): Likewise.
1026 (opcode_lookup): Likewise.
1027 (if_fsm_post_encode): Likewise.
1028 (md_assemble): Likewise.
1030 2015-02-06 Jan Beulich <jbeulich@suse.com>
1032 * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
1033 (cfi_change_reg_numbers): Also do nothing for CFI_label.
1034 (cfi_pseudo_table): Also handle .cfi_label when not supporting
1037 2015-02-05 Alan Modra <amodra@gmail.com>
1039 * config/tc-msp430.c (md_assemble): Correct size passed to
1040 extract_cmd. Remove index check.
1042 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
1044 * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
1045 * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
1047 2015-02-04 Nick Clifton <nickc@redhat.com>
1049 * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
1052 2015-02-03 Renlin Li <renlin.li@arm.com>
1054 * doc/c-aarch64.texi (.arch): Document the directive.
1055 (.arch_extension): Likewise.
1057 2015-02-03 Nick Clifton <nickc@redhat.com>
1059 * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
1061 2015-01-28 James Bowman <james.bowman@ftdichip.com>
1063 * Makefile.am: Add FT32 files.
1064 * config/tc-ft32.c: New file.
1065 * config/tc-ft32.h: New file.
1066 * configure.tgt: Add FT32 support.
1067 * Makefile.in: Regenerate.
1068 * po/POTFILES.in: Regenerate.
1070 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
1072 * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
1073 of instruction la to a symbol.
1075 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
1077 * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
1080 2015-01-19 Alan Modra <amodra@gmail.com>
1082 * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
1083 * write.c (get_frag_for_reloc): Allow match just past end of frag.
1085 2015-01-16 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1087 * config/tc-s390.c (struct pd_reg): Remove.
1088 (pre_defined_registers): Remove.
1089 (REG_NAME_CNT): Remove.
1090 (reg_name_search): Calculate the register number instead of doing
1092 (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
1093 reg_name_search signature.
1094 (s390_parse_cpu): Support the new arch string z13.
1095 (s390_insert_operand): Support for vector registers with the extra
1096 field for the fifth bit of each vector register operand.
1097 (md_gather_operand): Adjust to the new handling of optional
1100 * doc/as.texinfo: Document the z13 cpu string.
1102 2015-01-13 Matthew Wahab <matthew.wahab@arm.com>
1104 * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
1105 #0, restoring previous behaviour.
1107 2015-01-12 Jan Beulich <jbeulich@suse.com>
1109 * gas/dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
1110 (cfi_pseudo_table): Add "cfi_label".
1111 (output_cfi_insn): Handle CFI_label.
1112 (select_cie_for_fde): Als terminate CIE when encountering
1114 * dw2gencfi.h (cfi_add_label): Declare.
1115 (struct cfi_insn_data): New member "sym_name".
1117 * read.c (read_symbol_name): Drop "static".
1118 * read.h (read_symbol_name): Declare.
1120 2015-01-12 Jan Beulich <jbeulich@suse.com>
1122 * gas/config/tc-arm.c (do_neon_shl_imm): Check immediate range.
1123 (do_neon_qshl_imm): Likewise.
1125 2015-01-12 Alan Modra <amodra@gmail.com>
1127 * read.c (s_altmacro, s_reloc): Make definition static.
1129 2015-01-10 Andrew Burgess <andrew.burgess@embecosm.com>
1131 * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
1134 2015-01-09 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1136 * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
1138 * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
1140 2015-01-07 Jan Beulich <jbeulich@suse.com>
1142 * config/tc-arm.c (struct arm_option_extension_value_table):
1143 Split field "value" into fields "merge_value" and "clear_value".
1144 (arm_extensions): Adjust initializer accordingly.
1146 2015-01-01 Alan Modra <amodra@gmail.com>
1148 * as.c (parse_args): Just print current year.
1150 2015-01-01 Alan Modra <amodra@gmail.com>
1152 Update year range in copyright notice of all files.
1154 For older changes see ChangeLog-2014
1156 Copyright (C) 2015 Free Software Foundation, Inc.
1158 Copying and distribution of this file, with or without modification,
1159 are permitted in any medium without royalty provided the copyright
1160 notice and this notice are preserved.
1166 version-control: never