1 2015-07-15 H.J. Lu <hongjiu.lu@intel.com>
3 * config/tc-i386.c (flag_compress_debug): Replace
4 COMPRESS_DEBUG_GNU_ZLIB with COMPRESS_DEBUG_GABI_ZLIB.
6 2015-07-14 H.J. Lu <hongjiu.lu@intel.com>
8 * as.c (parse_args): Make --compress-debug-sections and
9 --compress-debug-sections=zlib the same as
10 --compress-debug-sections=zlib-gabi.
11 * doc/as.texinfo: Change --compress-debug-sections and
12 --compress-debug-sections=zlib to zlib-gabi.
14 2015-07-09 Catherine Moore <clm@codesourcery.com>
16 * config/tc-mips.c (check_fpabi): Handle
17 VAL_GNU_MIPS_ABI_FP_NAN2008.
19 2015-07-08 Ciro Santilli <ciro.santilli@gmail.com>
21 * doc/as.texinfo: Clarify case requirements for pseudo ops.
23 2015-07-08 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
25 * config/tc-avr.c (tc_gen_reloc): Change 32 bit relocation to
26 32 bit PC relative and update offset if the fixup is pc-relative.
27 * config/tc-avr.h (DIFF_EXPR_OK): Define to enable PC relative diff
30 2015-07-03 Alan Modra <amodra@gmail.com>
32 * config/tc-ppc.c (md_show_usage): Add -m821, -m850, -m860.
33 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
35 2015-07-01 Sandra Loosemore <sandra@codesourcery.com>
36 Cesar Philippidis <cesar@codesourcery.com>
38 * config/tc-nios2.c (nios2_min_align): New.
39 (nop): Replace with....
40 (nop_r1, nop_r2, nop_r2_cdx, nop32, nop16): New.
41 (nios2_align): Handle alignment on 2-byte boundaries when CDX
42 instructions may be present.
43 (s_nios2_align): Adjust reference to nop.
44 (CDXBRANCH, IS_CDXBRANCH): New.
45 (CDX_UBRANCH_SUBTYPE, CDX_CBRANCH_SUBTYPE): New.
46 (nios2_relax_subtype_size): Handle 2-byte CDX branches.
47 (nios2_relax_frag): Likewise.
48 (md_convert_frag): Handle R2 encodings.
49 (nios2_check_overflow): Check that low-order bits are zero
50 before applying rightshift from howto.
51 (nios2_check_overflow): Correct negative overflow calculation.
52 (nios2_diagnose_overflow): Handle signed_immed12_overflow. Issue
53 generic overflow messages for miscellaneous instruction formats.
54 (md_apply_fix): Recognize new R2 relocations. For pc_relative
55 relocations, store fixup in *valP.
56 (nios2_reglist_mask, nios2_reglist_dir): New.
57 (nios2_parse_reglist): New.
58 (nios2_parse_base_register): New.
59 (nios2_assemble_expression): Handle constant expressions designated
61 (nios2_assemble_reg3): New.
62 (nios2_assemble_arg_c): Handle R2 instruction formats.
63 (nios2_assemble_arg_d): Likewise.
64 (nios2_assemble_arg_s): Likewise.
65 (nios2_assemble_arg_t): Likewise.
66 (nios2_assemble_arg_D): New.
67 (nios2_assemble_arg_S): New.
68 (nios2_assemble_arg_T): New.
69 (nios2_assemble_arg_i): Handle R2 instruction formats.
70 (nios2_assemble_arg_I): New.
71 (nios2_assemble_arg_u): Handle R2 instruction formats.
72 (nios2_assemble_arg_U): New.
73 (nios2_assemble_arg_V): New.
74 (nios2_assemble_arg_W): New.
75 (nios2_assemble_arg_X): New.
76 (nios2_assemble_arg_Y): New.
77 (nios2_assemble_arg_o): Handle R2 instruction formats.
78 (nios2_assemble_arg_O): New.
79 (nios2_assemble_arg_P): New.
80 (nios2_assemble_arg_j): Handle R2 instruction formats.
81 (nios2_assemble_arg_k): New.
82 (nios2_assemble_arg_l): Handle R2 instruction formats.
83 (nios2_assemble_arg_m): Likewise.
84 (nios2_assemble_arg_M): New.
85 (nios2_assemble_arg_N): New.
86 (nios2_assemble_arg_e): New.
87 (nios2_assemble_arg_f): New.
88 (nios2_assemble_arg_g): New.
89 (nios2_assemble_arg_h): New.
90 (nios2_assemble_arg_R): New.
91 (nios2_assemble_arg_B): New.
92 (nios2_assemble_args): Handle new argument letters.
93 (nios2_consume_arg): Likewise.
94 (nios2_translate_pseudo_insn): Avoid dereferencing null pointer
96 (nios2_ps_insn_info_structs): Add nop.n.
97 (output_ubranch): Handle CDX branches.
98 (output_cbranch): Likewise.
99 (output_call): Handle R2 encodings.
100 (output_movia): Likewise.
101 (md_begin): Initialize nios2_min_align.
102 (md_assemble): Align to nios2_min_align. Adjust nios2_min_align
103 if a 16-bit instruction is seen.
104 (nios2_cons_align): Use appropriate nop pattern.
106 2015-07-01 Sandra Loosemore <sandra@codesourcery.com>
107 Cesar Philippidis <cesar@codesourcery.com>
109 * config/tc-nios2.c: Adjust includes.
110 (OPTION_MARCH): Define.
111 (md_longopts): Add -march option.
112 (nios2_architecture): New.
113 (nios2_use_arch): New.
114 (md_parse_option): Handle OPTION_MARCH.
115 (md_show_usage): Document -march.
116 (md_begin): Set arch in BFD.
117 (nios2_elf_final_processing): New.
118 * config/tc-nios2.h (elf_tc_final_processing): Define.
119 (nios2_elf_final_processing): New.
120 * doc/c-nios2.texi (-march): Add documentation.
122 2015-06-30 Amit Pawar <Amit.Pawar@amd.com>
124 * config/tc-i386.c (cpu_arch): Add .mwaitx.
125 (process_immext): Check operands for monitorx/mwaitx instructions.
126 * doc/c-i386.texi: Document mwaitx.
128 2015-06-28 H.J. Lu <hongjiu.lu@intel.com>
130 * as.c (parse_args): Replace COMPRESS_DEBUG_ZLIB with
131 COMPRESS_DEBUG_GNU_ZLIB.
132 * config/tc-i386.c (flag_compress_debug): Likewise.
134 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
136 * doc/as.texinfo (.cfi_lsda): Remove the extra @section.
138 2015-06-19 Peter Bergner <bergner@vnet.ibm.com>
140 * config/tc-ppc.c (md_assemble): Use ppc_optional_operand_value.
141 Allow for optional operands without insert functions.
143 2015-06-18 Nick Clifton <nickc@redhat.com>
146 * config/tc-arm.c (md_apply_fix): Add support for ADR in thumb
147 mode against a nearby symbol.
149 2015-06-18 Nick Clifton <nickc@redhat.com>
152 * config/tc-arm.c (tc_gen_reloc): Include BFD_RELOC_ARM_TLS_LE32
153 in the same case as BFD_RELOC_ARM_TLS_IS32.
155 2015-06-17 Nick Clifton <nickc@redhat.com>
157 * config/tc-arm.c (is_double_a_single): Make conditional upon the
158 availablity of a 64-bit type. Use this type for the argument and
160 (double_to_single): Likewise.
161 * config/tc-arm.c (move_or_literal_pool): Use a 64-bit type for
162 the constant value, if available. Generate a 64-bit value from a
163 bignum if supported. Only perform the second optimization for
164 PR 18500 if the 64-bit type is available.
166 2015-06-17 Alessandro Marzocchi <alessandro.marzocchi@gmail.com>
169 * config/tc-arm.c (is_double_a_single): New function.
170 (double_to_single): New function.
171 (move_or_literal_pool): Add support for converting VLDR to VMOV.
174 * config/tc-arm.c (move_or_literal_pool): Add support for LDR Rx,=
175 to MOV.w or MVN.w for Thumb2.
177 2015-06-17 Nicolas Pitre <nico@linaro.org>
179 * as.c (show_usage): Document --sectname-subst.
180 (parse_args): Add --sectname-subst.
181 * as.h (flag_sectname_subst): New.
182 * config/obj-elf.c (obj_elf_section_name): Add %S substitution.
183 * doc/as.texinfo: Document it.
185 2015-06-15 Renlin Li <renlin.li@arm.com>
187 * config/tc-aarch64.c (reloc_table): New relocation modifier.
188 (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTOFF_LO15.
189 (aarch64_force_relocation): Ditto
191 2015-06-13 Mark Wielaard <mjw@redhat.com>
193 * dwarf2dbg.c (out_header): Document EXPR->X_add_number value,
194 out_debug_aranges depends on it.
195 (out_debug_aranges): Track size of header to properly pad header
196 for address alignment.
198 2015-06-11 John David Anglin <danglin@gcc.gnu.org>
201 * gas/config/tc-hppa.c (last_label_symbol): Declare.
202 (pa_get_label): Return last label in current space/segment or NULL.
203 (pa_define_label): Record last label and add to root.
204 (pa_undefine_label): Remove last label from root.
206 2015-06-08 Nick Clifton <nickc@redhat.com>
208 * config/tc-rx.c (rx_op): Correct handling of integer bignums.
210 2015-06-04 Matthew Wahab <matthew.wahab@arm.com>
212 * NEWS: Mention ARMv8.1 support in the Aarch64 port.
213 * config/tc-aarch64.c (aarch64_arch_option_table): Add "armv8.1-a".
214 * doc/c-aarch64.texi (-march): Add "armv8.1-a".
216 2015-06-04 Renlin Li <renlin.li@arm.com>
218 * config/tc-arm.c (arm_init_frag): Use frag's thumb_mode information
221 2015-06-04 Nick Clifton <nickc@redhat.com>
223 * config/tc-h8300.c (md_section_align): Fix compile time warning
224 about left shifting a negative value.
226 2015-06-03 Matthew Wahab <matthew.wahab@arm.com>
228 * config/tc-arm.c (arm_archs): Add "armv8.1-a".
229 * doc/c-arm.texi (ARM Options, -march): Add "armv8.1-a".
230 * NEWS: Mention ARMv8.1 support.
232 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
234 * config/tc-arm.c (arm_ext_pan): New.
235 (do_setpan): New, encode an ARM SETPAN instruction.
236 (do_t_setpan): New, encode a Thumb SETPAN instruction.
237 (insns): Add "setpan".
238 (arm_extensions): Add "pan".
239 * doc/c-arm.texi (ARM Options): Add "pan" to list of -mcpu processor
242 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
244 * config/tc-aarch64.c (aarch64_features): Add "rdma".
245 * doc/c-aarch64.texi (AArch64 Extensions): Add "rdma".
247 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
249 * config/tc-aarch64.c (aarch64_features): Add "lor".
250 * doc/c-aarch64.c (Aarch64 Extensions): Add "lor" to list of
251 architecture extensions.
253 2015-06-01 Matthew Wahab <matthew.wahab@arm.com>
255 * config/tc-aarch64.c (parse_sys_reg): New parameter. Check target
256 support. Fix whitespace.
257 (parse_operands): Update for parse_sys_reg changes.
258 (aarch64_features): Add "pan".
259 * doc/c-aarch64.texi (Aarch64 Extensions): Add "pan".
261 2015-06-01 Jiong Wang <jiong.wang@arm.com>
263 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
264 (md_apply_fix): Support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
265 (aarch64_force_relocation): Ditto.
267 2015-06-01 Jiong Wang <jiong.wang@arm.com>
269 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
270 (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
271 (aarch64_force_relocation): Ditto.
273 2015-05-28 Catherine Moore <clm@codesourcery.com>
274 Bernd Schmidt <bernds@codesourcery.com>
275 Paul Brook <paul@codesourcery.com>
278 * config/tc-alpha.c (all_cfi_sections): Declare.
279 (s_alpha_ent): Initialize all_cfi_sections.
280 (alpha_elf_md_end): Invoke cfi_set_sections.
281 * config/tc-mips.c (md_apply_fix): Handle BFD_RELOC_NONE.
282 (s_ehword): Use BFD_RELOC_32_PCREL.
283 (mips_fix_adjustable): Handle BFD_RELOC_32_PCREL.
284 (mips_cfi_reloc_for_encoding): New function.
285 * tc-mips.h (DWARF2_FDE_RELOC_SIZE): Redefine.
286 (DWARF2_FDE_RELOC_ENCODING): Define.
287 (tc_cfi_reloc_for_encoding): Define.
288 (mips_cfi_reloc_for_encoding): Define.
289 (tc_compact_eh_opcode_stop): Define.
290 (tc_compact_eh_opcode_pad): Define.
291 * doc/as.texinfo: Document Compact EH extensions.
292 * doc/internals.texi: Likewise.
293 * dw2gencfi.c (EH_FRAME_LINKONCE): Redefine.
294 (tc_cfi_reloc_for_encoding): Provide default.
295 (compact_eh): Declare.
296 (emit_expr_encoded): New function.
297 (get_debugseg_name): Add Compact EH support.
298 (alloc_debugseg_item): Likewise.
299 (cfi_set_sections): New function.
300 (dot_cfi_fde_data): New function.
301 (dot_cfi_personality_id): New function.
302 (dot_cfi_inline_lsda): New function.
303 (cfi_pseudo_table): Add cfi_fde_data, cfi_personality_id,
305 (dot_cfi_personality): Add Compact EH support.
306 (dot_cfi_lsda): Likewise.
307 (dot_cfi_sections): Likewise.
308 (dot_cfi_startproc): Likewise.
309 (get_cfi_seg): Likewise.
310 (output_compact_unwind_data): New function.
311 (output_cfi_insn): Add Compact EH support.
312 (output_cie): Likewise.
313 (output_fde): Likewise.
314 (cfi_finish): Likewise.
315 (cfi_emit_eh_header): New function.
316 (output_eh_header): New function.
317 * dw2gencfi.h (cfi_set_sections): Declare.
318 (SUPPORT_COMPACT_EH): Define.
319 (MULTIPLE_FRAME_SECTIONS): Define.
320 New enumeration to describe the Compact EH header format.
321 (fde_entry): Add new fields personality_id, eh_header_type, eh_data_size,
322 eh_data, eh_loc and sections.
323 (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame, CFI_EMIT_target,
324 CFI_EMIT_eh_frame_compact): Define.
326 2015-05-26 Max Filippov <jcmvbkbc@gmail.com>
328 * config/tc-xtensa.c (xtensa_move_literals): Check that
329 search_frag is non-NULL. Report error if literal frag is not
332 2015-05-22 Nick Clifton <nickc@redhat.com>
335 * read.c (output_big_sleb128): Use U suffix to prevent compile
338 2015-05-19 Jiong Wang <jiong.wang@arm.com>
340 * config/tc-aarch64.c (process_movw_reloc_info): Sort relocation case
341 labels alphabetically.
342 (md_apply_fix): Ditto.
343 (aarch64_force_relocation): Ditto.
345 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
348 * config/tc-i386.c (OPTION_MAMD64): New.
349 (OPTION_MINTEL64): Likewise.
350 (md_longopts): Add -mamd64 and -mintel64.
351 (md_parse_option): Handle OPTION_MAMD64 and OPTION_MINTEL64.
352 (md_show_usage): Add -mamd64 and -mintel64.
353 * doc/c-i386.texi: Document -mamd64 and -mintel64.
355 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
357 * config/tc-i386.c (shared): New.
358 (OPTION_MSHARED): Likewise.
359 (elf_symbol_resolved_in_segment_p): Add relocation argument.
360 Check PLT relocations and shared.
361 (md_estimate_size_before_relax): Pass fragP->fr_var to
362 elf_symbol_resolved_in_segment_p.
363 (md_longopts): Add -mshared.
364 (md_show_usage): Likewise.
365 (md_parse_option): Handle OPTION_MSHARED.
366 * doc/c-i386.texi: Document -mshared.
368 2015-05-14 H.J. Lu <hongjiu.lu@intel.com>
370 * write.c (compress_debug): Don't write the zlib header, which
371 is handled by bfd_update_compression_header.
373 2015-05-13 Max Filippov <jcmvbkbc@gmail.com>
375 * config/tc-xtensa.c (xtensa_relax_frag): Allow trampoline to be
376 closer than J_RANGE / 2 to jump frag.
378 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
380 * configure.tgt (arch): Set to iamcu for i386-*-elfiamcu target.
381 * config/tc-i386.c (i386_mach): Support iamcu.
382 (i386_target_format): Likewise.
384 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
386 * config/tc-i386.c (cpu_arch): Add iamcu.
387 (i386_align_code): Handle PROCESSOR_IAMCU.
388 (i386_arch): Likewise.
389 (i386_mach): Likewise.
390 (i386_target_format): Likewise.
391 (valid_iamcu_cpu_flags): New function.
392 (check_cpu_arch_compatible): Only allow Intel MCU instructions
393 when targeting Intel MCU.
394 (set_cpu_arch): Call valid_iamcu_cpu_flags to check if CPU flags
395 are valid for Intel MCU.
396 (md_parse_option): Likewise.
397 * tc-i386.h (ELF_TARGET_IAMCU_FORMAT): New.
398 (processor_type): Add PROCESSOR_IAMCU.
399 * doc/c-i386.texi: Document iamcu.
401 2015-05-08 Nick Clifton <nickc@redhat.com>
404 * config/tc-arm.h (TC_EQUAL_IN_INSN): Define.
405 * config/tc-arm.c (arm_tc_equal_in_insn): New function. Move
406 the symbol name checking code to here from...
407 (md_undefined_symbo): ... here.
409 2015-05-07 H.J. Lu <hongjiu.lu@intel.com>
411 * config/tc-i386.c (elf_symbol_resolved_in_segment_p): New.
412 (md_estimate_size_before_relax): Use it.
414 2015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
416 * config/tc-sparc.c: Typo in comment fixed.
418 2015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
420 * config/tc-sparc.c (sparc_ip): Support the %ncc "natural"
422 * doc/c-sparc.texi (Sparc-Regs): Document %ncc.
424 2015-05-06 Nick Clifton <nickc@redhat.com>
426 * doc/as.texinfo (Dollar Local Labels): Note that these are only
427 supported on some targets.
429 2015-05-06 Renlin Li <renlin.li@arm.com>
431 * config/tc-aarch64.c (mapping_state): Recording alignment before exit.
433 2015-05-05 Renlin Li <renlin.li@arm.com>
435 * config/tc-aarch64.c (aarch64_init_frag): Always generate mapping
438 2015-05-05 Nick Clifton <nickc@redhat.com>
440 * config/tc-msp430.c (MAX_OP_LEN): Increase to 4096.
441 (msp430_make_init_symbols): New function.
442 (msp430_section): Call it.
443 (msp430_frob_section): Likewise.
445 2015-05-02 Max Filippov <jcmvbkbc@gmail.com>
447 * config/tc-xtensa.c (cached_fixupS, fixup_cacheS): New typedefs.
448 (struct cached_fixup, struct fixup_cache): New structures.
449 (fixup_order, xtensa_make_cached_fixup),
450 (xtensa_realloc_fixup_cache, xtensa_cache_relaxable_fixups),
451 (xtensa_find_first_cached_fixup, xtensa_delete_cached_fixup),
452 (xtensa_add_cached_fixup): New functions.
453 (xtensa_relax_frag): Cache fixups pointing at potentially
454 oversized jumps at the beginning of every relaxation pass. Only
455 check subset of this cache in the reach of single jump from the
456 trampoline frag currently being relaxed.
458 2015-05-01 Nick Clifton <nickc@redhat.com>
460 * config/rl78-parse.y (MULU): Remove ISA_G14.
461 (MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings.
463 2015-05-01 H.J. Lu <hongjiu.lu@intel.com>
465 * config/tc-i386.c (i386_elf_emit_arch_note): Removed.
466 * config/tc-i386.h (md_end): Likewise.
467 (i386_elf_emit_arch_note): Likewise.
469 2015-05-01 H.J. Lu <hongjiu.lu@intel.com>
471 * configure.tgt: Support i386-*-elf*.
473 2015-04-30 DJ Delorie <dj@redhat.com>
475 * config/rl78-defs.h (rl78_isa_g10): New.
478 * config/rl78-parse.y (ISA_G10): New.
481 (MULHU, MULH, MULU, DIVHU, DIVWU, MACHU, MACH): Use them.
482 * config/tc-rl78.c (rl78_isa_g10): New.
486 2015-04-30 H.J. Lu <hongjiu.lu@intel.com>
488 * config/tc-i386.c (i386_target_format): Use "else if" on
491 2015-04-30 Nick Clifton <nickc@redhat.com>
494 * config/tc-arm.c (md_undefined_symbol): Issue a warning message
495 (if enabled) when the user creates a symbol with the same name as
497 (flag_warn_syms): New static variable.
498 (arm_opts): Add mwarn-syms and mno-warn-syms.
499 * doc/c-arm.texi (ARM Options): Document the -m[no-]warn-syms
503 * doc/as.texinfo (Zero): Add documentation of the .zero pseudo-op.
505 2015-04-29 Nick Clifton <nickc@redhat.com>
508 * config/tc-arm.c (encode_arm_cp_address): Issue an error message
509 if the operand is neither a register nor a vector.
511 2015-04-29 Nick Clifton <nickc@redhat.com>
513 * doc/as.texinfo (Set): Note that a symbol cannot be set multiple
514 times if the expression is not constant and the target uses linker
517 2015-04-28 Renlin Li <renlin.li@arm.com>
519 * config/tc-arm.c (arm_init_frag): Always emit mapping symbols.
521 2015-04-28 Nick Clifton <nickc@redhat.com>
524 * cond.c (s_if): Stop compile time warning about stopc being used
528 2015-04-27 Renlin Li <renlin.li@arm.com>
530 * config/tc-aarch64.c (s_aarch64_inst): Don't align code for non-text
532 (md_assemble): Likewise, move the align code outside the loop.
534 2015-04-24 Jim Wilson <jim.wilson@linaro.org>
536 * config/tc-aarch64.c (aarch64_cpus): Add CRC and CRYPTO features
539 2015-04-24 Richard Earnshaw <rearnsha@arm.com>
541 * config/tc-arm.h (arm_min): New function.
542 (SUB_SEGMENT_ALIGN): Define.
544 2015-04-23 Matthew Fortune <matthew.fortune@imgtec.com>
546 * config/tc-mips.c (macro): State the recommended way of creating
547 32-bit or 64-bit addresses.
549 2015-04-23 Jan Beulich <jbeulich@suse.com>
551 * config/tc-i386.c (match_mem_size): Also allow no size
552 specification when broadcasting.
554 2015-04-20 H.J. Lu <hongjiu.lu@intel.com>
556 * doc/as.texinfo (Bundle directives): Shorten menu entry and
558 (CFI directives): Use @subsection.
559 (SH-Dependent, SH64-Dependent): Moved after SCORE-Dependent.
560 * doc/c-i386.texi (i386-Mnemonics): Use @subsection.
562 2015-04-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
564 * config/tc-avr.c (create_record_for_frag): Rename link to
567 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
570 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
572 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
574 * as.h (compressed_debug_section_type): Removed.
576 2015-04-14 Nick Clifton <nickc@redhat.com>
578 * config/tc-rl78.h (TC_LINKRELAX_FIXUP): Define.
579 (TC_FORCE_RELOCATION_SUB_SAME): Define.
580 (DWARF2_USE_FIXED_ADVANCE_PC): Define.
582 2015-04-10 Nick Clifton <nickc@redhat.com>
585 * doc/c-arm.texi (ARM Options): Add a note about the interaction of
586 the -EB option with the linker's --be8 option.
588 2015-04-09 Hans-Peter Nilsson <hp@axis.com>
590 * doc/c-rx.texi: Fix markup typos in last change.
592 2015-04-09 Nick Clifton <nickc@redhat.com>
594 * config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS.
595 (md_longopts): Add -mno-allow-string-insns.
596 (md_parse_option): Handle -mno-allow-string-insns.
597 (md_show_usage): Mention -mno-allow-string-insns.
598 (rx_note_string_insn_use): New function. Produces an error
599 message if a string insn is used when it is not allowed.
600 * config/rx-parse.y (SCMPU): Call rx_note_string_insn_use.
601 (SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise.
602 * config/rx-defs.h (rx_note_string_insn_use): Prototype.
603 * doc/c-rx.texi: Document -mno-allow-string-insns.
605 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
607 * as.c (show_usage): Update --compress-debug-sections.
608 (std_longopts): Use optional_argument on compress-debug-sections.
610 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
611 * as.h (compressed_debug_section_type): New.
612 (flag_compress_debug): Change type to compressed_debug_section_type.
613 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
614 * write.c (compress_debug): Set BFD_COMPRESS_GABI for
615 --compress-debug-sections=zlib-gabi. Call
616 bfd_get_compression_header_size to get compression header size.
617 Don't rename section name for --compress-debug-sections=zlib-gabi.
618 * config/tc-i386.c (compressed_debug_section_type): Set to
620 * doc/as.texinfo: Document
621 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
623 2015-04-07 Renlin Li <renlin.li@arm.com>
625 * config/tc-aarch64.c (mapping_state): Use subseg_text_p.
626 (s_aarch64_inst): Likewise.
627 (md_assemble): Likewise.
629 2015-04-06 H.J. Lu <hongjiu.lu@intel.com>
631 * write.c (compress_debug): Use bfd_putb64 to write uncompressed
634 2015-04-05 H.J. Lu <hongjiu.lu@intel.com>
636 * write.c (compress_debug): Don't write the zlib header if
637 compressed section size is the same as before compression.
639 2015-04-02 Nick Clifton <nickc@redhat.com>
642 * config/tc-microblaze.c (parse_imm): Use offsetT as the type for
643 min and max parameters. Sign extend values before testing.
645 2015-04-02 Renlin Li <renlin.li@arm.com>
647 * config/tc-aarch64.c (mapping_state): Emit MAP_DATA within text section in order.
648 (mapping_state_2): Don't emit MAP_DATA here.
649 (s_aarch64_inst): Align frag during state transition.
650 (md_assemble): Likewise.
652 2015-04-02 Ed Maste <emaste@freebsd.org>
654 * config/tc-aarch64.c (set_error_kind): Delete.
655 (set_error_message): Delete.
657 2015-04-02 H.J. Lu <hongjiu.lu@intel.com>
659 * configure: Regenerated.
661 2015-04-01 Evandro Menezes <e.menezes@samsung.com>
663 * config/tc-aarch64.c: Add support for Samsung Exynos M1.
664 * doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
666 2015-04-01 Evandro Menezes <e.menezes@samsung.com>
668 * config/tc-arm.c: Add support for Samsung Exynos M1.
669 * doc/c-arm.texi (-mcpu=): Add "exynos-m1".
671 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
673 * configure: Regenerated.
675 2015-03-31 Ed Schouten <ed@nuxi.nl>
677 * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
679 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
681 * configure.ac: Revert the AM_ZLIB change.
682 * Makefile.in: Regenerated.
683 * aclocal.m4: Likewise.
684 * configure: Likewise.
686 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
688 * Makefile.am (ZLIBINC): New.
689 (AM_CFLAGS): Add $(ZLIBINC).
690 * as.c: (show_usage): Don't check HAVE_ZLIB_H.
691 (parse_args): Likewise.
692 * compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
693 (compress_init): Don't check HAVE_ZLIB_H.
694 (compress_data): Likewise.
695 (compress_finish): Likewise.
696 * configure.ac (AM_ZLIB): Removed.
697 (zlibinc): New. AC_SUBST.
698 Add --with-system-zlib.
699 * Makefile.in: Regenerated.
700 * config.in: Likewise.
701 * configure: Likewise.
702 * doc/Makefile.in: Likewise.
704 2015-03-27 H.J. Lu <hongjiu.lu@intel.com>
706 * config/tc-i386.c (cpu_flags_set): Removed.
708 2015-03-25 Renlin Li <renlin.li@arm.com>
710 * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
712 (mapping_state_2): Emit first MAP_DATA symbol here.
714 2015-03-24 H.J. Lu <hongjiu.lu@intel.com>
717 * write.c (compress_debug): Don't write the zlib header if
718 compression didn't make the section smaller.
720 2015-03-24 Terry Guo <terry.guo@arm.com>
722 * config/tc-arm.c (no_cpu_selected): Use new macro to compare
724 (parse_psr): Likewise.
725 (do_t_mrs): Likewise.
726 (do_t_msr): Likewise.
727 (static const arm_feature_set arm_ext_*): Defined with new macros.
728 (static const arm_feature_set arm_cext_*): Likewise.
729 (static const arm_feature_set fpu_fpa_ext_*): Likewise.
730 (static const arm_feature_set fpu_vfp_ext_*): Likewise.
731 (deprecated_coproc_regs): Likewise.
732 (UL_BARRIER): Likewise.
733 (barrier_opt_names): Likewise.
734 (arm_cpus): Likewise.
735 (arm_extensions): Likewise.
737 2015-03-20 H.J. Lu <hongjiu.lu@intel.com>
739 * config/tc-i386.c (i386_align_code): Limit multi-byte nop
740 instructions to 10 bytes.
742 2015-03-19 Nick Clifton <nickc@redhat.com>
744 * config/tc-rl78.c (enum options): Add G13 and G14.
745 (md_longopts): Add -mg13 and -mg14.
746 (md_parse_option): Handle -mg13 and -mg14.
747 (md_show_usage): List -mg13 and -mg14.
748 * doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
750 2015-03-18 Jon Turney <jon.turney@dronecode.org.uk>
751 Nick Clifton <nickc@redhat.com>
754 * doc/as.texinfo: Note that when gas compresses debug sections the
755 compression is only performed if it makes the section smaller.
756 * write.c (compress_debug): Do not compress a debug section if
757 doing so would make it larger.
759 2015-03-17 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
761 * config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
762 (i386_align_code): Add PROCESSOR_ZNVER cases.
763 * config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
764 * doc/c-i386.texi: Add znver1 and clzero.
766 2015-03-16 Nick Clifton <nickc@redhat.com>
768 * dwarf2dbg.c (out_header): Remove spurious #if 1.
770 2015-03-13 Jiong Wang <jiong.wang@arm.com>
772 * config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
775 2015-03-13 Jiong Wang <jiong.wang@arm.com>
777 * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
779 2015-03-12 Andrew Bennett <andrew.bennett@imgtec.com>
781 * config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
782 * doc/c-mips.texi: Document i6400 -march option.
784 2015-03-12 Nick Clifton <nickc@redhat.com>
787 * config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
788 to arm_apply_sym_value. Update prototype.
789 * config/tc-arm.c (arm_apply_sym_value): Add segment argument.
790 Do not apply the value if the symbol is in a different segment to
793 2015-03-11 Alan Modra <amodra@gmail.com>
795 * config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
796 (md_apply_fix): Report an error on data-only fixups used with insns.
798 2015-03-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
800 * config/tc-s390.c (md_gather_operands): Check for valid
801 length field operands.
803 2015-03-10 Michael Perkins <perkinsmg75@yahoo.co.uk>
805 * config/tc-arm.c (parse_operands): Fix bug setting writeback
806 values for '^' on OP_REGLSTs.
807 (do_push_pop): Add new writeback constraint.
809 2015-03-10 Renlin Li <renlin.li@arm.com>
811 * config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
812 (mapping_state_2): Emit first MAP_DATA symbol here.
814 2015-03-10 Matthew Wahab <matthew.wahab@arm.com>
816 * config/tc-aarch64.c (mapping_state): Set minimum alignment for
819 2015-03-10 Nick Clifton <nickc@redhat.com>
822 * config/tc-arm.c (md_begin): Ensure that selected_cpu is
823 initialised when CPU_DEFAULT is defined.
825 2015-03-05 Nick Clifton <nickc@redhat.com>
827 * config/tc-v850.c (md_parse_option): Fix code to set or clear
828 EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
829 -m8byte-align and -m4byte-align command line options.
831 2015-03-04 Richard Sandiford <richard.sandiford@arm.com>
834 * config/tc-aarch64.c (process_movw_reloc_info): Allow
835 R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
838 2015-02-28 Alan Modra <amodra@gmail.com>
840 * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
841 end to their alignment.
843 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
845 * config/tc-aarch64.c (reloc_table_entry): Generate
846 BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
847 (md_apply_fix, aarch64_force_relocation): Handle
848 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
850 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
852 * config/tc-aarch64.c (reloc_table_entry): Generate
853 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
854 (md_apply_fix, aarch64_force_relocation): Handle
855 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
857 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
859 * config/tc-aarch64.c (reloc_table_entry): Generate
860 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
861 (md_apply_fix, aarch64_force_relocation): Handle
862 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
864 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
866 * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
867 (reloc_table): Likewise.
868 (parse_address_main): Use ld_literal_type.
870 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
872 * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
873 (reloc_table): Likewise.
874 (parse_address_main): Use adr_type.
876 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
878 * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
880 2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
882 * config/tc-avr.c: Add elf32-avr.h include.
883 (struct avr_property_record_link): New structure.
884 (avr_output_property_section_header): New function.
885 (avr_record_size): New function.
886 (avr_output_property_record): New function.
887 (avr_create_property_section): New function.
888 (avr_handle_align): New function.
889 (exclude_section_from_property_tables): New function.
890 (create_record_for_frag): New function.
891 (append_records_for_section): New function.
892 (avr_create_and_fill_property_section): New function.
893 (avr_post_relax_hook): New function.
894 * config/tc-avr.h (md_post_relax_hook): Define.
895 (avr_post_relax_hook): Declare.
896 (HANDLE_ALIGN): Define.
897 (avr_handle_align): Declare.
898 (strut avr_frag_data): New structure.
899 (TC_FRAG_TYPE): Define.
901 2015-02-25 Matthew Wahab <matthew.wahab@arm.com>
903 * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
906 2015-02-24 Nick Clifton <nickc@redhat.com>
908 * config/tc-v850.c (soft_float): New variable.
909 (v850_data_8): New variable.
910 (md_show_usage): Add -msoft-float/-mhard-float.
911 (md_parse_option): Likewise.
912 (md_begin): Set the default value of soft_float.
913 (v850_md_end): New function. Creates a note section.
914 * config/tc-v850.h (md_end): Define.
915 * doc/c-v850.texi: Document -msoft-float/-mhard-float.
917 2015-02-23 Yoshinori Sato <ysato@users.sourceforge.jp>
919 * config/tc-h8300.c (line_separater_chars): Add a version for
920 h8300-linux that includes a separator.
921 (default_mach): New variable.
923 (md_longopts): Add '--march' option.
924 (md_parse_option): Parse the new option.
925 * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
926 * configure.tgt: Add h8300-*-linux
927 * doc/c-h8300.texi: Document --march.
929 2015-02-23 Nick Clifton <nickc@redhat.com>
932 * dwarf2dbg.c (out_header): When generating dwarf sections use
933 real symbols not temps for the start and end symbols.
934 * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
935 adjustments to relocations in debug sections.
936 (TC_LINKRELAX_FIXUP): Likewise.
938 2015-02-19 Alan Modra <amodra@gmail.com>
940 * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
941 * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
943 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
945 * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
947 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
949 * config/tc-arm.c: Add support for Cortex-A72.
951 2015-02-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
953 * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
954 of as_warn for deprecation messages.
955 (encode_arm_addr_mode_2): Likewise.
956 (check_obsolete): Likewise.
957 (do_rd_rm_rn): Likewise.
958 (do_co_reg): Likewise.
959 (do_setend): Likewise.
960 (do_t_mov_cmp): Likewise.
961 (do_neon_ldr_str): Likewise.
962 (opcode_lookup): Likewise.
963 (if_fsm_post_encode): Likewise.
964 (md_assemble): Likewise.
966 2015-02-06 Jan Beulich <jbeulich@suse.com>
968 * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
969 (cfi_change_reg_numbers): Also do nothing for CFI_label.
970 (cfi_pseudo_table): Also handle .cfi_label when not supporting
973 2015-02-05 Alan Modra <amodra@gmail.com>
975 * config/tc-msp430.c (md_assemble): Correct size passed to
976 extract_cmd. Remove index check.
978 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
980 * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
981 * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
983 2015-02-04 Nick Clifton <nickc@redhat.com>
985 * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
988 2015-02-03 Renlin Li <renlin.li@arm.com>
990 * doc/c-aarch64.texi (.arch): Document the directive.
991 (.arch_extension): Likewise.
993 2015-02-03 Nick Clifton <nickc@redhat.com>
995 * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
997 2015-01-28 James Bowman <james.bowman@ftdichip.com>
999 * Makefile.am: Add FT32 files.
1000 * config/tc-ft32.c: New file.
1001 * config/tc-ft32.h: New file.
1002 * configure.tgt: Add FT32 support.
1003 * Makefile.in: Regenerate.
1004 * po/POTFILES.in: Regenerate.
1006 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
1008 * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
1009 of instruction la to a symbol.
1011 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
1013 * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
1016 2015-01-19 Alan Modra <amodra@gmail.com>
1018 * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
1019 * write.c (get_frag_for_reloc): Allow match just past end of frag.
1021 2015-01-16 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1023 * config/tc-s390.c (struct pd_reg): Remove.
1024 (pre_defined_registers): Remove.
1025 (REG_NAME_CNT): Remove.
1026 (reg_name_search): Calculate the register number instead of doing
1028 (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
1029 reg_name_search signature.
1030 (s390_parse_cpu): Support the new arch string z13.
1031 (s390_insert_operand): Support for vector registers with the extra
1032 field for the fifth bit of each vector register operand.
1033 (md_gather_operand): Adjust to the new handling of optional
1036 * doc/as.texinfo: Document the z13 cpu string.
1038 2015-01-13 Matthew Wahab <matthew.wahab@arm.com>
1040 * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
1041 #0, restoring previous behaviour.
1043 2015-01-12 Jan Beulich <jbeulich@suse.com>
1045 * gas/dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
1046 (cfi_pseudo_table): Add "cfi_label".
1047 (output_cfi_insn): Handle CFI_label.
1048 (select_cie_for_fde): Als terminate CIE when encountering
1050 * dw2gencfi.h (cfi_add_label): Declare.
1051 (struct cfi_insn_data): New member "sym_name".
1053 * read.c (read_symbol_name): Drop "static".
1054 * read.h (read_symbol_name): Declare.
1056 2015-01-12 Jan Beulich <jbeulich@suse.com>
1058 * gas/config/tc-arm.c (do_neon_shl_imm): Check immediate range.
1059 (do_neon_qshl_imm): Likewise.
1061 2015-01-12 Alan Modra <amodra@gmail.com>
1063 * read.c (s_altmacro, s_reloc): Make definition static.
1065 2015-01-10 Andrew Burgess <andrew.burgess@embecosm.com>
1067 * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
1070 2015-01-09 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1072 * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
1074 * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
1076 2015-01-07 Jan Beulich <jbeulich@suse.com>
1078 * config/tc-arm.c (struct arm_option_extension_value_table):
1079 Split field "value" into fields "merge_value" and "clear_value".
1080 (arm_extensions): Adjust initializer accordingly.
1082 2015-01-01 Alan Modra <amodra@gmail.com>
1084 * as.c (parse_args): Just print current year.
1086 2015-01-01 Alan Modra <amodra@gmail.com>
1088 Update year range in copyright notice of all files.
1090 For older changes see ChangeLog-2014
1092 Copyright (C) 2015 Free Software Foundation, Inc.
1094 Copying and distribution of this file, with or without modification,
1095 are permitted in any medium without royalty provided the copyright
1096 notice and this notice are preserved.
1102 version-control: never