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