1 2014-09-22 Alan Modra <amodra@gmail.com>
3 * config/tc-m68k.c (md_assemble): Add assert to work around
4 bogus trunk gcc warning.
5 * config/tc-pj.h (md_convert_frag): Warning fix.
6 * config/tc-xtensa.c (xg_assemble_vliw_tokens): Warning fix.
8 2014-09-17 Tristan Gingold <gingold@adacore.com>
10 * config/tc-arm.c (move_or_literal_pool, add_to_lit_pool): Use
11 bfd_int64_t instead of int64_t.
13 2014-09-16 Ilya Tocar <ilya.tocar@intel.com>
15 * config/tc-i386.c (evexrcig): New.
16 (build_evex_prefix): Force rounding bits.
17 (OPTION_MEVEXRCIG): New.
18 (md_longopts): Add mevexrcig.
19 (md_parse_option): Handle OPTION_MEVEXRCIG.
20 (md_show_usage): Document mevexrcig.
21 * doc/c-i386.texi (mevexrcig): Document new option.
23 2014-09-16 Kuan-Lin Chen <kuanlinchentw@gmail.com>
25 * config/tc-nds32.c (nds32_fsrs, nds32_fdrs, nds32_gprs): Remove.
26 (relax_table): Add new relaxation pattern.
27 (do_pseudo_la_internal, do_pseudo_ls_bhw): Expand for PIC suffix.
28 (do_pseudo_move, do_pseudo_neg, do_pseudo_pushpopm): Fix.
29 (get_range_type, nds32_elf_record_fixup_exp, nds32_get_align,
30 nds32_elf_build_relax_relation, md_assemble, invalid_prev_frag,
31 nds32_relax_frag, md_estimate_size_before_relax): Adjust relaxation.
32 (relocation_table): Remove.
33 (relax_ls_table): Load-store relaxation pattern.
34 (hint_map): Define-use chain pattern.
35 (nds32_find_reloc_table, nds32_match_hint_insn): Analysis
37 (nds32_parse_name): Parse PIC suffix.
38 * config/tc-nds32.h: Declare.
40 2014-09-15 H.J. Lu <hongjiu.lu@intel.com>
42 * config/tc-i386.c (OPTION_omit_lock_prefix): Renamed to ...
43 (OPTION_OMIT_LOCK_PREFIX): This.
44 (md_longopts): Updated.
45 (md_parse_option): Likewise.
47 2014-09-15 Andrew Bennett <andrew.bennett@imgtec.com>
48 Matthew Fortune <matthew.fortune@imgtec.com>
50 * config/tc-mips.c (mips_nan2008): New static global.
51 (mips_flag_nan2008): Removed.
52 (LL_SC_FMT): New define.
54 (ISA_IS_R6): New define.
55 (ISA_HAS_64BIT_REGS): Add mips64r6.
56 (ISA_HAS_DROR): Likewise.
57 (ISA_HAS_64BIT_FPRS): Add mips32r6 and mips64r6.
58 (ISA_HAS_ROR): Likewise.
59 (ISA_HAS_ODD_SINGLE_FPR): Likewise.
60 (ISA_HAS_MXHC1): Likewise.
61 (hilo_interlocks): Likewise.
62 (md_longopts): Likewise.
63 (ISA_HAS_LEGACY_NAN): New define.
64 (options): Add OPTION_MIPS32R6 and OPTION_MIPS64R6.
65 (mips_ase): Add field rem_rev.
66 (mips_ases): Updated to add which ISA an ASE was removed in.
67 (mips_isa_rev): Add support for mips32r6 and mips64r6.
68 (mips_check_isa_supports_ase): Add support to check if an ASE
69 has been removed in the specified MIPS ISA revision.
70 (validate_mips_insn): Skip '-' character.
71 (macro_build): Likewise.
72 (mips_check_options): Prevent R6 working with fp32, mips16,
73 micromips, or branch relaxation.
74 (file_mips_check_options): Set R6 floating point registers to
75 64 bit. Also deal with the nan2008 option.
76 (limited_pcrel_reloc_p): Add relocs: BFD_RELOC_MIPS_21_PCREL_S2,
77 BFD_RELOC_MIPS_26_PCREL_S2, BFD_RELOC_MIPS_18_PCREL_S3,
78 BFD_RELOC_MIPS_19_PCREL_S2, BFD_RELOC_HI16_S_PCREL and
80 (operand_reg_mask): Add support for OP_SAME_RS_RT, OP_CHECK_PREV
82 (match_check_prev_operand): New static function.
83 (match_same_rs_rt_operand): New static function.
84 (match_non_zero_reg_operand): New static function.
85 (match_operand): Added entries for: OP_SAME_RS_RT, OP_CHECK_PREV
87 (insns_between): Added case to deal with forbidden slots.
88 (append_insn): Added support for relocs: BFD_RELOC_MIPS_21_PCREL_S2
89 and BFD_RELOC_MIPS_26_PCREL_S2.
90 (match_insn): Add support for operands -A, -B, +' and +". Also
92 (mips_percent_op): Add entries for %pcrel_hi and %pcrel_lo.
93 (md_parse_option): Add support for mips32r6 and mips64r6. Also
94 update the nan option handling.
95 (md_pcrel_from): Add cases for relocs: BFD_RELOC_MIPS_21_PCREL_S2,
96 BFD_RELOC_MIPS_26_PCREL_S2.
97 (mips_force_relocation): Prevent forced relaxation for MIPS r6.
98 (md_apply_fix): Add support for relocs: BFD_RELOC_MIPS_21_PCREL_S2,
99 BFD_RELOC_MIPS_26_PCREL_S2, BFD_RELOC_MIPS_18_PCREL_S3,
100 BFD_RELOC_MIPS_19_PCREL_S2, BFD_RELOC_HI16_S_PCREL and
101 BFD_RELOC_LO16_PCREL.
102 (s_mipsset): Add support for mips32r6 and mips64r6.
103 (s_nan): Update to support the new nan2008 framework.
104 (tc_gen_reloc): Add relocs: BFD_RELOC_MIPS_21_PCREL_S2,
105 BFD_RELOC_MIPS_26_PCREL_S2, BFD_RELOC_MIPS_18_PCREL_S3,
106 BFD_RELOC_MIPS_19_PCREL_S2, BFD_RELOC_HI16_S_PCREL and
107 BFD_RELOC_LO16_PCREL.
108 (mips_elf_final_processing): Updated to use the mips_nan2008.
109 (mips_cpu_info_table): Add entries for mips32r6 and mips64r6.
110 (macro): Enable ldc2, sdc2, ll, lld, swc2, sc, scd, cache, pref
112 (mips_fix_adjustable): Make PC relative R6 relocations relative
113 to the symbol and not the section.
114 * configure.ac: Add support for mips32r6 and mips64r6.
115 * configure: Regenerate.
116 * doc/c-mips.texi: Document the -mips32r6 and -mips64r6 command line
118 * doc/as.texinfo: Likewise.
120 2014-09-15 Matthew Fortune <matthew.fortune@imgtec.com>
122 * tc-mips.c (check_fpabi): Move softfloat and singlefloat
125 2014-09-12 Jose E. Marchesi <jose.marchesi@oracle.com>
127 * config/tc-sparc.c (sparc_ip): Update the set of allowed hwcaps
128 when bumping the current architecture.
129 (md_begin): Adjust the highetst architecture level also when a
130 specific architecture is not requested.
132 2014-09-12 Andrew Bennett <andrew.bennett@imgtec.com>
134 * configure.tgt: Add mips*-img-elf* target triple.
136 2014-09-12 Alan Modra <amodra@gmail.com>
138 * config/tc-i386.c (match_template): Remove redundant "!!" testing
139 single-bit bitfields.
140 (build_modrm_byte): Don't compare single-bit bitfields to "1".
142 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
144 * config/tc-arm.c (arm_cpus): Add cortex-a17.
146 2014-09-03 Jiong Wang <jiong.wang@arm.com>
148 * config/tc-aarch64.c (parse_sys_reg): Remove the restriction on op0
151 2014-09-03 Jiong Wang <jiong.wang@arm.com>
153 * config/tc-aarch64.c (parse_operands): Recognize PAIRREG.
154 (aarch64_features): Add entry for lse extension.
156 2014-08-26 Jiong Wang <jiong.wang@arm.com>
158 * config/tc-arm.c (aeabi_set_public_attributes): Update selected_cpu
159 based on the info we got during parsing.
160 (arm_handle_align): Make sure the p2align expanding logic under thumb
163 2014-08-26 Maciej W. Rozycki <macro@codesourcery.com>
165 * config/tc-mips.c (macro) <M_SAA_AB>: Remove duplicate code and
167 <M_SAAD_AB>: ... here. Assert that !microMIPS.
169 2014-08-26 Jan-Benedict Glaw <jbglaw@lug-owl.de>
171 * config/tc-moxie.h (md_convert_frag): Silence warning.
173 2014-08-22 Richard Henderson <rth@redhat.com>
175 * config/tc-aarch64.c (tc_aarch64_regname_to_dw2regnum): Fix
176 register number for vector register types.
177 * config/tc-aarch64.h (DWARF2_LINE_MIN_INSN_LENGTH): Set to 4.
178 (DWARF2_CIE_DATA_ALIGNMENT): Set to -8.
180 2014-08-22 Maciej W. Rozycki <macro@codesourcery.com>
182 * config/tc-ppc.c (md_assemble): Only set the PPC_APUINFO_VLE
183 flag if both the processor and opcode flags match.
185 2014-08-22 Maciej W. Rozycki <macro@codesourcery.com>
187 * config/tc-arm.c (add_to_lit_pool): Preinitialize `imm1'.
189 2014-08-20 Maciej W. Rozycki <macro@codesourcery.com>
191 * dw2gencfi.c (make_debug_seg): Replace leading spaces with tabs.
192 (dot_cfi_val_encoded_addr, output_cfi_insn): Likewise.
193 (output_cie, cfi_change_reg_numbers, cfi_finish): Likewise.
195 2014-08-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
197 * config/tc-arm.c (parse_ifimm_zero): New function.
198 (enum operand_parse_code): Add OP_RSVD_FI0 value.
199 (parse_operands): Handle OP_RSVD_FI0.
200 (asm_opcode_insns): Use RSVD_FI0 for second operand of vcmp, vcmpe.
202 2014-08-20 Alan Modra <amodra@gmail.com>
204 * Makefile.am: Typo fix.
205 * Makefile.in: Regenerate.
206 * po/POTFILES.in: Regenerate.
208 2014-08-19 Andreas Tobler <andreast@fgznet.ch>
210 * Makefile.am: Add FreeBSD ARM support.
211 * Mafefile.in: Regenerate.
212 * configure.tgt: Add FreeBSD ARM support.
213 * config/te-armfbsdeabi.h: New file.
214 * config/te-armfbsdvfp.h: Likewise.
216 2014-08-19 Alan Modra <amodra@gmail.com>
218 * configure: Regenerate.
220 2014-08-18 Nick Clifton <nickc@redhat.com>
222 * config/tc-rl78.c (md_apply_fix): Correct handling of small sized
223 RELOC_RL78_DIFF fixups.
225 2014-08-18 Alan Modra <amodra@gmail.com>
227 * read.c (parse_mri_cons): Warning fix.
229 2014-08-14 Alan Modra <amodra@gmail.com>
231 * configure.ac: Move ACX_LARGEFILE after LT_INIT.
232 * config.in: Regenerate.
233 * configure: Regenerate.
235 2014-08-06 Ilya Tocar <ilya.tocar@intel.com>
237 * config/tc-i386.c (omit_lock_prefix): New.
238 (output_insn): Omit lock prefix if omit_lock_prefix is true.
239 (OPTION_omit_lock_prefix): New.
240 (md_longopts): Add momit-lock-prefix.
241 (md_parse_option): Handle momit-lock-prefix.
242 (md_show_usage): Add momit-lock-prefix=[no|yes].
243 * doc/c-i386.texi (momit-lock-prefix): Document.
245 2014-08-01 Takashi Yoshii <yoshii.takashi@renesas.com>
248 * config/tc-sh.c (tc_gen_reloc): Fix initialization of addend in
251 2014-07-29 Matthew Fortune <matthew.fortune@imgtec.com>
253 * config/tc-mips.c: Rename INSN_LOAD_COPROC_DELAY to INSN_LOAD_COPROC
254 and INSN_COPROC_MOVE_DELAY to INSN_COPROC_MOVE throughout.
256 2014-07-29 Matthew Fortune <matthew.fortune@imgtec.com>
258 * config/tc-mips.c (mips_flags_frag): New static global.
259 (struct mips_set_options): Add oddspreg field.
260 (file_mips_opts, mips_opts): Initialize oddspreg.
261 (ISA_HAS_ODD_SINGLE_FPR): Add CPU argument and update for R5900 and
263 (enum options, md_longopts, md_parse_option): Add -mfpxx, -modd-spreg
264 and -mno-odd-spreg options.
265 (md_begin): Create .MIPS.abiflags section.
266 (fpabi_incompatible_with, fpabi_requires): New static function.
267 (check_fpabi): Likewise.
268 (mips_check_options): Handle fp=xx and oddspreg restrictions.
269 (file_mips_check_options): Set oddspreg by default for fp=xx.
270 (mips_oddfpreg_ok): Re-write function.
271 (check_regno): Check odd numbered registers regardless of FPR size.
272 For fp != 32 use as_bad instead of as_warn.
273 (match_float_constant): Rewrite check regarding FP register width. Add
274 support for generating constants when MXHC1 is present. Handle fp=xx
275 to comply with the ABI.
276 (macro): Update M_LI_DD similarly to match_float_constant. Generate
277 MTHC1 when available. Check that correct code can be generated for
278 fp=xx and fp=64 ABIs.
279 (parse_code_option, s_mipsset): Add fp=xx, oddspreg and nooddspreg
281 (mips_convert_ase_flags): New static function.
282 (mips_elf_final_processing): Use fpabi == Val_GNU_MIPS_ABI_FP_OLD_64
283 to determine when to add the EF_MIPS_FP64 flag. Populate the
284 .MIPS.abiflags section.
285 (md_mips_end): Update .gnu_attribute based on command line and .module
286 as applicable. Use check_fpabi to ensure .gnu.attribute and command
287 line/.module options are consistent.
288 * doc/as.texinfo: Add missing -mgp64/-mfp64 options and document new
289 -mfpxx, -modd-spreg and -mno-odd-spreg options.
290 * doc/c-mips.texi: Document -mfpxx, -modd-spreg, -mno-odd-spreg,
291 gnu_attribute values and FP ABIs.
293 2014-07-27 Joel Sherrill <joel.sherrill@oarcorp.com>
295 Add RTEMS target support and simplify matching
297 * gas/configure.tgt (or1k*-*-rtems*): Ensure a match.
298 (or1k*-*-*): Use or1k* to match or1knd and or1kZ.
300 2014-07-27 Anthony Green <green@moxielogic.com>
302 * configure.tgt (generic_target): Add moxie-*-moxiebox*
303 * config/tc-moxie.c: Remove moxie_target_format.
304 (md_begin): Set default target_big_endian.
305 * config/tc-moxie.h: Only set TARGET_BYTES_BIG_ENDIAN if unset.
306 (TARGET_FORMAT): Set based on target_big_endian.
308 2014-07-26 Alan Modra <amodra@gmail.com>
310 * config/bfin-parse.y: Don't include obstack.h.
311 * config/obj-aout.c: Likewise.
312 * config/obj-coff.c: Likewise.
313 * config/obj-som.c: Likewise.
314 * config/tc-bfin.c: Likewise.
315 * config/tc-i960.c: Likewise.
316 * config/tc-rl78.c: Likewise.
317 * config/tc-rx.c: Likewise.
318 * config/tc-tic4x.c: Likewise.
320 * listing.c: Likewise.
321 * config/obj-elf.c (elf_file_symbol): Make name_length a size_t.
322 * config/tc-aarch64.c (symbol_locate): Likewise.
323 * config/tc-arm.c (symbol_locate): Likewise.
324 * config/tc-mmix.c (mmix_handle_mmixal): Make len_0 a size_t.
325 * config/tc-score.c (s3_build_score_ops_hsh): Make len a size_t.
326 (s3_build_dependency_insn_hsh): Likewise.
327 * config/tc-score7.c (s7_build_score_ops_hsh): Likewise.
328 (s7_build_dependency_insn_hsh): Likewise.
329 * frags.c (frag_grow): Make parameter a size_t, and use size_t locals.
330 (frag_new): Make parameter a size_t.
331 (frag_var_init): Make max_chars and var parameters size_t.
332 (frag_var, frag_variant): Likewise.
333 (frag_room): Return a size_t.
334 (frag_align_pattern): Make n_fill parameter a size_t.
335 * frags.h: Update function prototypes.
336 * symbols.c (save_symbol_name): Make name_length a size_t.
338 2014-07-22 Sergey Guriev <sergey.s.guriev@intel.com>
339 Alexander Ivchenko <alexander.ivchenko@intel.com>
340 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
341 Sergey Lega <sergey.s.lega@intel.com>
342 Anna Tikhonova <anna.tikhonova@intel.com>
343 Ilya Tocar <ilya.tocar@intel.com>
344 Andrey Turetskiy <andrey.turetskiy@intel.com>
345 Ilya Verbin <ilya.verbin@intel.com>
346 Kirill Yukhin <kirill.yukhin@intel.com>
347 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
349 * config/tc-i386.c (cpu_arch): Add .avx512dq, CPU_AVX512DQ_FLAGS.
350 * doc/c-i386.texi: Document avx512dq/.avx512dq.
352 2014-07-22 Sergey Guriev <sergey.s.guriev@intel.com>
353 Alexander Ivchenko <alexander.ivchenko@intel.com>
354 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
355 Sergey Lega <sergey.s.lega@intel.com>
356 Anna Tikhonova <anna.tikhonova@intel.com>
357 Ilya Tocar <ilya.tocar@intel.com>
358 Andrey Turetskiy <andrey.turetskiy@intel.com>
359 Ilya Verbin <ilya.verbin@intel.com>
360 Kirill Yukhin <kirill.yukhin@intel.com>
361 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
363 * config/tc-i386.c (cpu_arch): Add .avx512bw, CPU_AVX512BW_FLAGS.
364 * doc/c-i386.texi: Document avx512bw/.avx512bw.
366 2014-07-22 Sergey Guriev <sergey.s.guriev@intel.com>
367 Alexander Ivchenko <alexander.ivchenko@intel.com>
368 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
369 Sergey Lega <sergey.s.lega@intel.com>
370 Anna Tikhonova <anna.tikhonova@intel.com>
371 Ilya Tocar <ilya.tocar@intel.com>
372 Andrey Turetskiy <andrey.turetskiy@intel.com>
373 Ilya Verbin <ilya.verbin@intel.com>
374 Kirill Yukhin <kirill.yukhin@intel.com>
375 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
377 * config/tc-i386.c (cpu_arch): Add .avx512vl, CPU_AVX512VL_FLAGS.
378 (build_vex_prefix): Don't abort on VEX.W.
379 (check_VecOperands): Support BROADCAST_1TO4 and BROADCAST_1TO2.
380 (check_VecOperations): Ditto.
381 * doc/c-i386.texi: Document avx512vl/.avx512vl.
383 2014-07-21 Joel Sherrill <joel.sherrill@oarcorp.com>
385 Add or reactivate or1k-*-rtems*
386 * gas/configure.tgt (or1k-*-rtems*): Add.
388 2014-07-17 Ilya Tocar <ilya.tocar@intel.com>
390 * config/tc-i386.c (parse_register): Set need_vrex.
392 2014-07-15 Jiong Wang <jiong.wang@arm.com>
394 * config/tc-arm.c (add_to_lit_pool): Use "inst.operands[1].imm" for
395 sign extension. Casting the type of imm1 and imm2 to offsetT. Fix
396 one logic error when checking X_op.
398 2014-07-14 Andreas Schwab <schwab@linux-m68k.org>
400 * config/tc-m68k.c (md_convert_frag_1): Don't complain with
401 --pcrel about TAB (DBCCLBR, LONG) conversion.
403 2014-07-12 David Majnemer <david.majnemer@gmail.com>
405 * read.c (assign_symbol): Don't force "set" symbols local for PE.
407 2014-07-08 Jiong Wang <jiong.wang@arm.com>
409 * config/tc-arm.c (literal_pool): New field "alignment".
410 (find_or_make_literal_pool): Initialize "alignment" to 2.
411 (s_ltorg): Align the pool using value of "alignment"
412 (parse_big_immediate): New parameter "in_exp". Return
413 parsed expression if "in_exp" is not null.
414 (parse_address_main): Invoke "parse_big_immediate" for
416 (add_to_lit_pool): Add one parameter 'nbytes'.
417 Split 8 byte entry into two 4 byte entry.
418 Add padding to align 8 byte entry to 8 byte boundary.
419 (encode_arm_cp_address): Generate literal pool entry if possible.
420 (move_or_literal_pool): Generate entry for vldr case.
421 (enum lit_type): New enum type.
422 (do_ldst): Use new enum type.
423 (do_ldstv4): Likewise.
424 (do_t_ldst): Likewise.
425 (neon_write_immbits): Support Thumb-2 mode.
427 2014-07-07 Barney Stratford <barney_stratford@fastmail.fm>
429 * config/tc-avr.c (avr_operand): Permit referring to r26-r31 by
430 name as [xyz][hl]. Permit using a symbol whoes name begins with
431 ‘r’ to refer to a register.
432 Allow arbitrary expressions for the P and p operators.
433 (md_apply_fix): Check the BFD_RELOC_AVR_PORT5 and
434 BFD_RELOC_AVR_PORT6 relocations.
436 2014-07-04 Alan Modra <amodra@gmail.com>
438 * doc/internals.texi: Update "configure.in" comments.
439 * acinclude.m4: Likewise.
440 * config/tc-sparc.c: Likewise.
442 2014-07-04 Alan Modra <amodra@gmail.com>
444 * configure.ac: Rename from configure.in.
445 * Makefile.in: Regenerate.
446 * config.in: Regenerate.
447 * doc/Makefile.in: Regenerate.
449 2014-07-04 Alan Modra <amodra@gmail.com>
451 * doc/Makefile.am (CONFIG_STATUS_DEPENDENCIES): Delete.
452 * doc/Makefile.in: Regenerate.
454 2014-07-04 Alan Modra <amodra@gmail.com>
456 * configure.in: Include bfd/version.m4.
457 (AC_INIT, AM_INIT_AUTOMAKE): Use modern form.
458 (BFD_VERSION): Delete.
459 * configure.com: Get bfd version from bfd/version.m4.
460 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Remove bfd/configure.in.
461 * configure: Regenerate.
462 * Makefile.in: Regenerate.
463 * doc/Makefile.in: Regenerate.
465 2014-07-01 Barney Stratford <barney_stratford@fastmail.fm>
466 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
467 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
468 Soundararajan <Sounderarajan.D@atmel.com>
470 * config/tc-avr.c (mcu_types): Add avrtiny arch.
471 Add avrtiny arch devices attiny4, attiny5, attiny9, attiny10, attiny20
473 (md_show_usage): Add avrtiny arch in usage message.
474 (avr_operand): validate and issue error for invalid register for
476 add new reloc exp for 16 bit lds/sts instruction.
477 (md_apply_fix): check 16 bit lds/sts operand for out of range and
479 (md_assemble): check ISA for arch and issue diagnostic.
480 * NEWS: Mention new support.
481 * doc/c-avr.texi: Document support for avrtiny architecture.
483 2014-06-27 Alan Modra <amodra@gmail.com>
485 * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Don't set
486 SYM_MACHO_FIELDS_NOT_VALIDATED after reporting an error.
487 (obj_mach_o_frob_label): Avoid cascading errors.
488 (obj_mach_o_frob_symbol): Don't set SYM_MACHO_FIELDS_NOT_VALIDATED.
490 2014-06-18 DJ Delorie <dj@redhat.com>
492 * config/rx-parse.y (BSET, BCLR, BTST, BNOT, BMCMD): Make .B
495 2014-06-17 Hans-Peter Nilsson <hp@bitrange.com>
497 * config/tc-mmix.c (loc_assert_s): New member frag.
499 (mmix_md_end): If an error is reported for a LOC expression, patch
502 2014-06-17 Chris Metcalf <cmetcalf@tilera.com>
505 * macro.c (buffer_and_nest): Honour #line directives inside
508 2014-06-17 Jiong Wang <jiong.wang@arm.com>
510 * config/tc-arm.c (depr_it_insns): New check for inc/dec sp.
512 2014-06-17 Hans-Peter Nilsson <hp@axis.com>
514 * config/tc-cris.c (cris_bad): New function.
515 (cris_process_instruction): Where applicable, use it instead of
518 2014-06-16 Nick Clifton <nickc@redhat.com>
520 * config/tc-aarch64.c (md_apply_fix): Ignore unused relocs.
522 2014-06-16 Jiong Wang <jiong.wang@arm.com>
524 * config/tc-aarch64.c (END_OF_INSN): New macro.
525 (parse_operands): Handle operand given and in wrong format when
528 2014-06-16 Alan Modra <amodra@gmail.com>
530 * write.h (subsegs_finish): Delete declaration.
531 * write.c (subsegs_finish): Make static.
532 (write_object_file): Call subsegs_finish from here. Don't print
533 warning and error count here..
534 * as.c (main): ..do so here instead. Remove dead code for "no
535 object file generated". Split out count strings to better support
536 internationalisation. Don't call subsegs_finish. Tidy setting of
537 "keep_it". Run write_object_file even after errors.
538 (keep_it): Make static.
539 * config/obj-elf.c (elf_frob_symbol): Remove assert.
540 (elf_frob_file_before_adjust): Likewise.
542 2014-06-16 Alan Modra <amodra@gmail.com>
544 * config/tc-dlx.c (machine_ip): Move initialisation of the_insn
547 2014-06-16 Alan Modra <amodra@gmail.com>
549 * config/tc-i386.c (reloc): Don't avoid pcrel check for
550 BFD_RELOC_SIZE64. Return NO_RELOC on failing pcrel check.
552 2014-06-16 Alan Modra <amodra@gmail.com>
554 * config/tc-tic6x.c (s_tic6x_ehtype): Clear after frag_more.
555 (tic6x_output_exidx_entry): Likewise.
556 (md_apply_fix): Simplify 1 byte md_number_to_chars.
558 2014-06-16 Alan Modra <amodra@gmail.com>
560 * config/tc-tic54x.c (tic54x_mlib): Don't write garbage past
561 end of archive to temp file.
562 (tic54x_start_line_hook): Start scan for parallel on next line,
563 not one char into next line (which may overrun the buffer).
565 2014-06-16 Alan Modra <amodra@gmail.com>
567 * config/tc-vax.c (md_apply_fix): Rewrite.
568 (tc_gen_reloc, vax_cons, vax_cons_fix_new): Style: Use NO_RELOC
569 define rather than the equivalent BFD_RELOC_NONE.
571 2014-06-16 Alan Modra <amodra@gmail.com>
573 * config/tc-arm.c (s_arm_elf_cons): Initialise after frag_more.
574 (md_apply_fix): Delete now unnecessary zeroing for BFD_RELOC_ARM_GOT*
575 and BFD_RELOC_ARM_TLS* relocs. Simplify BFD_RELOC_8 case.
577 2014-06-16 Alan Modra <amodra@gmail.com>
579 * config/tc-cris.c (md_create_long_jump): Follow "short" jump
580 with a nop rather than leaving uninitialised.
582 2014-06-13 Chen Gang <gang.chen.5i5j@gmail.com>
584 * config/tc-score7.c: Replace sprintf with strcpy where
586 (s7_b32_relax_to_b16): Use symbol_get_frag() to access a symbol's
588 * config/tc-score.c (s3_relax_branch_inst16): Likewise.
589 (s3_relax_cmpbranch_inst32): Likewise.
591 2014-06-07 Alan Modra <amodra@gmail.com>
593 * config/tc-ppc.c (ppc_insert_operand): Handle PPC_OPERAND_SIGNOPT
594 on unsigned fields. Comment on PPC_OPERAND_SIGNOPT signed fields
597 2014-06-02 Martin Storsjo <martin@martin.st>
599 * doc/c-aarch64.texi: Fix the documentation on :pg_hi21:.
601 2014-06-05 Joel Brobecker <brobecker@adacore.com>
603 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
604 bfd's development.sh.
605 * Makefile.in, configure: Regenerate.
607 2014-06-03 Nick Clifton <nickc@redhat.com>
609 * config/tc-msp430.c (OPTION_WARN_INTR_NOPS): Use y instead of z.
610 (OPTION_NO_WARN_INTR_NOPS): Use Y instead of Z.
611 * doc/c-msp430.texi: Update command line option description.
613 2014-05-22 Alan Modra <amodra@gmail.com>
615 * listing.c (listing_warning, listing_error): Add space after colon.
616 * messages.c (as_warn_internal, as_bad_internal): Use the same
619 2014-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
621 * config/tc-mips.c (file_mips_opts_checked): New static global.
622 (s_module): New static function.
624 (mips_pseudo_table): Add .module handler.
625 (mips_set_ase): Add opts argument and use instead of mips_opts.
626 (md_assemble): Use file_mips_check_options.
627 (md_parse_option): Update to use file_mips_opts instead of mips_opts.
628 (mips_set_architecture): Delete function. Moved to...
629 (mips_after_parse_args): Here. All logic now applies to
630 file_mips_opts first and then copies the final state to mips_opts.
631 Move error checking and defaults inference to mips_check_options and
632 file_mips_check_options.
633 (mips_check_options): New static function. Common option checking for
634 command line, .module and .set. Use .module values in error messages
635 instead of refering to command line options.
636 (file_mips_check_options): New static function. A wrapper for
637 mips_check_options with file_mips_opts. Updates BFD arch based on
639 (s_mipsset): Split into s_mipsset and parse_code_option. Settings
640 supported by both .set and .module are moved to parse_code_option.
641 Warnings and errors are kept in s_mipsset because when
642 parse_code_option is used with s_module the warnings are deferred
643 until code is generated. Any setting supporting 'default' value is
644 kept in s_mipsset as it is not applicable to s_module. Inferred
645 settings are also kept in s_mipsset as s_module does not infer any
646 settings. Use mips_check_options.
647 (parse_code_option): New static function derived from s_mipsset.
648 (s_module): New static function that implements .module. Allows file
649 level settings to be changed until code is generated.
650 (s_cpload, s_cpsetup, s_cplocal): Use file_mips_check_options.
651 (s_cprestore, s_cpreturn, s_cpadd, mips_address_bytes): Likewise.
652 (mips_elf_final_processing): Update file_ase to file_mips_opts.ase.
653 (md_mips_end): Use file_mips_check_options.
654 * doc/c-mips.texi: Document .module.
656 2014-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
658 * messages.c (as_warn_internal): Remove extra whitespace from
661 2014-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
663 * config/tc-mips.c (FP64_ASES): Add ASE_MSA.
664 (mips_after_parse_args): Do not select ASE_MSA without -mfp64.
666 2014-05-20 Mike Stump <mikestump@comcast.net>
668 * messages.c (as_warn_internal): Ensure we don't interleave output
669 within a single line when make -j is used.
670 (as_bad_internal): Likewise.
672 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
674 * config/obj-elf.h (obj_elf_seen_attribute): Declare.
675 * config/obj-elf.c (recorded_attribute_info): New structure.
676 (recorded_attributes): New variable.
677 (record_attribute, obj_elf_seen_attribute): New functions.
678 (obj_elf_vendor_attribute): Record which attributes have been seen.
680 2014-05-20 Nick Clifton <nickc@redhat.com>
682 * config/tc-msp430.c (CHECK_RELOC_MSP430): Add OP parameter.
683 Generate BFD_RELOC_MSP430_ABS_HI16 if vshift is 1.
684 (msp430_srcoperand): Store vshift value in operand.
686 2014-05-19 Nick Clifton <nickc@redhat.com>
689 * config/tc-i386.c (md_apply_fix): Improve the detection of code
690 symbols for 32-bit PE targets.
692 2014-05-18 Richard Sandiford <rdsandiford@googlemail.com>
694 * config/tc-mips.c (md_obj_begin): Delete.
695 (md_obj_end): Fold into...
696 (md_mips_end): ...here. Move to end of file.
698 2014-05-17 Nick Clifton <nickc@redhat.com>
701 * config/tc-v850.c (handle_ctoff): Generate an error if called
702 when using the RH850 ABI.
704 2014-05-16 Kaushik Phata <Kaushik.Phatak@kpit.com>
706 * config/tc-rl78.c (enum options): Add OPTION_32BIT_DOUBLES
707 and OPTION_64BIT_DOUBLES.
708 (md_longopts): Add -m32bit-doubles and -m64bit-doubles.
709 (md_parse_option): Parse -m32bit-doubles and -m64bit-doubles.
710 (md_show_usage): Show all of the RL78 options.
711 (rl78_float_cons): New static functions.
712 (md_pseudo_table): Update handler for "double".
713 * doc/c-rl78.texi: Document new options.
714 * doc/as.texinfo: Likewise.
716 2014-05-13 Matthew Fortune <matthew.fortune@imgtec.com>
718 * config/tc-mips.c (mips_set_options): Rename gp32 to gp throughout.
719 (HAVE_32BIT_GPRS, HAVE_64BIT_GPRS): Remove. Re-implement via GPR_SIZE.
720 (HAVE_32BIT_FPRS, HAVE_64BIT_FPRS): Remove. Re-implement via FPR_SIZE.
721 (GPR_SIZE, FPR_SIZE): New macros. Use throughout.
723 2014-05-08 Matthew Fortune <matthew.fortune@imgtec.com>
725 * config/tc-mips.c (md_parse_option): Update missed file_mips_isa
728 2014-05-08 Matthew Fortune <matthew.fortune@imgtec.com>
730 * config/tc-mips.c (mips_set_options): Rename fp32 field to fp.
731 Update fp32 == 0 to fp == 64 and fp32 == 1 to fp != 64 throughout.
732 (file_mips_gp32, file_mips_fp32, file_mips_soft_float,
733 file_mips_single_float, file_mips_isa, file_mips_arch): Merge into
735 (file_mips_opts): Here. New static global. Update throughout.
736 (mips_opts): Update defaults for gp32 and fp.
738 2014-05-08 Matthew Fortune <matthew.fortune@imgtec.com>
740 * config/tc-mips.c (streq): Define.
741 (mips_convert_symbolic_attribute): New function.
742 * config/tc-mips.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
743 (mips_convert_symbolic_attribute): New prototype.
745 2014-05-02 Max Filippov <jcmvbkbc@gmail.com>
747 * config/tc-xtensa.c (md_apply_fix): mark BFD_RELOC_XTENSA_DIFF*
750 2014-05-07 Andrew Bennett <andrew.bennett@imgtec.com>
752 * tc-mips.c (ISA_SUPPORTS_MIPS16E): Add mips32r3, mips32r5, mips64r3
754 (ISA_HAS_64BIT_FPRS): Likewise.
755 (ISA_HAS_ROR): Likewise.
756 (ISA_HAS_ODD_SINGLE_FPR): Likewise.
757 (ISA_HAS_MXHC1): Likewise.
758 (hilo_interlocks): Likewise.
759 (md_longopts): Likewise.
760 (ISA_HAS_64BIT_REGS): Add mips64r3 and mips64r5.
761 (ISA_HAS_DROR): Likewise.
762 (options): Add OPTION_MIPS32R3, OPTION_MIPS32R5, OPTION_MIPS64R3, and
764 (mips_isa_rev): Add support for mips32r3, mips32r5, mips64r3 and
766 (md_parse_option): Likewise.
767 (s_mipsset): Likewise.
768 (mips_cpu_info_table): Add entries for mips32r3, mips32r5, mips64r3
769 and mips64r5. Also change p5600 entry to be mips32r5.
770 * configure.in: Add support for mips32r3, mips32r5, mips64r3 and
772 * configure: Regenerate.
773 * doc/c-mips.texi: Document the -mips32r3, -mips32r5, -mips64r3 and
774 -mips64r5 command line options.
775 * doc/as.texinfo: Likewise.
777 2014-04-28 Nick Clifton <nickc@redhat.com>
780 * config/tc-i386.c (md_apply_fix): Do not adjust value of
781 pc-relative fixes against weak symbols.
783 2014-04-26 Alan Modra <amodra@gmail.com>
785 * po/POTFILES.in: Regenerate.
787 2014-04-24 Nick Clifton <nickc@redhat.com>
789 * config/tc-arm.c (s_ltorg): Only create a mapping symbol for ELF
792 2014-04-23 Will Newton <will.newton@linaro.org>
794 * config/tc-arm.c (s_ltorg): Call make_mapping_symbol
795 directly instead of mapping_state.
797 2014-04-23 Andrew Bennett <andrew.bennett@imgtec.com>
799 * config/tc-mips.c (options): Add OPTION_XPA and OPTION_NO_XPA.
800 (md_longopts): Add xpa and no-xpa command line options.
801 (mips_ases): Add MIPS XPA ASE.
802 (mips_cpu_info_table): Update p5600 entry to allow the XPA ASE.
803 * doc/as.texinfo: Document the MIPS XPA command line options.
804 * doc/c-mips.texi: Document the MIPS XPA command line options,
805 and assembler directives.
807 2014-04-22 Sandra Loosemore <sandra@codesourcery.com>
809 * config/tc-nios2.c (nios2_consume_arg): Add case for 'E' to
810 unbreak self-test mode.
812 2014-04-22 Max Filippov <jcmvbkbc@gmail.com>
814 * config/tc-xtensa.c (xtensa_handle_align): record alignment for the
817 2014-04-22 Christian Svensson <blue@cmd.nu>
819 * Makefile.am: Remove openrisc and or32 support. Add support for or1k.
820 * configure.in: Likewise.
821 * configure.tgt: Likewise.
822 * doc/as.texinfo: Likewise.
823 * config/obj-coff.h: Likewise.
824 * config/tc-or1k.c: New file.
825 * config/tc-or1k.h: New file.
826 * config/tc-openrisc.c: Delete.
827 * config/tc-openrisc.h: Delete.
828 * config/tc-or32.c: Delete.
829 * config/tc-or32.h: Delete.
830 * Makefile.in: Regenerate.
831 * configure: Regenerate.
833 2014-04-16 Alan Modra <amodra@gmail.com>
835 * config/tc-tilegx.h (TC_CONS_FIX_NEW): Add RELOC arg.
836 * config/tc-tilepro.h (TC_CONS_FIX_NEW): Likewise.
838 2014-04-10 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
840 * config/tc-avr.c: Add new flag mlink-relax.
841 (md_show_usage): Add flag and help text.
842 (md_parse_option): Record whether link relax is turned on.
843 (relaxable_section): New.
844 (avr_validate_fix_sub): New.
845 (avr_force_relocation): New.
846 (md_apply_fix): Generate DIFF reloc.
847 (avr_allow_local_subtract): New.
849 * config/tc-avr.h (TC_LINKRELAX_FIXUP): Define to 0.
850 (TC_FORCE_RELOCATION): Define.
851 (TC_FORCE_RELOCATION_SUB_SAME): Define.
852 (TC_VALIDATE_FIX_SUB): Define.
853 (avr_force_relocation): Declare.
854 (avr_validate_fix_sub): Declare.
855 (md_allow_local_subtract): Define.
856 (avr_allow_local_subtract): Declare.
858 2014-04-10 Andrew Bennett <andrew.bennett@imgtec.com>
860 * config/tc-mips.c (mips_cpu_info_table): Add P5600
862 * doc/c-mips.texi: Document p5600.
864 2014-04-09 Nick Clifton <nickc@redhat.com>
866 * config/tc-rl78.h (TC_CONS_FIX_NEW): Add RELOC parameter.
867 * config/tc-z80.h (TC_CONS_FIX_NEW): Discard RELOC parameter.
868 * config/tc-aarch64.h (TC_CONS_FIX_NEW): Discard RELOC parameter.
869 * read.c (emit_expr_fix): Mark the r parameter as potentially
872 2014-04-09 Alan Modra <amodra@gmail.com>
874 * config/tc-ppc.c (warn_476, last_insn, last_seg, last_subseg):
876 (md_longopts, md_parse_option, md_show_usage): Add --ppc476-workaround.
877 (ppc_elf_cons_fix_check): New function.
878 (md_assemble): Set last_insn, last_seg, last_subseg.
879 (ppc_byte, md_apply_fix): Handle warn_476.
880 * config/tc-ppc.h (TC_CONS_FIX_CHECK): Define.
881 (ppc_elf_cons_fix_check): Declare.
882 * read.c (cons_worker): Invoke TC_CONS_FIX_CHECK.
884 2014-04-09 Alan Modra <amodra@gmail.com>
886 * gas/config/tc-alpha.h (TC_CONS_FIX_NEW): Add RELOC parameter.
887 * gas/config/tc-arc.c (arc_cons_fix_new): Add reloc parameter.
888 * gas/config/tc-arc.h (arc_cons_fix_new): Update prototype.
889 (TC_CONS_FIX_NEW): Add RELOC parameter.
890 * gas/config/tc-arm.c (cons_fix_new_arm): Similarly
891 * gas/config/tc-arm.h (cons_fix_new_arm, TC_CONS_FIX_NEW): Similarly.
892 * gas/config/tc-cr16.c (cr16_cons_fix_new): Similarly.
893 * gas/config/tc-cr16.h (cr16_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
894 * gas/config/tc-crx.h (TC_CONS_FIX_NEW): Similarly.
895 * gas/config/tc-m32c.c (m32c_cons_fix_new): Similarly.
896 * gas/config/tc-m32c.h (m32c_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
897 * gas/config/tc-mn10300.c (mn10300_cons_fix_new): Similarly.
898 * gas/config/tc-mn10300.h (mn10300_cons_fix_new, TC_CONS_FIX_NEW):
900 * gas/config/tc-ns32k.c (cons_fix_new_ns32k): Similarly.
901 * gas/config/tc-ns32k.h (cons_fix_new_ns32k): Similarly.
902 * gas/config/tc-pj.c (pj_cons_fix_new_pj): Similarly.
903 * gas/config/tc-pj.h (pj_cons_fix_new_pj, TC_CONS_FIX_NEW): Similarly.
904 * gas/config/tc-rx.c (rx_cons_fix_new): Similarly.
905 * gas/config/tc-rx.h (rx_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
906 * gas/config/tc-sh.c (sh_cons_fix_new): Similarly.
907 * gas/config/tc-sh.h (sh_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
908 * gas/config/tc-tic54x.c (tic54x_cons_fix_new): Similarly.
909 * gas/config/tc-tic54x.h (tic54x_cons_fix_new, TC_CONS_FIX_NEW):
911 * gas/config/tc-tic6x.c (tic6x_cons_fix_new): Similarly.
912 * gas/config/tc-tic6x.h (tic6x_cons_fix_new, TC_CONS_FIX_NEW):
914 * gas/config/tc-arc.c (arc_parse_cons_expression): Return reloc.
915 * gas/config/tc-arc.h (arc_parse_cons_expression): Update proto.
916 * gas/config/tc-avr.c (exp_mod_data): Make global.
917 (pexp_mod_data): Delete.
918 (avr_parse_cons_expression): Return exp_mod_data pointer.
919 (avr_cons_fix_new): Add exp_mod_data_t pointer param.
920 (exp_mod_data_t): Move typedef..
921 * gas/config/tc-avr.h: ..to here.
922 (exp_mod_data): Declare.
923 (TC_PARSE_CONS_RETURN_TYPE, TC_PARSE_CONS_RETURN_NONE): Define.
924 (avr_parse_cons_expression, avr_cons_fix_new): Update prototype.
925 (TC_CONS_FIX_NEW): Update.
926 * gas/config/tc-hppa.c (hppa_field_selector): Delete static var.
927 (cons_fix_new_hppa): Add hppa_field_selector param.
928 (fix_new_hppa): Adjust.
929 (parse_cons_expression_hppa): Return field selector.
930 * gas/config/tc-hppa.h (parse_cons_expression_hppa): Update proto.
931 (cons_fix_new_hppa): Likewise.
932 (TC_PARSE_CONS_RETURN_TYPE, TC_PARSE_CONS_RETURN_NONE): Define.
933 * gas/config/tc-i386.c (got_reloc): Delete static var.
934 (x86_cons_fix_new): Add reloc param.
935 (x86_cons): Return got reloc.
936 * gas/config/tc-i386.h (x86_cons, x86_cons_fix_new): Update proto.
937 (TC_CONS_FIX_NEW): Add RELOC param.
938 * gas/config/tc-ia64.c (ia64_cons_fix_new): Add reloc param. Adjust
940 * gas/config/tc-ia64.h (ia64_cons_fix_new): Update prototype.
941 (TC_CONS_FIX_NEW): Add reloc param.
942 * gas/config/tc-microblaze.c (parse_cons_expression_microblaze):
944 (cons_fix_new_microblaze): Add reloc param.
945 * gas/config/tc-microblaze.h: Formatting.
946 (parse_cons_expression_microblaze): Update proto.
947 (cons_fix_new_microblaze): Likewise.
948 * gas/config/tc-nios2.c (nios2_tls_ldo_reloc): Delete static var.
949 (nios2_cons): Return ldo reloc.
950 (nios2_cons_fix_new): Delete.
951 * gas/config/tc-nios2.h (nios2_cons): Update prototype.
952 (nios2_cons_fix_new, TC_CONS_FIX_NEW): Delete.
953 * gas/config/tc-ppc.c (md_pseudo_table): Remove quad, long, word,
954 short. Make llong use cons.
955 (ppc_elf_suffix): Return BFD_RELOC_NONE rather than BFD_RELOC_UNUSED.
956 (ppc_elf_cons): Delete.
957 (ppc_elf_parse_cons): New function.
958 (ppc_elf_validate_fix): Don't check for BFD_RELOC_UNUSED.
959 (md_assemble): Use BFD_RELOC_NONE rather than BFD_RELOC_UNUSED.
960 * gas/config/tc-ppc.h (TC_PARSE_CONS_EXPRESSION): Define
961 (ppc_elf_parse_cons): Declare.
962 * gas/config/tc-sparc.c (sparc_cons_special_reloc): Delete static var.
963 (sparc_cons): Return reloc specifier.
964 (cons_fix_new_sparc): Add reloc specifier param.
965 (sparc_cfi_emit_pcrel_expr): Use emit_expr_with_reloc.
966 * gas/config/tc-sparc.h (TC_PARSE_CONS_RETURN_TYPE): Define.
967 (TC_PARSE_CONS_RETURN_NONE): Define.
968 (sparc_cons, cons_fix_new_sparc): Update prototype.
969 * gas/config/tc-v850.c (hold_cons_reloc): Delete static var.
970 (v850_reloc_prefix): Use BFD_RELOC_NONE rather than BFD_RELOC_UNUSED.
971 (md_assemble): Likewise.
972 (parse_cons_expression_v850): Return reloc.
973 (cons_fix_new_v850): Add reloc parameter.
974 * gas/config/tc-v850.h (parse_cons_expression_v850): Update proto.
975 (cons_fix_new_v850): Likewise.
976 * gas/config/tc-vax.c (vax_cons_special_reloc): Delete static var.
977 (vax_cons): Return reloc.
978 (vax_cons_fix_new): Add reloc parameter.
979 * gas/config/tc-vax.h (vax_cons, vax_cons_fix_new): Update proto.
980 * gas/config/tc-xstormy16.c (xstormy16_cons_fix_new): Add reloc param.
981 * gas/config/tc-xstormy16.h (xstormy16_cons_fix_new): Update proto.
982 * gas/dwarf2dbg.c (TC_PARSE_CONS_RETURN_NONE): Provide default.
983 (emit_fixed_inc_line_addr): Adjust exmit_expr_fix calls.
984 * gas/read.c (TC_PARSE_CONS_EXPRESSION): Return value.
985 (do_parse_cons_expression): Adjust.
986 (cons_worker): Pass return value from TC_PARSE_CONS_EXPRESSION
987 to emit_expr_with_reloc.
988 (emit_expr_with_reloc): New function handling reloc, mostly
991 (emit_expr_fix): Add reloc param. Adjust TC_CONS_FIX_NEW invocation.
993 (parse_mri_cons): Convert to ISO.
994 * gas/read.h (TC_PARSE_CONS_RETURN_TYPE): Define.
995 (TC_PARSE_CONS_RETURN_NONE): Define.
996 (emit_expr_with_reloc): Declare.
997 (emit_expr_fix): Update prototype.
998 * gas/write.c (write_object_file): Update TC_CONS_FIX_NEW invocation.
1000 2014-04-03 Ilya Tocar <ilya.tocar@intel.com>
1002 * config/tc-i386.c (cpu_arch): Add .se1.
1003 * doc/c-i386.texi: Document .se1/se1.
1005 2014-04-02 DJ Delorie <dj@redhat.com>
1007 * config/tc-rl78.c (md_apply_fix): Add overflow warnings for
1008 pc-relative branches.
1010 2014-04-02 Nick Clifton <nickc@redhat.com>
1013 * config/tc-arm.c (create_unwind_entry): Report an error if an
1014 attempt to recreate an unwind directive is encountered.
1016 2014-03-27 Nick Clifton <nickc@redhat.com>
1018 * config/tc-score.c (s3_parse_pce_inst): Add "%s" parameter to
1019 sprintf in order to avoid a compile time warning.
1021 2014-03-26 Nick Clifton <nickc@redhat.com>
1023 * config/tc-rl78.c (rl78_op): Issue an error message if a 16-bit
1024 relocation is used on an 8-bit operand or vice versa.
1025 (tc_gen_reloc): Use the RL78_16U relocation for RL78_CODE.
1026 (md_apply_fix): Add support for RL78_HI8, RL78_HI16 and RL78_LO16.
1028 2014-03-25 Nick Clifton <nickc@redhat.com>
1030 * config/obj-coff-seh.c (obj_coff_seh_code): New function -
1031 switches the current segment back to the code segment recorded
1032 when seh_proc was last invoked.
1033 * config/obj-coff-seh.h (SEH_CMDS): Add seh_code.
1035 2014-03-25 Alan Modra <amodra@gmail.com>
1037 * config/tc-ppc.c (ppc_is_toc_sym): Revert 2014-03-05.
1038 (md_assemble): Likewise. Warn.
1040 2014-03-21 David Weatherford <weath@cadence.com>
1041 Max Filippov <jcmvbkbc@gmail.com>
1043 * config/tc-xtensa.c (xtensa_check_frag_count)
1044 xtensa_create_trampoline_frag,
1045 xtensa_maybe_create_trampoline_frag, init_trampoline_frag,
1046 find_trampoline_seg, search_trampolines, get_best_trampoline,
1047 check_and_update_trampolines, add_jump_to_trampoline,
1048 dump_trampolines): New functions.
1049 (md_parse_option): Add cases for --[no-]trampolines options.
1050 (md_assemble, finish_vinsn, xtensa_end): Add call to
1051 xtensa_check_frag_count.
1052 (xg_assemble_vliw_tokens): Add call to
1053 xtensa_maybe_create_trampoline_frag.
1054 (xtensa_relax_frag): Relax fragments with RELAX_TRAMPOLINE state.
1055 (relax_frag_immed): Relax jump instructions that cannot reach its
1057 * config/tc-xtensa.h (xtensa_relax_statesE::RELAX_TRAMPOLINE): New
1059 * doc/as.texinfo: Document --[no-]trampolines command-line options.
1060 * doc/c-xtensa.texi: Document trampolines relaxation and command
1062 * frags.c (get_frag_count, clear_frag_count): New function.
1063 (frag_alloc): Increment totalfrags counter.
1064 * frags.h (get_frag_count, clear_frag_count): New function.
1066 2014-03-20 DJ Delorie <dj@redhat.com>
1068 * config/rl78-defs.h (RL78_RELAX_NONE, RL78_RELAX_BRANCH): Add.
1069 * config/rl78-parse.y (BC, BNC, BZ, BNZ, BH, BHZ, bt_bf): Call
1071 * config/tc-rl78.h (md_relax_frag): Define.
1072 (rl78_relax_frag): Declare.
1073 * config/tc-rl78.c (rl78_relax): Add.
1074 (md_assemble): Set up the variable frags also when relaxing.
1076 (rl78_opcode_type): New.
1077 (rl78_frag_fix_value): New.
1078 (md_estimate_size_before_relax): New-ish.
1079 (rl78_relax_frag): New.
1080 (md_convert_frag): New-ish.
1082 2014-03-20 Richard Sandiford <rdsandiford@googlemail.com>
1084 * config/tc-mips.h (DIFF_EXPR_OK, CFI_DIFF_EXPR_OK): Define.
1085 * config/tc-mips.c (md_pcrel_from): Remove error message.
1086 (md_apply_fix): Convert PC-relative BFD_RELOC_32s to
1087 BFD_RELOC_32_PCREL. Report a specific error message for unhandled
1088 PC-relative expressions. Handle BFD_RELOC_8.
1090 2014-03-19 Jose E. Marchesi <jose.marchesi@oracle.com>
1092 * config/tc-sparc.c (hpriv_reg_table): Added entries for
1093 %hstick_offset and %hstick_enable.
1094 * doc/c-sparc.texi (Sparc-Regs): Document the %hstick_offset and
1095 %hstick_enable hyperprivileged registers.
1097 2014-03-19 Daniel Gutson <daniel.gutson@tallertechnologies.com>
1098 Nick Clifton <nickc@redhat.com>
1100 * config/tc-arm.c (codecomposer_syntax): New flag that states whether the
1101 CCS syntax compatibility mode is on or off.
1102 (asmfunc_states): New enum to represent the asmfunc directive state.
1103 (asmfunc_state): New variable holding the asmfunc directive state.
1104 (comment_chars): Rename to arm_comment_chars.
1105 (line_separator_chars): Rename to arm_line_separator_chars.
1106 (s_ccs_ref): New function that handles the .ref directive.
1107 (asmfunc_debug): New function.
1108 (s_ccs_asmfunc): New function that handles the .asmfunc directive.
1109 (s_ccs_endasmfunc): New function that handles the .endasmfunc directive.
1110 (s_ccs_def): New function that handles the .def directive.
1111 (tc_start_label_without_colon): New function.
1112 (md_pseudo_table): Added new CCS directives.
1113 (arm_ccs_mode): New function that handles the -mccs command line option.
1114 (arm_long_opts): Added new -mccs command line option.
1115 * config/tc-arm.h (LABELS_WITHOUT_COLONS): New macro.
1116 (TC_START_LABEL_WITHOUT_COLON): New macro.
1117 (tc_start_label_without_colon): Added extern function declaration.
1118 (tc_comment_chars): Define.
1119 (tc_line_separator_chars): Define.
1120 * app.c (do_scrub_begin): Use tc_line_separator_chars, if defined.
1121 * read.c (read_begin): Likewise.
1122 * doc/as.texinfo: Add documentation for the -mccs command line
1124 * doc/c-arm.texi: Likewise.
1125 * doc/internals.texi: Document tc_line_separator_chars.
1126 * NEWS: Mention the new feature.
1128 2014-03-18 Jiong Wang <jiong.wang@arm.com>
1130 * config/tc-aarch64.c (aarch64_opts): Add new option
1131 "mno-verbose-error".
1132 (verbose_error_p): Initialize to 1.
1133 * doc/c-aarch64.texi (AArch64 Options): Document -mverbose-error
1134 and -mno-verbose-error.
1136 2014-03-17 Nick Clifton <nickc@redhat.com>
1139 * config/tc-arm.c (tc_arm_regname_to_dw2regnum): Parse VFP
1142 2014-03-13 Richard Earnshaw <rearnsha@arm.com>
1143 Jiong Wang <Jiong.Wang@arm.com>
1145 * doc/c-aarch64.texi: Clean up some formatting issues.
1146 (AArch64 Options): Document -mcpu and -march.
1147 (AArch64 Extensions): New node.
1149 2014-03-13 Tristan Gingold <gingold@adacore.com>
1151 * config/tc-i386.c (use_big_obj): Declare.
1152 (OPTION_MBIG_OBJ): Define.
1153 (md_longopts): Add -mbig-obj option.
1154 (md_parse_option): Handle it.
1155 (md_show_usage): Display help for this option.
1156 (i386_target_format): Use bigobj for x86-64 if -mbig-obj.
1157 * doc/c-i386.texi: Document the option.
1159 2014-03-12 Nick Clifton <nickc@redhat.com>
1162 * config/tc-aarch64.c (literal_expression): New structure.
1163 (literal_pool): Replace exp array with literal_expression array.
1164 (add_to_lit_pool): When adding a bignum cache the big value.
1165 (s_ltorg): When emitting a bignum initialise the global bignum
1166 array from the cached value.
1168 2014-03-12 Alan Modra <amodra@gmail.com>
1170 * Makefile.in: Regenerate.
1171 * config.in: Regenerate.
1172 * doc/Makefile.in: Regenerate.
1174 2014-03-06 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1175 Vishnu KS <Vishnu.k_s@atmel.com>
1176 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1177 Soundararajan <Soundararajan.dhakshinamoorthy@atmel.com>
1179 * gas/tc-avr.c: Add new devices
1180 avr25: ata5272, attiny828
1181 avr35: ata5505, attiny1634
1182 avr4: atmega8a, ata6285, ata6286, atmega48pa
1183 avr5: at90pwm161, ata5790, ata5795, atmega164pa, atmega165pa,
1184 atmega168pa, atmega32a, atmega64rfr2, atmega644rfr2, atmega64a,
1186 avr51: atmega128a, atmega1284
1187 avrxmega2: atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4,
1188 atxmega32e5, atxmega16e5, atxmega8e5
1189 avrxmega4: atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3,
1190 atxmega64c3, atxmega64d4
1191 avrxmega6: atxmega128a3u, atxmega128b3, atxmega128c3,
1192 atxmega128d4, atxmega192a3u, atxmega192c3, atxmega256a3u,
1193 atxmega256c3, atxmega384c3, atxmega384d3
1194 avrxmega7: atxmega128a4u
1195 * doc/c-avr.texi: Ditto.
1197 2014-03-05 Alan Modra <amodra@gmail.com>
1199 Update copyright years.
1201 2014-03-05 Alan Modra <amodra@gmail.com>
1203 * config/tc-ppc.c (ppc_elf_suffix): Support @localentry.
1204 (md_apply_fix): Support R_PPC64_ADDR64_LOCAL.
1206 2014-03-05 Alan Modra <amodra@gmail.com>
1208 * config/tc-ppc.c (md_assemble): Move code adjusting reloc types
1209 later. Merge absolute and relative branch reloc selection.
1210 Generate 16-bit relocs for most 16-bit insn fields given a
1211 non-constant expression.
1213 2014-03-05 Alan Modra <amodra@gmail.com>
1215 * config/tc-ppc.c (ppc_is_toc_sym): Remove OBJ_ELF support.
1216 (md_assemble): Don't call ppc_is_toc_sym for ELF.
1218 2014-03-04 Heiher <r@hev.cc>
1220 * config/tc-mips.c (mips_cpu_info_table): Use ISA_MIPS64R2 for
1223 2014-03-03 Nick Clifton <nickc@redhat.com>
1225 * config/msp430/msp430.c: Replace known mcu array with known
1226 msp430 ISA mcu name array.
1227 Accept any name for -mmcu option.
1228 Add -mz option to warn about missing NOP following an interrupt
1230 (check_for_nop): New.
1231 (msp430_operands): Emit a warning, if requested, when an interrupt
1232 changing instruction is not followed by a NOP.
1233 * doc/c-msp430.c: Document -mz option.
1235 2014-03-03 Alan Modra <amodra@gmail.com>
1237 * config/bfin-lex-wrapper.c: Correct copyright date.
1238 * config/obj-fdpicelf.c: Likewise.
1239 * config/obj-fdpicelf.h: Likewise.
1240 * config/tc-frv.c: Correct copyright punctuation.
1241 * config/tc-ip2k.c: Likewise.
1242 * config/tc-iq2000.c: Likewise.
1243 * config/tc-mep.c: Likewise.
1244 * config/tc-tic4x.c: Likewise.
1245 * config/tc-tic4x.h: Likewise.
1247 2014-03-01 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1249 * config/tc-avr.c: Remove atxmega16x1.
1251 2014-02-28 Alan Modra <amodra@gmail.com>
1253 * dwarf2dbg.c (out_debug_line): Correct .debug_line header_length
1254 field for 64-bit dwarf.
1256 2014-02-21 Ilya Tocar <ilya.tocar@intel.com>
1258 * config/tc-i386.c (cpu_arch): Add .prefetchwt1.
1259 * doc/c-i386.texi: Document .prefetchwt1/prefetchwt1.
1261 2014-02-12 Ilya Tocar <ilya.tocar@intel.com>
1263 * config/tc-i386.c (cpu_arch): Add .clflushopt, .xsavec, .xsaves.
1264 * doc/c-i386.texi: Document .xsavec/xsavec/.xsaves/xsaves/
1265 clflushopt/.clfushopt.
1267 2014-02-10 Alan Modra <amodra@gmail.com>
1269 * po/POTFILES.in: Regenerate.
1270 * po/gas.pot: Regenerate.
1272 2014-02-03 Sandra Loosemore <sandra@codesourcery.com>
1274 * config/tc-nios2.c (md_apply_fix): Test for new relocs.
1275 (nios2_special_reloc): Add %call_lo, %call_hiadj, %got_lo,
1276 %got_hiadj relocation operators. Sort table and add comment
1277 to explain ordering.
1278 (nios2_fix_adjustable): Test for new relocs.
1279 * doc/c-nios2.texi (Nios II Relocations): Document new relocation
1282 2014-01-30 Sandra Loosemore <sandra@codesourcery.com>
1284 * config/tc-nios2.c (md_apply_fix): Handle BFD_RELOC_NIOS2_CALL26_NOAT.
1285 (nios2_assemble_args_m): Likewise.
1286 (md_assemble): Likewise.
1288 2014-01-24 DJ Delorie <dj@redhat.com>
1290 * config/tc-msp430.c (msp430_section): Always flag data sections,
1292 (msp430_frob_section): New. Make sure all sections are noticed if
1294 (msp430_lcomm): New. Flag bss if .lcomm is seen.
1295 (msp430_comm): New. Likewise.
1296 (md_pseudo_table): Add them.
1297 * config/tc-msp430.h (msp430_frob_section): Declare.
1298 (tc_frob_section): Define.
1300 2014-01-23 Nick Clifton <nickc@redhat.com>
1302 * config/tc-msp430.c (show_mcu_list): Delete.
1303 (md_parse_option): Accept any MCU name. Accept several more
1304 variants for the -mcpu option.
1305 (md_show_usage): Do not call show_mcu_list.
1307 2014-01-22 DJ Delorie <dj@redhat.com>
1309 * config/tc-msp430.c (msp430_refsym): New: ".refsym <symbol>"
1310 * doc/c-msp430.texi (MSP430 Directives): Document it.
1312 2014-01-22 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
1314 * config/tc-i386.c (check_VecOperands): Remove regzmm from AVX2
1317 2014-01-22 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
1320 * config/tc-i386.c (check_VecOperands): Add check for invalid
1321 register set in AVX512 gathers.
1323 2014-01-22 Alan Modra <amodra@gmail.com>
1325 * config/tc-tic4x.c (md_shortopts): s/CONST/const/.
1327 2014-01-21 DJ Delorie <dj@redhat.com>
1329 * config/tc-rl78.c (require_end_of_expr): New.
1330 (md_operand): Call it.
1331 (rl78_cons_fix_new): Mark LO16, HI16, ahd HI8 internal relocations
1334 2014-01-17 Will Newton <will.newton@linaro.org>
1336 * config/tc-arm.c (do_vfp_nsyn_cvt_fpv8): Set OP to 1
1337 for the s32.f64 flavours of VCVT.
1339 2014-01-14 Nick Clifton <nickc@redhat.com>
1342 * config/tc-z80.c (wrong_match): Provide format string to
1344 (parse_exp_not_indexed): Delete unused variable dummy.
1345 (emit_byte): Delete unused variable fixp.
1347 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
1349 * config/tc-i386.c (regbnd): Removed.
1350 (vec_disp8): Likewise.
1352 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
1354 * as.c (parse_args): Update copyright year to 2014.
1356 2014-01-07 Tom Tromey <tromey@redhat.com>
1358 * config/tc-tic30.c (debug): Avoid old VA_* compatibility
1361 2014-01-07 Tom Tromey <tromey@redhat.com>
1363 * config/tc-microblaze.h (parse_cons_expression_microblaze): Don't
1366 2014-01-07 Tom Tromey <tromey@redhat.com>
1368 * config/tc-xc16x.h: Don't use ANSI_PROTOTYPES.
1370 2013-01-07 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1372 * config/tc-aarch64.c (aarch64_cpus): Add entry for "xgene-1"
1374 For older changes see ChangeLog-2013
1376 Copyright (C) 2014 Free Software Foundation, Inc.
1378 Copying and distribution of this file, with or without modification,
1379 are permitted in any medium without royalty provided the copyright
1380 notice and this notice are preserved.
1386 version-control: never