PPC gold doesn't check for overflow properly
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
54a28c4c
JW
12014-11-19 Ryan Mansfield <rmansfield@qnx.com>
2
3 * config/tc-aarch64.c (md_assemble): Call warn_unpredictable_ldst.
4 (warn_unpredictable_ldst): New.
5
d258b828
IZ
62014-11-18 Igor Zamyatin <igor.zamyatin@intel.com>
7
8 * config/tc-i386-intel.c (i386_operator): Remove last argument
9 from lex_got call.
10 * config/tc-i386.c (reloc): Remove bnd_prefix from parameters'
11 list. Return always BFD_RELOC_32_PCREL.
12 * (output_branch): Remove condition for BFD_RELOC_X86_64_PC32_BND.
13 * (output_jump): Update call to reloc accordingly.
14 * (output_interseg_jump): Likewise.
15 * (output_disp): Likewise.
16 * (output_imm): Likewise.
17 * (x86_cons_fix_new): Likewise.
18 * (lex_got): Remove bnd_prefix from parameters' list in macro and
19 declarations. Don't use BFD_RELOC_X86_64_PLT32_BND.
20 * (x86_cons): Update call to lex_got accordingly.
21 * (i386_immediate): Likewise.
22 * (i386_displacement): Likewise.
23 * (md_apply_fix): Don't use BFD_RELOC_X86_64_PLT32_BND nor
24 BFD_RELOC_X86_64_PC32_BND.
25 * (tc_gen_reloc): Likewise.
26
ae527cd8
JB
272014-11-18 Jan Beulich <jbeulich@suse.com>
28
29 * config/tc-aarch64.c (s_aarch64_arch_extension): New.
30 (md_pseudo_table): Add arch_extension.
31 (aarch64_parse_features): New parameter "ext_only". Handle it.
32 (aarch64_parse_cpu, aarch64_parse_arch, s_aarch64_cpu,
33 s_aarch64_arch): Pass FALSE as new third argument of
34 aarch64_parse_features().
35
0a9ce86d
PT
362014-11-17 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
37
38 * config/tc-aarch64.c (aarch64_cpus): Add "xgene2".
39 * doc/c-aarch64.texi: Document it.
40
070cb956
PT
412014-11-17 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
42
43 * config/tc-aarch64.c (aarch64_cpus): Add "xgene1".
44 * doc/c-aarch64.texi: Rename xgene-1 to xgene1.
45
14f195c9
IT
462014-11-17 Ilya Tocar <ilya.tocar@intel.com>
47
48 * config/tc-i386.c (cpu_arch): Add .avx512vbmi.
49 * doc/c-i386.texi: Document it.
50
2cc1b5aa
IT
512014-11-17 Ilya Tocar <ilya.tocar@intel.com>
52
53 * config/tc-i386.c (cpu_arch): Add .avx512ifma.
54 * doc/c-i386.texi: Document it.
55
9d8596f0
IT
562014-11-17 Ilya Tocar <ilya.tocar@intel.com>
57
58 * config/tc-i386.c (cpu_arch): Add .pcommit.
59 * doc/c-i386.texi: Document it.
60
c5e7287a
IT
612014-11-17 Ilya Tocar <ilya.tocar@intel.com>
62
63 * config/tc-i386.c (cpu_arch): Add .clwb.
64 * doc/c-i386.texi: Document it.
65
1dfc6506
L
662014-11-14 H.J. Lu <hongjiu.lu@intel.com>
67
68 * config/tc-i386.c (cpu_arch): Re-arrange avx512* and xsave*
69 items.
70
71 * doc/c-i386.texi: Re-arrange avx512* and xsave*. Add
72 clflushopt and se1. Remove duplicated entries.
73
02c13551
MS
742014-11-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
75
76 * config/tc-aarch64.c (aarch64_cpus): Add CRC feature for
77 cortex-A53 and cortex-A57.
78
553d1284
L
792014-11-13 H.J. Lu <hongjiu.lu@intel.com>
80
81 PR gas/17598
82 * config/tc-i386.c (reloc): Support BFD_RELOC_X86_64_GOTPLT64.
83
a5c71af8
NC
842014-11-13 Nick Clifton <nickc@redhat.com>
85
86 PR binutils/17512
87 * config/obj-coff.c (coff_obj_symbol_new_hook): Set the is_sym
88 field.
89
09bc6c72
MS
902014-11-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
91
92 * config/tc-aarch64.c (aarch64_cpus): Remove example-1 and example-2.
93
abd58633
AM
942014-11-12 Alan Modra <amodra@gmail.com>
95
96 * config/tc-z80.c (parse_exp_not_indexed, parse_exp): Warning fixes.
97
6d19a37a
AM
982014-11-12 Alan Modra <amodra@gmail.com>
99
100 PR ld/17482
101 * config/tc-i386.c (output_insn): Don't test x86_elf_abi when
102 not ELF.
103
60984d52
NC
1042014-11-11 Nick Clifton <nickc@redhat.com>
105
106 * po/uk.po: Updated Ukranian translation.
107
cf61b747
L
1082014-11-07 H.J. Lu <hongjiu.lu@intel.com>
109
110 PR ld/17482
111 * config/tc-i386.c (output_insn): Add a dummy REX_OPCODE prefix
bda74918
L
112 for instructions with R_X86_64_GOTTPOFF relocation for x32 if
113 needed.
cf61b747 114
b4714c7c
SL
1152014-11-06 Sandra Loosemore <sandra@codesourcery.com>
116
117 * config/tc-nios2.c (nios2_diagnose_overflow): Adjust call to
118 nios2_find_opcode_hash.
119
09c14161
MF
1202014-11-05 Matthew Fortune <matthew.fortune@imgtec.com>
121
122 * config/tc-mips.c (mips_elf_final_processing): Add INSN_ISA32R6
123 and INSN_ISA64R6 support.
124
ed9e98c2
AM
1252014-11-04 Alan Modra <amodra@gmail.com>
126
127 * expr.c (expr_symbol_where): Don't use register keyword.
128 * app.c (app_push, app_pop, do_scrub_chars): Likewise.
129 * ecoff.c (add_string, add_ecoff_symbol, add_aux_sym_symint,
130 add_aux_sym_rndx, add_aux_sym_tir, add_procedure, add_file,
131 ecoff_build_lineno, ecoff_setup_ext, allocate_cluster.
132 allocate_scope, allocate_vlinks, allocate_shash,
133 allocate_thash, allocate_tag, allocate_forward, allocate_thead,
134 allocate_lineno_list): Likewise.
135 * frags.c (frag_more, frag_var, frag_variant, frag_wane): Likewise.
136 * input-file.c (input_file_push, input_file_pop): Likewise.
137 * input-scrub.c (input_scrub_push, input_scrub_next_buffer): Likewise.
138 * subsegs.c (subseg_change): Likewise.
139 * symbols.c (colon, symbol_table_insert, symbol_find_or_make)
140 (dollar_label_name, fb_label_name): Likewise.
141 * write.c (relax_align): Likewise.
142 * config/tc-alpha.c (s_alpha_pdesc): Likewise.
143 * config/tc-bfin.c (bfin_s_bss): Likewise.
144 * config/tc-i860.c (md_estimate_size_before_relax): Likewise.
145 * config/tc-m68hc11.c (md_convert_frag): Likewise.
146 * config/tc-m68k.c (m68k_ip, crack_operand): Likewise.
147 (md_convert_frag_1, s_even): Likewise.
148 * config/tc-mips.c (mips_clear_insn_labels): Likewise.
149 * config/tc-mn10200.c (md_begin): Likewise.
150 * config/tc-s390.c (s390_setup_opcodes, md_begin): Likewise.
151 * config/tc-sh.c (sh_elf_cons): Likewise.
152 * config/tc-tic4x.c (tic4x_cons, tic4x_stringer): Likewise.
153 * config/m68k-parse.y (m68k_reg_parse): Likewise. Convert from K&R.
154 (yylex, m68k_ip_op, yyerror): Convert from K&R.
155
127a8db1
AM
1562014-11-04 Alan Modra <amodra@gmail.com>
157
158 * config/tc-d10v.c (find_opcode): Call frag_now_fix_octets rather
159 than equivalent obstack_next_free expression.
160 * config/tc-d30v.c (find_format): Likewise.
161
99b4a5a0
NC
1622014-11-03 Nick Clifton <nickc@redhat.com>
163
164 * config/tc-msp430.c (msp430_srcoperand): Fix range test for
165 20-bit values.
166
2c629856
N
1672014-10-31 Andrew Pinski <apinski@cavium.com>
168 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
169
170 * config/tc-mips.c (CPU_IS_OCTEON): Handle CPU_OCTEON3.
171 (mips_cpu_info_table): Octeon3 enables virt ase.
172 * doc/c-mips.texi: Document octeon3 as an acceptable value for
173 -march=.
174
f803aa8e
DPT
1752014-10-30 Dr Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
176
177 * config/tc-aarch64.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define to 7.
178 * config/tc-aarch64.c (aarch64_handle_align): Rewrite to handle
179 large alignments with a constant fragment size of
180 MAX_MEM_FOR_RS_ALIGN_CODE.
181
64b588b5
NC
1822014-10-29 Nick Clifton <nickc@redhat.com>
183
184 * po/uk.po: New Ukranian translation.
185
96ba4233
SL
1862014-10-23 Sandra Loosemore <sandra@codesourcery.com>
187
188 * config/tc-nios2.c (nios2_insn_infoS): Add constant_bits field.
189 (nios2_arg_infoS, nios2_arg_hash, nios2_arg_lookup): Delete.
190 (nios2_control_register_arg_p): Delete.
191 (nios2_coproc_reg): Delete.
192 (nios2_relax_frag): Remove hard-coded instruction size.
193 (md_convert_frag): Use new insn accessor macros.
194 (nios2_diagnose_overflow): Remove hard-coded instruction size.
195 (md_apply_fix): Likewise.
196 (bad_opcode): New.
197 (nios2_parse_reg): New.
198 (nios2_assemble_expression): Remove prev_reloc parameter. Adjust
199 uses and callers.
200 (nios2_assemble_arg_c): New.
201 (nios2_assemble_arg_d): New.
202 (nios2_assemble_arg_s): New.
203 (nios2_assemble_arg_t): New.
204 (nios2_assemble_arg_i): New.
205 (nios2_assemble_arg_u): New.
206 (nios2_assemble_arg_o): New.
207 (nios2_assemble_arg_j): New.
208 (nios2_assemble_arg_l): New.
209 (nios2_assemble_arg_m): New.
210 (nios2_assemble_args): New.
211 (nios2_assemble_args_dst): Delete.
212 (nios2_assemble_args_tsi): Delete.
213 (nios2_assemble_args_tsu): Delete.
214 (nios2_assemble_args_sto): Delete.
215 (nios2_assemble_args_o): Delete.
216 (nios2_assemble_args_is): Delete.
217 (nios2_assemble_args_m): Delete.
218 (nios2_assemble_args_s): Delete.
219 (nios2_assemble_args_tis): Delete.
220 (nios2_assemble_args_dc): Delete.
221 (nios2_assemble_args_cs): Delete.
222 (nios2_assemble_args_ds): Delete.
223 (nios2_assemble_args_ldst): Delete.
224 (nios2_assemble_args_none): Delete.
225 (nios2_assemble_args_dsj): Delete.
226 (nios2_assemble_args_d): Delete.
227 (nios2_assemble_args_b): Delete.
228 (nios2_arg_info_structs): Delete.
229 (NIOS2_NUM_ARGS): Delete.
230 (nios2_consume_arg): Remove insn parameter. Use new macros.
231 Don't check register arguments here. Remove 'b' case.
232 (nios2_consume_separator): Move check for missing separators to...
233 (nios2_parse_args): ...here. Remove special case for optional
234 arguments.
235 (output_insn): Avoid using hard-coded insn size.
236 (output_ubranch): Likewise.
237 (output_cbranch): Likewise.
238 (output_call): Use new macros.
239 (output_addi): Likewise.
240 (output_ori): Likewise.
241 (output_xori): Likewise.
242 (output_movia): Likewise.
243 (md_begin): Remove nios2_arg_info_structs initialization.
244 (md_assemble): Initialize constant_bits field. Use
64b588b5 245 nios2_parse_args instead of looking up parse function in hash table.
96ba4233 246
f179c512
MF
2472014-10-22 Matthew Fortune <matthew.fortune@imgtec.com>
248
249 * doc/as.texinfo: Update the MIPS FP ABI descriptions.
250 * doc/c-mips.texi: Spell check and correct throughout.
251
7bb01e2d
MR
2522014-10-21 Maciej W. Rozycki <macro@codesourcery.com>
253
254 * config/tc-mips.c (s_insn): Set file options.
255
22201665
AP
2562014-10-21 Andrew Pinski <apinski@cavium.com>
257
258 * config/tc-aarch64.c (aarch64_cpus):
259 Add thunderx.
260 * doc/c-aarch64.texi: Document that thunderx
261 is a valid processor name.
262
e74211b6
JB
2632014-10-21 Jan Beulich <jbeulich@suse.com>
264
265 * read.c (HANDLE_CONDITIONAL_ASSEMBLY): New parameter "num_read".
266 (read_a_source_file): Adjust HANDLE_CONDITIONAL_ASSEMBLY
267 invocations.
268 (_find_end_of_line): Don't issue "stray '\\'" warning when in
269 false branch of conditional.
270
28f013d5
JB
2712014-10-21 Jan Beulich <jbeulich@suse.com>
272
273 * config/tc-aarch64.c (output_operand_error_record): Move down
274 assertion of idx being non-negative. Use local variables when
275 available.
276
a841bdf5
AM
2772014-10-18 Alan Modra <amodra@gmail.com>
278
279 PR 17493
280 * write.c (adjust_reloc_syms): Don't allow symbols in reg_section
281 to be reduced to reg_section section symbol.
282 * gas/config/tc-i386.c (i386_finalize_immediate): Reject all
283 reg_section immediates.
284
8bd97858
MF
2852014-10-17 Matthew Fortune <matthew.fortune@imgtec.com>
286
287 * doc/c-mips.texi: Fix bad @value references.
288
91dc4e0a
TG
2892014-10-15 Tristan Gingold <gingold@adacore.com>
290
291 * configure: Regenerate.
292
450ccef0
CG
2932014-10-15 Chen Gang <gang.chen.5i5j@gmail.com>
294
295 * config/tc-tic4x.c (md_assemble): Correct strncat size.
296
c50415e2
TG
2972014-10-14 Tristan Gingold <gingold@adacore.com>
298
299 * NEWS: Add marker for 2.25.
300
65879393
AM
3012014-10-14 Alan Modra <amodra@gmail.com>
302
303 PR 17453
304 * config/tc-i386.c (fits_in_signed_long): Use unsigned param and
305 expression to avoid signed overflow.
306 (fits_in_signed_byte, fits_in_unsigned_byte, fits_in_unsigned_word,
307 fits_in_signed_word, fits_in_unsigned_long): Similarly.
308 * expr.c (operand <'-'>): Avoid signed overflow.
309 * read.c (s_comm_internal): Likewise.
310
daf5e10e
AM
3112014-10-14 Alan Modra <amodra@gmail.com>
312
313 * config/tc-sparc.c (sparc_md_end): Fix unused variable warnings.
314
3152014-10-09 Jose E. Marchesi <jose.marchesi@oracle.com>
3d68f91c
JM
316
317 * config/tc-sparc.c (v9a_asr_table): Entry for %cps removed.
318 (sparc_arch_table): Remove the HWCAP_RANDOM, HWCAP_TRANS and
319 HWCAP_ASI_CACHE_SPARING from the architectures using them.
320 (HWS_V8): New define.
321 (HWS_V9): Likewise.
322 (HWS_VA): Likewise.
323 (HWS_VB): Likewise.
324 (HWS_VC): Likewise.
325 (HWS_VD): Likewise.
326 (HWS_VE): Likewise.
327 (HWS_VV): Likewise.
328 (sparc_arch): Use the HWS_* macros. Fix the `sparc4' architecture
329 to cover the HWCAP_ASI_BLK_INIT and HWCAP_IMA capabilities.
330 (hwcap_seen): Variable widened to 64 bits.
331 (hwcap_allowed): Likewise.
332 (sparc_arch): new field `hwcap2_allowed'.
333 (sparc_arch_table): provide hwcap2_allowed values for existing
334 archs.
335 (sparc_md_end): Add a HWCAPS2 object attribute to the elf object
336 in case any of the HWCAP2_* caps are used.
337 (sparc_ip): Take into account the new hwcaps2 bitmap to build the
338 list of seen/allowed hwcaps.
339 (get_hwcap_name): Argument widened to 64 bits to handle HWCAP2
340 bits.
341 (HWS_VM): New define.
342 (HWS2_VM): Likewise.
343 (sparc_arch): New architectures `sparc5', `v9m' and `v8plusm'.
344 (v9a_asr_table): Add the %mwait (%asr28) ancillary state register
345 to the table.
346 (sparc_ip): Handle the %mcdper ancillary state register as an
347 operand.
348 (sparc_ip): Handle } arguments as fdrd floating point registers
349 (double) that are the same than frs1.
350 * doc/c-sparc.texi (Sparc-Opts): Document the -Av9e, -Av8pluse and
351 -xarch=v9e command line options. Also fix the description of the
352 -Av9v and -Av8plusv command line options.
353 Document the -Av9m, -Av8plusm,-Asparc5, -xarch=v9m and
354 -xarch=sparc5 command line options.
355
d98b0e2b
TG
3562014-09-29 Terry Guo <terry.guo@arm.com>
357
358 * as.c (create_obj_attrs_section): Move it and call it from ...
359 * write.c (create_obj_attrs_section): ... here.
360 (subsegs_finish_section): Refactored.
361
5f3fd8b4
AM
3622014-09-27 Alan Modra <amodra@gmail.com>
363
364 * dwarf2dbg.c (all_segs_hash): Delete.
365 (get_line_subseg): Delete last_seg, last_subseg, last_line_subseg.
366 Retrieve line_seg for section via seg_info.
367 * subsegs.h (segment_info_typet): Add dwarf2_line_seg.
368
9e5e5283
L
3692014-09-23 H.J. Lu <hongjiu.lu@intel.com>
370
371 PR gas/17421
372 * config/tc-i386.c (md_assemble): Disallow VEX/EVEX encoded
373 instructions in 16-bit mode.
374
28a0da39
AM
3752014-09-22 Alan Modra <amodra@gmail.com>
376
377 * config/tc-m68k.c (md_assemble): Add assert to work around
378 bogus trunk gcc warning.
379 * config/tc-pj.h (md_convert_frag): Warning fix.
380 * config/tc-xtensa.c (xg_assemble_vliw_tokens): Warning fix.
381
2569ceb0
TG
3822014-09-17 Tristan Gingold <gingold@adacore.com>
383
384 * config/tc-arm.c (move_or_literal_pool, add_to_lit_pool): Use
385 bfd_int64_t instead of int64_t.
386
d3d3c6db
IT
3872014-09-16 Ilya Tocar <ilya.tocar@intel.com>
388
389 * config/tc-i386.c (evexrcig): New.
390 (build_evex_prefix): Force rounding bits.
391 (OPTION_MEVEXRCIG): New.
392 (md_longopts): Add mevexrcig.
393 (md_parse_option): Handle OPTION_MEVEXRCIG.
394 (md_show_usage): Document mevexrcig.
395 * doc/c-i386.texi (mevexrcig): Document new option.
396
1c8f6a4d
KLC
3972014-09-16 Kuan-Lin Chen <kuanlinchentw@gmail.com>
398
399 * config/tc-nds32.c (nds32_fsrs, nds32_fdrs, nds32_gprs): Remove.
400 (relax_table): Add new relaxation pattern.
401 (do_pseudo_la_internal, do_pseudo_ls_bhw): Expand for PIC suffix.
402 (do_pseudo_move, do_pseudo_neg, do_pseudo_pushpopm): Fix.
403 (get_range_type, nds32_elf_record_fixup_exp, nds32_get_align,
404 nds32_elf_build_relax_relation, md_assemble, invalid_prev_frag,
405 nds32_relax_frag, md_estimate_size_before_relax): Adjust relaxation.
406 (relocation_table): Remove.
407 (relax_ls_table): Load-store relaxation pattern.
408 (hint_map): Define-use chain pattern.
409 (nds32_find_reloc_table, nds32_match_hint_insn): Analysis
410 relaxation pattern.
411 (nds32_parse_name): Parse PIC suffix.
412 * config/tc-nds32.h: Declare.
413
a5094208
L
4142014-09-15 H.J. Lu <hongjiu.lu@intel.com>
415
416 * config/tc-i386.c (OPTION_omit_lock_prefix): Renamed to ...
417 (OPTION_OMIT_LOCK_PREFIX): This.
418 (md_longopts): Updated.
419 (md_parse_option): Likewise.
420
7361da2c
AB
4212014-09-15 Andrew Bennett <andrew.bennett@imgtec.com>
422 Matthew Fortune <matthew.fortune@imgtec.com>
423
424 * config/tc-mips.c (mips_nan2008): New static global.
425 (mips_flag_nan2008): Removed.
426 (LL_SC_FMT): New define.
427 (COP12_FMT): Updated.
428 (ISA_IS_R6): New define.
429 (ISA_HAS_64BIT_REGS): Add mips64r6.
430 (ISA_HAS_DROR): Likewise.
431 (ISA_HAS_64BIT_FPRS): Add mips32r6 and mips64r6.
432 (ISA_HAS_ROR): Likewise.
433 (ISA_HAS_ODD_SINGLE_FPR): Likewise.
434 (ISA_HAS_MXHC1): Likewise.
435 (hilo_interlocks): Likewise.
436 (md_longopts): Likewise.
437 (ISA_HAS_LEGACY_NAN): New define.
438 (options): Add OPTION_MIPS32R6 and OPTION_MIPS64R6.
439 (mips_ase): Add field rem_rev.
440 (mips_ases): Updated to add which ISA an ASE was removed in.
441 (mips_isa_rev): Add support for mips32r6 and mips64r6.
442 (mips_check_isa_supports_ase): Add support to check if an ASE
443 has been removed in the specified MIPS ISA revision.
444 (validate_mips_insn): Skip '-' character.
445 (macro_build): Likewise.
446 (mips_check_options): Prevent R6 working with fp32, mips16,
447 micromips, or branch relaxation.
448 (file_mips_check_options): Set R6 floating point registers to
449 64 bit. Also deal with the nan2008 option.
450 (limited_pcrel_reloc_p): Add relocs: BFD_RELOC_MIPS_21_PCREL_S2,
451 BFD_RELOC_MIPS_26_PCREL_S2, BFD_RELOC_MIPS_18_PCREL_S3,
452 BFD_RELOC_MIPS_19_PCREL_S2, BFD_RELOC_HI16_S_PCREL and
453 BFD_RELOC_LO16_PCREL.
454 (operand_reg_mask): Add support for OP_SAME_RS_RT, OP_CHECK_PREV
455 and OP_NON_ZERO_REG.
456 (match_check_prev_operand): New static function.
457 (match_same_rs_rt_operand): New static function.
458 (match_non_zero_reg_operand): New static function.
459 (match_operand): Added entries for: OP_SAME_RS_RT, OP_CHECK_PREV
460 and OP_NON_ZERO_REG.
461 (insns_between): Added case to deal with forbidden slots.
462 (append_insn): Added support for relocs: BFD_RELOC_MIPS_21_PCREL_S2
463 and BFD_RELOC_MIPS_26_PCREL_S2.
464 (match_insn): Add support for operands -A, -B, +' and +". Also
465 skip '-' character.
466 (mips_percent_op): Add entries for %pcrel_hi and %pcrel_lo.
467 (md_parse_option): Add support for mips32r6 and mips64r6. Also
468 update the nan option handling.
469 (md_pcrel_from): Add cases for relocs: BFD_RELOC_MIPS_21_PCREL_S2,
470 BFD_RELOC_MIPS_26_PCREL_S2.
471 (mips_force_relocation): Prevent forced relaxation for MIPS r6.
472 (md_apply_fix): Add support for relocs: BFD_RELOC_MIPS_21_PCREL_S2,
473 BFD_RELOC_MIPS_26_PCREL_S2, BFD_RELOC_MIPS_18_PCREL_S3,
474 BFD_RELOC_MIPS_19_PCREL_S2, BFD_RELOC_HI16_S_PCREL and
475 BFD_RELOC_LO16_PCREL.
476 (s_mipsset): Add support for mips32r6 and mips64r6.
477 (s_nan): Update to support the new nan2008 framework.
478 (tc_gen_reloc): Add relocs: BFD_RELOC_MIPS_21_PCREL_S2,
479 BFD_RELOC_MIPS_26_PCREL_S2, BFD_RELOC_MIPS_18_PCREL_S3,
480 BFD_RELOC_MIPS_19_PCREL_S2, BFD_RELOC_HI16_S_PCREL and
481 BFD_RELOC_LO16_PCREL.
482 (mips_elf_final_processing): Updated to use the mips_nan2008.
483 (mips_cpu_info_table): Add entries for mips32r6 and mips64r6.
484 (macro): Enable ldc2, sdc2, ll, lld, swc2, sc, scd, cache, pref
485 macros for R6.
486 (mips_fix_adjustable): Make PC relative R6 relocations relative
487 to the symbol and not the section.
488 * configure.ac: Add support for mips32r6 and mips64r6.
489 * configure: Regenerate.
490 * doc/c-mips.texi: Document the -mips32r6 and -mips64r6 command line
491 options.
492 * doc/as.texinfo: Likewise.
493
ea79f94a
MF
4942014-09-15 Matthew Fortune <matthew.fortune@imgtec.com>
495
496 * tc-mips.c (check_fpabi): Move softfloat and singlefloat
497 checks higher.
498
75ac3a7f
JM
4992014-09-12 Jose E. Marchesi <jose.marchesi@oracle.com>
500
501 * config/tc-sparc.c (sparc_ip): Update the set of allowed hwcaps
502 when bumping the current architecture.
503 (md_begin): Adjust the highetst architecture level also when a
504 specific architecture is not requested.
505
a9d58c06
AB
5062014-09-12 Andrew Bennett <andrew.bennett@imgtec.com>
507
508 * configure.tgt: Add mips*-img-elf* target triple.
509
ac4eb736
AM
5102014-09-12 Alan Modra <amodra@gmail.com>
511
512 * config/tc-i386.c (match_template): Remove redundant "!!" testing
513 single-bit bitfields.
514 (build_modrm_byte): Don't compare single-bit bitfields to "1".
515
d7adf960
KT
5162014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
517
518 * config/tc-arm.c (arm_cpus): Add cortex-a17.
519
df7b4545
JW
5202014-09-03 Jiong Wang <jiong.wang@arm.com>
521
522 * config/tc-aarch64.c (parse_sys_reg): Remove the restriction on op0
523 field.
524
ee804238
JW
5252014-09-03 Jiong Wang <jiong.wang@arm.com>
526
527 * config/tc-aarch64.c (parse_operands): Recognize PAIRREG.
528 (aarch64_features): Add entry for lse extension.
529
7f78eb34
JW
5302014-08-26 Jiong Wang <jiong.wang@arm.com>
531
532 * config/tc-arm.c (aeabi_set_public_attributes): Update selected_cpu
533 based on the info we got during parsing.
534 (arm_handle_align): Make sure the p2align expanding logic under thumb
535 unchanged.
536
0db377d0
MR
5372014-08-26 Maciej W. Rozycki <macro@codesourcery.com>
538
539 * config/tc-mips.c (macro) <M_SAA_AB>: Remove duplicate code and
540 jump to...
541 <M_SAAD_AB>: ... here. Assert that !microMIPS.
542
bc773698
JBG
5432014-08-26 Jan-Benedict Glaw <jbglaw@lug-owl.de>
544
545 * config/tc-moxie.h (md_convert_frag): Silence warning.
546
a2cac51c
RH
5472014-08-22 Richard Henderson <rth@redhat.com>
548
549 * config/tc-aarch64.c (tc_aarch64_regname_to_dw2regnum): Fix
550 register number for vector register types.
49b9c17c
RH
551 * config/tc-aarch64.h (DWARF2_LINE_MIN_INSN_LENGTH): Set to 4.
552 (DWARF2_CIE_DATA_ALIGNMENT): Set to -8.
a2cac51c 553
fbd94057
MR
5542014-08-22 Maciej W. Rozycki <macro@codesourcery.com>
555
556 * config/tc-ppc.c (md_assemble): Only set the PPC_APUINFO_VLE
557 flag if both the processor and opcode flags match.
558
e56c722b
MR
5592014-08-22 Maciej W. Rozycki <macro@codesourcery.com>
560
561 * config/tc-arm.c (add_to_lit_pool): Preinitialize `imm1'.
562
83e12deb
MR
5632014-08-20 Maciej W. Rozycki <macro@codesourcery.com>
564
565 * dw2gencfi.c (make_debug_seg): Replace leading spaces with tabs.
566 (dot_cfi_val_encoded_addr, output_cfi_insn): Likewise.
567 (output_cie, cfi_change_reg_numbers, cfi_finish): Likewise.
568
aacf0b33
KT
5692014-08-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
570
571 * config/tc-arm.c (parse_ifimm_zero): New function.
572 (enum operand_parse_code): Add OP_RSVD_FI0 value.
573 (parse_operands): Handle OP_RSVD_FI0.
574 (asm_opcode_insns): Use RSVD_FI0 for second operand of vcmp, vcmpe.
575
37186264
AM
5762014-08-20 Alan Modra <amodra@gmail.com>
577
578 * Makefile.am: Typo fix.
579 * Makefile.in: Regenerate.
580 * po/POTFILES.in: Regenerate.
581
f7f2534e
NC
5822014-08-19 Andreas Tobler <andreast@fgznet.ch>
583
584 * Makefile.am: Add FreeBSD ARM support.
585 * Mafefile.in: Regenerate.
586 * configure.tgt: Add FreeBSD ARM support.
587 * config/te-armfbsdeabi.h: New file.
588 * config/te-armfbsdvfp.h: Likewise.
589
2974be62
AM
5902014-08-19 Alan Modra <amodra@gmail.com>
591
592 * configure: Regenerate.
593
3ce3a066
NC
5942014-08-18 Nick Clifton <nickc@redhat.com>
595
596 * config/tc-rl78.c (md_apply_fix): Correct handling of small sized
597 RELOC_RL78_DIFF fixups.
598
1e539319
AM
5992014-08-18 Alan Modra <amodra@gmail.com>
600
601 * read.c (parse_mri_cons): Warning fix.
602
b879806f
AM
6032014-08-14 Alan Modra <amodra@gmail.com>
604
605 * configure.ac: Move ACX_LARGEFILE after LT_INIT.
606 * config.in: Regenerate.
607 * configure: Regenerate.
608
d022bddd
IT
6092014-08-06 Ilya Tocar <ilya.tocar@intel.com>
610
611 * config/tc-i386.c (omit_lock_prefix): New.
612 (output_insn): Omit lock prefix if omit_lock_prefix is true.
613 (OPTION_omit_lock_prefix): New.
614 (md_longopts): Add momit-lock-prefix.
615 (md_parse_option): Handle momit-lock-prefix.
616 (md_show_usage): Add momit-lock-prefix=[no|yes].
617 * doc/c-i386.texi (momit-lock-prefix): Document.
618
b131d1fc
KK
6192014-08-01 Takashi Yoshii <yoshii.takashi@renesas.com>
620
621 PR 10378
622 * config/tc-sh.c (tc_gen_reloc): Fix initialization of addend in
623 SWITCH_TABLE case.
624
43885403
MF
6252014-07-29 Matthew Fortune <matthew.fortune@imgtec.com>
626
627 * config/tc-mips.c: Rename INSN_LOAD_COPROC_DELAY to INSN_LOAD_COPROC
628 and INSN_COPROC_MOVE_DELAY to INSN_COPROC_MOVE throughout.
629
351cdf24
MF
6302014-07-29 Matthew Fortune <matthew.fortune@imgtec.com>
631
632 * config/tc-mips.c (mips_flags_frag): New static global.
633 (struct mips_set_options): Add oddspreg field.
634 (file_mips_opts, mips_opts): Initialize oddspreg.
635 (ISA_HAS_ODD_SINGLE_FPR): Add CPU argument and update for R5900 and
636 Loongson-3a.
637 (enum options, md_longopts, md_parse_option): Add -mfpxx, -modd-spreg
638 and -mno-odd-spreg options.
639 (md_begin): Create .MIPS.abiflags section.
640 (fpabi_incompatible_with, fpabi_requires): New static function.
641 (check_fpabi): Likewise.
642 (mips_check_options): Handle fp=xx and oddspreg restrictions.
643 (file_mips_check_options): Set oddspreg by default for fp=xx.
644 (mips_oddfpreg_ok): Re-write function.
645 (check_regno): Check odd numbered registers regardless of FPR size.
646 For fp != 32 use as_bad instead of as_warn.
647 (match_float_constant): Rewrite check regarding FP register width. Add
648 support for generating constants when MXHC1 is present. Handle fp=xx
649 to comply with the ABI.
650 (macro): Update M_LI_DD similarly to match_float_constant. Generate
651 MTHC1 when available. Check that correct code can be generated for
652 fp=xx and fp=64 ABIs.
653 (parse_code_option, s_mipsset): Add fp=xx, oddspreg and nooddspreg
654 options.
655 (mips_convert_ase_flags): New static function.
656 (mips_elf_final_processing): Use fpabi == Val_GNU_MIPS_ABI_FP_OLD_64
657 to determine when to add the EF_MIPS_FP64 flag. Populate the
658 .MIPS.abiflags section.
659 (md_mips_end): Update .gnu_attribute based on command line and .module
660 as applicable. Use check_fpabi to ensure .gnu.attribute and command
661 line/.module options are consistent.
662 * doc/as.texinfo: Add missing -mgp64/-mfp64 options and document new
663 -mfpxx, -modd-spreg and -mno-odd-spreg options.
664 * doc/c-mips.texi: Document -mfpxx, -modd-spreg, -mno-odd-spreg,
665 gnu_attribute values and FP ABIs.
666
8a196b99
JS
6672014-07-27 Joel Sherrill <joel.sherrill@oarcorp.com>
668
669 Add RTEMS target support and simplify matching
670
671 * gas/configure.tgt (or1k*-*-rtems*): Ensure a match.
672 (or1k*-*-*): Use or1k* to match or1knd and or1kZ.
673
48494700
AG
6742014-07-27 Anthony Green <green@moxielogic.com>
675
676 * configure.tgt (generic_target): Add moxie-*-moxiebox*
677 * config/tc-moxie.c: Remove moxie_target_format.
678 (md_begin): Set default target_big_endian.
679 * config/tc-moxie.h: Only set TARGET_BYTES_BIG_ENDIAN if unset.
680 (TARGET_FORMAT): Set based on target_big_endian.
681
e57e6ddc
AM
6822014-07-26 Alan Modra <amodra@gmail.com>
683
684 * config/bfin-parse.y: Don't include obstack.h.
685 * config/obj-aout.c: Likewise.
686 * config/obj-coff.c: Likewise.
687 * config/obj-som.c: Likewise.
688 * config/tc-bfin.c: Likewise.
689 * config/tc-i960.c: Likewise.
690 * config/tc-rl78.c: Likewise.
691 * config/tc-rx.c: Likewise.
692 * config/tc-tic4x.c: Likewise.
693 * expr.c: Likewise.
694 * listing.c: Likewise.
695 * config/obj-elf.c (elf_file_symbol): Make name_length a size_t.
696 * config/tc-aarch64.c (symbol_locate): Likewise.
697 * config/tc-arm.c (symbol_locate): Likewise.
698 * config/tc-mmix.c (mmix_handle_mmixal): Make len_0 a size_t.
699 * config/tc-score.c (s3_build_score_ops_hsh): Make len a size_t.
700 (s3_build_dependency_insn_hsh): Likewise.
701 * config/tc-score7.c (s7_build_score_ops_hsh): Likewise.
702 (s7_build_dependency_insn_hsh): Likewise.
703 * frags.c (frag_grow): Make parameter a size_t, and use size_t locals.
704 (frag_new): Make parameter a size_t.
705 (frag_var_init): Make max_chars and var parameters size_t.
706 (frag_var, frag_variant): Likewise.
707 (frag_room): Return a size_t.
708 (frag_align_pattern): Make n_fill parameter a size_t.
709 * frags.h: Update function prototypes.
710 * symbols.c (save_symbol_name): Make name_length a size_t.
711
90a915bf
IT
7122014-07-22 Sergey Guriev <sergey.s.guriev@intel.com>
713 Alexander Ivchenko <alexander.ivchenko@intel.com>
714 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
715 Sergey Lega <sergey.s.lega@intel.com>
716 Anna Tikhonova <anna.tikhonova@intel.com>
717 Ilya Tocar <ilya.tocar@intel.com>
718 Andrey Turetskiy <andrey.turetskiy@intel.com>
719 Ilya Verbin <ilya.verbin@intel.com>
720 Kirill Yukhin <kirill.yukhin@intel.com>
721 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
722
723 * config/tc-i386.c (cpu_arch): Add .avx512dq, CPU_AVX512DQ_FLAGS.
724 * doc/c-i386.texi: Document avx512dq/.avx512dq.
725
1ba585e8
IT
7262014-07-22 Sergey Guriev <sergey.s.guriev@intel.com>
727 Alexander Ivchenko <alexander.ivchenko@intel.com>
728 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
729 Sergey Lega <sergey.s.lega@intel.com>
730 Anna Tikhonova <anna.tikhonova@intel.com>
731 Ilya Tocar <ilya.tocar@intel.com>
732 Andrey Turetskiy <andrey.turetskiy@intel.com>
733 Ilya Verbin <ilya.verbin@intel.com>
734 Kirill Yukhin <kirill.yukhin@intel.com>
735 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
736
737 * config/tc-i386.c (cpu_arch): Add .avx512bw, CPU_AVX512BW_FLAGS.
738 * doc/c-i386.texi: Document avx512bw/.avx512bw.
739
b28d1bda
IT
7402014-07-22 Sergey Guriev <sergey.s.guriev@intel.com>
741 Alexander Ivchenko <alexander.ivchenko@intel.com>
742 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
743 Sergey Lega <sergey.s.lega@intel.com>
744 Anna Tikhonova <anna.tikhonova@intel.com>
745 Ilya Tocar <ilya.tocar@intel.com>
746 Andrey Turetskiy <andrey.turetskiy@intel.com>
747 Ilya Verbin <ilya.verbin@intel.com>
748 Kirill Yukhin <kirill.yukhin@intel.com>
749 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
750
751 * config/tc-i386.c (cpu_arch): Add .avx512vl, CPU_AVX512VL_FLAGS.
752 (build_vex_prefix): Don't abort on VEX.W.
753 (check_VecOperands): Support BROADCAST_1TO4 and BROADCAST_1TO2.
754 (check_VecOperations): Ditto.
755 * doc/c-i386.texi: Document avx512vl/.avx512vl.
756
3d52a869
JS
7572014-07-21 Joel Sherrill <joel.sherrill@oarcorp.com>
758
759 Add or reactivate or1k-*-rtems*
760 * gas/configure.tgt (or1k-*-rtems*): Add.
761
d3bb6b49
IT
7622014-07-17 Ilya Tocar <ilya.tocar@intel.com>
763
764 * config/tc-i386.c (parse_register): Set need_vrex.
765
19f2f6a9
JW
7662014-07-15 Jiong Wang <jiong.wang@arm.com>
767
768 * config/tc-arm.c (add_to_lit_pool): Use "inst.operands[1].imm" for
769 sign extension. Casting the type of imm1 and imm2 to offsetT. Fix
770 one logic error when checking X_op.
771
ea7cc5bf
AS
7722014-07-14 Andreas Schwab <schwab@linux-m68k.org>
773
774 * config/tc-m68k.c (md_convert_frag_1): Don't complain with
775 --pcrel about TAB (DBCCLBR, LONG) conversion.
776
76bd66cf
AM
7772014-07-12 David Majnemer <david.majnemer@gmail.com>
778
779 * read.c (assign_symbol): Don't force "set" symbols local for PE.
780
8335d6aa
JW
7812014-07-08 Jiong Wang <jiong.wang@arm.com>
782
783 * config/tc-arm.c (literal_pool): New field "alignment".
784 (find_or_make_literal_pool): Initialize "alignment" to 2.
785 (s_ltorg): Align the pool using value of "alignment"
786 (parse_big_immediate): New parameter "in_exp". Return
787 parsed expression if "in_exp" is not null.
788 (parse_address_main): Invoke "parse_big_immediate" for
789 constant parameter.
790 (add_to_lit_pool): Add one parameter 'nbytes'.
791 Split 8 byte entry into two 4 byte entry.
792 Add padding to align 8 byte entry to 8 byte boundary.
793 (encode_arm_cp_address): Generate literal pool entry if possible.
794 (move_or_literal_pool): Generate entry for vldr case.
795 (enum lit_type): New enum type.
796 (do_ldst): Use new enum type.
797 (do_ldstv4): Likewise.
798 (do_t_ldst): Likewise.
799 (neon_write_immbits): Support Thumb-2 mode.
800
75f58085
BS
8012014-07-07 Barney Stratford <barney_stratford@fastmail.fm>
802
803 * config/tc-avr.c (avr_operand): Permit referring to r26-r31 by
804 name as [xyz][hl]. Permit using a symbol whoes name begins with
805 ‘r’ to refer to a register.
806 Allow arbitrary expressions for the P and p operators.
807 (md_apply_fix): Check the BFD_RELOC_AVR_PORT5 and
808 BFD_RELOC_AVR_PORT6 relocations.
809
1110793a
AM
8102014-07-04 Alan Modra <amodra@gmail.com>
811
812 * doc/internals.texi: Update "configure.in" comments.
813 * acinclude.m4: Likewise.
814 * config/tc-sparc.c: Likewise.
815
35eafcc7
AM
8162014-07-04 Alan Modra <amodra@gmail.com>
817
818 * configure.ac: Rename from configure.in.
819 * Makefile.in: Regenerate.
820 * config.in: Regenerate.
821 * doc/Makefile.in: Regenerate.
822
82b57a90
AM
8232014-07-04 Alan Modra <amodra@gmail.com>
824
825 * doc/Makefile.am (CONFIG_STATUS_DEPENDENCIES): Delete.
826 * doc/Makefile.in: Regenerate.
827
2e98a7bd
AM
8282014-07-04 Alan Modra <amodra@gmail.com>
829
830 * configure.in: Include bfd/version.m4.
831 (AC_INIT, AM_INIT_AUTOMAKE): Use modern form.
832 (BFD_VERSION): Delete.
833 * configure.com: Get bfd version from bfd/version.m4.
834 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Remove bfd/configure.in.
835 * configure: Regenerate.
836 * Makefile.in: Regenerate.
837 * doc/Makefile.in: Regenerate.
838
f36e8886
BS
8392014-07-01 Barney Stratford <barney_stratford@fastmail.fm>
840 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
841 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
842 Soundararajan <Sounderarajan.D@atmel.com>
843
844 * config/tc-avr.c (mcu_types): Add avrtiny arch.
845 Add avrtiny arch devices attiny4, attiny5, attiny9, attiny10, attiny20
846 and attiny40.
847 (md_show_usage): Add avrtiny arch in usage message.
2e98a7bd
AM
848 (avr_operand): validate and issue error for invalid register for
849 avrtiny.
f36e8886 850 add new reloc exp for 16 bit lds/sts instruction.
2e98a7bd
AM
851 (md_apply_fix): check 16 bit lds/sts operand for out of range and
852 encode.
f36e8886
BS
853 (md_assemble): check ISA for arch and issue diagnostic.
854 * NEWS: Mention new support.
855 * doc/c-avr.texi: Document support for avrtiny architecture.
856
a03f9b1a
AM
8572014-06-27 Alan Modra <amodra@gmail.com>
858
859 * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Don't set
860 SYM_MACHO_FIELDS_NOT_VALIDATED after reporting an error.
861 (obj_mach_o_frob_label): Avoid cascading errors.
862 (obj_mach_o_frob_symbol): Don't set SYM_MACHO_FIELDS_NOT_VALIDATED.
863
827dfb62
DD
8642014-06-18 DJ Delorie <dj@redhat.com>
865
866 * config/rx-parse.y (BSET, BCLR, BTST, BNOT, BMCMD): Make .B
867 suffix optional.
868
a968e61d
HPN
8692014-06-17 Hans-Peter Nilsson <hp@bitrange.com>
870
871 * config/tc-mmix.c (loc_assert_s): New member frag.
872 (s_loc): Set it.
873 (mmix_md_end): If an error is reported for a LOC expression, patch
874 up the related frag.
875
6d1ace68
CM
8762014-06-17 Chris Metcalf <cmetcalf@tilera.com>
877
878 PR gas/16908
879 * macro.c (buffer_and_nest): Honour #line directives inside
880 macros.
881
c8de034b
JW
8822014-06-17 Jiong Wang <jiong.wang@arm.com>
883
884 * config/tc-arm.c (depr_it_insns): New check for inc/dec sp.
885
29cf29a2
HPN
8862014-06-17 Hans-Peter Nilsson <hp@axis.com>
887
888 * config/tc-cris.c (cris_bad): New function.
889 (cris_process_instruction): Where applicable, use it instead of
890 as_bad.
891
b97e87cc
NC
8922014-06-16 Nick Clifton <nickc@redhat.com>
893
894 * config/tc-aarch64.c (md_apply_fix): Ignore unused relocs.
895
f4c51f60
JW
8962014-06-16 Jiong Wang <jiong.wang@arm.com>
897
898 * config/tc-aarch64.c (END_OF_INSN): New macro.
899 (parse_operands): Handle operand given and in wrong format when
900 operand is optional.
901
85024cd8
AM
9022014-06-16 Alan Modra <amodra@gmail.com>
903
904 * write.h (subsegs_finish): Delete declaration.
905 * write.c (subsegs_finish): Make static.
906 (write_object_file): Call subsegs_finish from here. Don't print
907 warning and error count here..
908 * as.c (main): ..do so here instead. Remove dead code for "no
909 object file generated". Split out count strings to better support
910 internationalisation. Don't call subsegs_finish. Tidy setting of
911 "keep_it". Run write_object_file even after errors.
912 (keep_it): Make static.
913 * config/obj-elf.c (elf_frob_symbol): Remove assert.
914 (elf_frob_file_before_adjust): Likewise.
915
97d24fbb
AM
9162014-06-16 Alan Modra <amodra@gmail.com>
917
918 * config/tc-dlx.c (machine_ip): Move initialisation of the_insn
919 earlier.
920
1ab668bf
AM
9212014-06-16 Alan Modra <amodra@gmail.com>
922
923 * config/tc-i386.c (reloc): Don't avoid pcrel check for
924 BFD_RELOC_SIZE64. Return NO_RELOC on failing pcrel check.
925
7e9def1e
AM
9262014-06-16 Alan Modra <amodra@gmail.com>
927
928 * config/tc-tic6x.c (s_tic6x_ehtype): Clear after frag_more.
929 (tic6x_output_exidx_entry): Likewise.
930 (md_apply_fix): Simplify 1 byte md_number_to_chars.
931
6e210b41
AM
9322014-06-16 Alan Modra <amodra@gmail.com>
933
934 * config/tc-tic54x.c (tic54x_mlib): Don't write garbage past
935 end of archive to temp file.
936 (tic54x_start_line_hook): Start scan for parallel on next line,
937 not one char into next line (which may overrun the buffer).
938
ee0738df
AM
9392014-06-16 Alan Modra <amodra@gmail.com>
940
941 * config/tc-vax.c (md_apply_fix): Rewrite.
942 (tc_gen_reloc, vax_cons, vax_cons_fix_new): Style: Use NO_RELOC
943 define rather than the equivalent BFD_RELOC_NONE.
944
4b1a927e
AM
9452014-06-16 Alan Modra <amodra@gmail.com>
946
947 * config/tc-arm.c (s_arm_elf_cons): Initialise after frag_more.
948 (md_apply_fix): Delete now unnecessary zeroing for BFD_RELOC_ARM_GOT*
949 and BFD_RELOC_ARM_TLS* relocs. Simplify BFD_RELOC_8 case.
950
44ed9ef2
AM
9512014-06-16 Alan Modra <amodra@gmail.com>
952
953 * config/tc-cris.c (md_create_long_jump): Follow "short" jump
954 with a nop rather than leaving uninitialised.
955
2132b407
CG
9562014-06-13 Chen Gang <gang.chen.5i5j@gmail.com>
957
958 * config/tc-score7.c: Replace sprintf with strcpy where
959 appropriate.
f26c187e
CG
960 (s7_b32_relax_to_b16): Use symbol_get_frag() to access a symbol's
961 frag.
962 * config/tc-score.c (s3_relax_branch_inst16): Likewise.
963 (s3_relax_cmpbranch_inst32): Likewise.
2132b407 964
a47622ac
AM
9652014-06-07 Alan Modra <amodra@gmail.com>
966
967 * config/tc-ppc.c (ppc_insert_operand): Handle PPC_OPERAND_SIGNOPT
968 on unsigned fields. Comment on PPC_OPERAND_SIGNOPT signed fields
969 in 64-bit mode.
970
34fd659b
MS
9712014-06-02 Martin Storsjo <martin@martin.st>
972
973 * doc/c-aarch64.texi: Fix the documentation on :pg_hi21:.
974
270c9937
JB
9752014-06-05 Joel Brobecker <brobecker@adacore.com>
976
977 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
978 bfd's development.sh.
979 * Makefile.in, configure: Regenerate.
980
69227609
NC
9812014-06-03 Nick Clifton <nickc@redhat.com>
982
983 * config/tc-msp430.c (OPTION_WARN_INTR_NOPS): Use y instead of z.
984 (OPTION_NO_WARN_INTR_NOPS): Use Y instead of Z.
985 * doc/c-msp430.texi: Update command line option description.
986
b52855e7
AM
9872014-05-22 Alan Modra <amodra@gmail.com>
988
989 * listing.c (listing_warning, listing_error): Add space after colon.
990 * messages.c (as_warn_internal, as_bad_internal): Use the same
991 string as above.
992
9096206c 9932014-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
994
995 * config/tc-mips.c (file_mips_opts_checked): New static global.
996 (s_module): New static function.
997 (file_ase): Remove.
998 (mips_pseudo_table): Add .module handler.
999 (mips_set_ase): Add opts argument and use instead of mips_opts.
1000 (md_assemble): Use file_mips_check_options.
1001 (md_parse_option): Update to use file_mips_opts instead of mips_opts.
1002 (mips_set_architecture): Delete function. Moved to...
1003 (mips_after_parse_args): Here. All logic now applies to
1004 file_mips_opts first and then copies the final state to mips_opts.
1005 Move error checking and defaults inference to mips_check_options and
1006 file_mips_check_options.
1007 (mips_check_options): New static function. Common option checking for
1008 command line, .module and .set. Use .module values in error messages
1009 instead of refering to command line options.
1010 (file_mips_check_options): New static function. A wrapper for
1011 mips_check_options with file_mips_opts. Updates BFD arch based on
1012 final options.
1013 (s_mipsset): Split into s_mipsset and parse_code_option. Settings
1014 supported by both .set and .module are moved to parse_code_option.
1015 Warnings and errors are kept in s_mipsset because when
1016 parse_code_option is used with s_module the warnings are deferred
1017 until code is generated. Any setting supporting 'default' value is
1018 kept in s_mipsset as it is not applicable to s_module. Inferred
1019 settings are also kept in s_mipsset as s_module does not infer any
1020 settings. Use mips_check_options.
1021 (parse_code_option): New static function derived from s_mipsset.
1022 (s_module): New static function that implements .module. Allows file
1023 level settings to be changed until code is generated.
1024 (s_cpload, s_cpsetup, s_cplocal): Use file_mips_check_options.
1025 (s_cprestore, s_cpreturn, s_cpadd, mips_address_bytes): Likewise.
1026 (mips_elf_final_processing): Update file_ase to file_mips_opts.ase.
1027 (md_mips_end): Use file_mips_check_options.
1028 * doc/c-mips.texi: Document .module.
1029
153ff434 10302014-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
1031
1032 * messages.c (as_warn_internal): Remove extra whitespace from
1033 warning messages.
1034
82bda27b 10352014-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
1036
1037 * config/tc-mips.c (FP64_ASES): Add ASE_MSA.
1038 (mips_after_parse_args): Do not select ASE_MSA without -mfp64.
1039
39128ec0
MS
10402014-05-20 Mike Stump <mikestump@comcast.net>
1041
1042 * messages.c (as_warn_internal): Ensure we don't interleave output
1043 within a single line when make -j is used.
1044 (as_bad_internal): Likewise.
1045
9440a904
RS
10462014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1047
1048 * config/obj-elf.h (obj_elf_seen_attribute): Declare.
1049 * config/obj-elf.c (recorded_attribute_info): New structure.
1050 (recorded_attributes): New variable.
1051 (record_attribute, obj_elf_seen_attribute): New functions.
1052 (obj_elf_vendor_attribute): Record which attributes have been seen.
1053
00b32ff2
NC
10542014-05-20 Nick Clifton <nickc@redhat.com>
1055
1056 * config/tc-msp430.c (CHECK_RELOC_MSP430): Add OP parameter.
1057 Generate BFD_RELOC_MSP430_ABS_HI16 if vshift is 1.
1058 (msp430_srcoperand): Store vshift value in operand.
1059
296a8689
NC
10602014-05-19 Nick Clifton <nickc@redhat.com>
1061
1062 PR gas/16858
1063 * config/tc-i386.c (md_apply_fix): Improve the detection of code
1064 symbols for 32-bit PE targets.
1065
fd5c94ab
RS
10662014-05-18 Richard Sandiford <rdsandiford@googlemail.com>
1067
1068 * config/tc-mips.c (md_obj_begin): Delete.
1069 (md_obj_end): Fold into...
1070 (md_mips_end): ...here. Move to end of file.
1071
77f730a2
NC
10722014-05-17 Nick Clifton <nickc@redhat.com>
1073
1074 PR gas/16946
1075 * config/tc-v850.c (handle_ctoff): Generate an error if called
1076 when using the RH850 ABI.
1077
856ea05c
KP
10782014-05-16 Kaushik Phata <Kaushik.Phatak@kpit.com>
1079
1080 * config/tc-rl78.c (enum options): Add OPTION_32BIT_DOUBLES
1081 and OPTION_64BIT_DOUBLES.
1082 (md_longopts): Add -m32bit-doubles and -m64bit-doubles.
1083 (md_parse_option): Parse -m32bit-doubles and -m64bit-doubles.
1084 (md_show_usage): Show all of the RL78 options.
1085 (rl78_float_cons): New static functions.
1086 (md_pseudo_table): Update handler for "double".
1087 * doc/c-rl78.texi: Document new options.
1088 * doc/as.texinfo: Likewise.
1089
bad1aba3 10902014-05-13 Matthew Fortune <matthew.fortune@imgtec.com>
1091
1092 * config/tc-mips.c (mips_set_options): Rename gp32 to gp throughout.
1093 (HAVE_32BIT_GPRS, HAVE_64BIT_GPRS): Remove. Re-implement via GPR_SIZE.
1094 (HAVE_32BIT_FPRS, HAVE_64BIT_FPRS): Remove. Re-implement via FPR_SIZE.
1095 (GPR_SIZE, FPR_SIZE): New macros. Use throughout.
1096
0ae19f05 10972014-05-08 Matthew Fortune <matthew.fortune@imgtec.com>
1098
1099 * config/tc-mips.c (md_parse_option): Update missed file_mips_isa
1100 references.
1101
0b35dfee 11022014-05-08 Matthew Fortune <matthew.fortune@imgtec.com>
1103
1104 * config/tc-mips.c (mips_set_options): Rename fp32 field to fp.
1105 Update fp32 == 0 to fp == 64 and fp32 == 1 to fp != 64 throughout.
1106 (file_mips_gp32, file_mips_fp32, file_mips_soft_float,
1107 file_mips_single_float, file_mips_isa, file_mips_arch): Merge into
1108 one struct...
1109 (file_mips_opts): Here. New static global. Update throughout.
1110 (mips_opts): Update defaults for gp32 and fp.
1111
263b2574 11122014-05-08 Matthew Fortune <matthew.fortune@imgtec.com>
1113
1114 * config/tc-mips.c (streq): Define.
1115 (mips_convert_symbolic_attribute): New function.
1116 * config/tc-mips.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
1117 (mips_convert_symbolic_attribute): New prototype.
1118
1058c753
VA
11192014-05-02 Max Filippov <jcmvbkbc@gmail.com>
1120
1121 * config/tc-xtensa.c (md_apply_fix): mark BFD_RELOC_XTENSA_DIFF*
1122 fixups as signed.
1123
ae52f483
AB
11242014-05-07 Andrew Bennett <andrew.bennett@imgtec.com>
1125
1126 * tc-mips.c (ISA_SUPPORTS_MIPS16E): Add mips32r3, mips32r5, mips64r3
1127 and mips64r5.
1128 (ISA_HAS_64BIT_FPRS): Likewise.
1129 (ISA_HAS_ROR): Likewise.
1130 (ISA_HAS_ODD_SINGLE_FPR): Likewise.
1131 (ISA_HAS_MXHC1): Likewise.
1132 (hilo_interlocks): Likewise.
1133 (md_longopts): Likewise.
1134 (ISA_HAS_64BIT_REGS): Add mips64r3 and mips64r5.
1135 (ISA_HAS_DROR): Likewise.
1136 (options): Add OPTION_MIPS32R3, OPTION_MIPS32R5, OPTION_MIPS64R3, and
1137 OPTION_MIPS64R5.
1138 (mips_isa_rev): Add support for mips32r3, mips32r5, mips64r3 and
1139 mips64r5.
1140 (md_parse_option): Likewise.
1141 (s_mipsset): Likewise.
1142 (mips_cpu_info_table): Add entries for mips32r3, mips32r5, mips64r3
1143 and mips64r5. Also change p5600 entry to be mips32r5.
1144 * configure.in: Add support for mips32r3, mips32r5, mips64r3 and
1145 mips64r5.
1146 * configure: Regenerate.
1147 * doc/c-mips.texi: Document the -mips32r3, -mips32r5, -mips64r3 and
1148 -mips64r5 command line options.
1149 * doc/as.texinfo: Likewise.
1150
f01c1a09
NC
11512014-04-28 Nick Clifton <nickc@redhat.com>
1152
1153 PR gas/16858
1154 * config/tc-i386.c (md_apply_fix): Do not adjust value of
1155 pc-relative fixes against weak symbols.
1156
a9e18c6a
AM
11572014-04-26 Alan Modra <amodra@gmail.com>
1158
1159 * po/POTFILES.in: Regenerate.
1160
aaca88ef
NC
11612014-04-24 Nick Clifton <nickc@redhat.com>
1162
1163 * config/tc-arm.c (s_ltorg): Only create a mapping symbol for ELF
1164 based targets.
1165
47fc6e36
WN
11662014-04-23 Will Newton <will.newton@linaro.org>
1167
1168 * config/tc-arm.c (s_ltorg): Call make_mapping_symbol
1169 directly instead of mapping_state.
1170
7d64c587
AB
11712014-04-23 Andrew Bennett <andrew.bennett@imgtec.com>
1172
1173 * config/tc-mips.c (options): Add OPTION_XPA and OPTION_NO_XPA.
1174 (md_longopts): Add xpa and no-xpa command line options.
1175 (mips_ases): Add MIPS XPA ASE.
1176 (mips_cpu_info_table): Update p5600 entry to allow the XPA ASE.
1177 * doc/as.texinfo: Document the MIPS XPA command line options.
1178 * doc/c-mips.texi: Document the MIPS XPA command line options,
1179 and assembler directives.
1180
1547d98f
SL
11812014-04-22 Sandra Loosemore <sandra@codesourcery.com>
1182
1183 * config/tc-nios2.c (nios2_consume_arg): Add case for 'E' to
1184 unbreak self-test mode.
1185
a35d5e82
MF
11862014-04-22 Max Filippov <jcmvbkbc@gmail.com>
1187
1188 * config/tc-xtensa.c (xtensa_handle_align): record alignment for the
1189 first section frag.
1190
73589c9d
CS
11912014-04-22 Christian Svensson <blue@cmd.nu>
1192
1193 * Makefile.am: Remove openrisc and or32 support. Add support for or1k.
1194 * configure.in: Likewise.
1195 * configure.tgt: Likewise.
1196 * doc/as.texinfo: Likewise.
1197 * config/obj-coff.h: Likewise.
1198 * config/tc-or1k.c: New file.
1199 * config/tc-or1k.h: New file.
1200 * config/tc-openrisc.c: Delete.
1201 * config/tc-openrisc.h: Delete.
1202 * config/tc-or32.c: Delete.
1203 * config/tc-or32.h: Delete.
1204 * Makefile.in: Regenerate.
1205 * configure: Regenerate.
1206
8e63ef2f
AM
12072014-04-16 Alan Modra <amodra@gmail.com>
1208
1209 * config/tc-tilegx.h (TC_CONS_FIX_NEW): Add RELOC arg.
1210 * config/tc-tilepro.h (TC_CONS_FIX_NEW): Likewise.
1211
e4ef1b6c
DC
12122014-04-10 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1213
1214 * config/tc-avr.c: Add new flag mlink-relax.
1215 (md_show_usage): Add flag and help text.
1216 (md_parse_option): Record whether link relax is turned on.
1217 (relaxable_section): New.
1218 (avr_validate_fix_sub): New.
1219 (avr_force_relocation): New.
1220 (md_apply_fix): Generate DIFF reloc.
1221 (avr_allow_local_subtract): New.
1222
1223 * config/tc-avr.h (TC_LINKRELAX_FIXUP): Define to 0.
1224 (TC_FORCE_RELOCATION): Define.
1225 (TC_FORCE_RELOCATION_SUB_SAME): Define.
1226 (TC_VALIDATE_FIX_SUB): Define.
1227 (avr_force_relocation): Declare.
1228 (avr_validate_fix_sub): Declare.
1229 (md_allow_local_subtract): Define.
1230 (avr_allow_local_subtract): Declare.
1231
bbaa46c0
AB
12322014-04-10 Andrew Bennett <andrew.bennett@imgtec.com>
1233
1234 * config/tc-mips.c (mips_cpu_info_table): Add P5600
1235 configuation.
1236 * doc/c-mips.texi: Document p5600.
1237
00c06fdc
NC
12382014-04-09 Nick Clifton <nickc@redhat.com>
1239
1240 * config/tc-rl78.h (TC_CONS_FIX_NEW): Add RELOC parameter.
1241 * config/tc-z80.h (TC_CONS_FIX_NEW): Discard RELOC parameter.
1242 * config/tc-aarch64.h (TC_CONS_FIX_NEW): Discard RELOC parameter.
1243 * read.c (emit_expr_fix): Mark the r parameter as potentially
1244 unused.
1245
bf7279d5
AM
12462014-04-09 Alan Modra <amodra@gmail.com>
1247
1248 * config/tc-ppc.c (warn_476, last_insn, last_seg, last_subseg):
1249 New static vars.
1250 (md_longopts, md_parse_option, md_show_usage): Add --ppc476-workaround.
1251 (ppc_elf_cons_fix_check): New function.
1252 (md_assemble): Set last_insn, last_seg, last_subseg.
1253 (ppc_byte, md_apply_fix): Handle warn_476.
1254 * config/tc-ppc.h (TC_CONS_FIX_CHECK): Define.
1255 (ppc_elf_cons_fix_check): Declare.
1256 * read.c (cons_worker): Invoke TC_CONS_FIX_CHECK.
1257
62ebcb5c
AM
12582014-04-09 Alan Modra <amodra@gmail.com>
1259
1260 * gas/config/tc-alpha.h (TC_CONS_FIX_NEW): Add RELOC parameter.
1261 * gas/config/tc-arc.c (arc_cons_fix_new): Add reloc parameter.
1262 * gas/config/tc-arc.h (arc_cons_fix_new): Update prototype.
1263 (TC_CONS_FIX_NEW): Add RELOC parameter.
1264 * gas/config/tc-arm.c (cons_fix_new_arm): Similarly
1265 * gas/config/tc-arm.h (cons_fix_new_arm, TC_CONS_FIX_NEW): Similarly.
1266 * gas/config/tc-cr16.c (cr16_cons_fix_new): Similarly.
1267 * gas/config/tc-cr16.h (cr16_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
1268 * gas/config/tc-crx.h (TC_CONS_FIX_NEW): Similarly.
1269 * gas/config/tc-m32c.c (m32c_cons_fix_new): Similarly.
1270 * gas/config/tc-m32c.h (m32c_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
1271 * gas/config/tc-mn10300.c (mn10300_cons_fix_new): Similarly.
1272 * gas/config/tc-mn10300.h (mn10300_cons_fix_new, TC_CONS_FIX_NEW):
1273 Similarly.
1274 * gas/config/tc-ns32k.c (cons_fix_new_ns32k): Similarly.
1275 * gas/config/tc-ns32k.h (cons_fix_new_ns32k): Similarly.
1276 * gas/config/tc-pj.c (pj_cons_fix_new_pj): Similarly.
1277 * gas/config/tc-pj.h (pj_cons_fix_new_pj, TC_CONS_FIX_NEW): Similarly.
1278 * gas/config/tc-rx.c (rx_cons_fix_new): Similarly.
1279 * gas/config/tc-rx.h (rx_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
1280 * gas/config/tc-sh.c (sh_cons_fix_new): Similarly.
1281 * gas/config/tc-sh.h (sh_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
1282 * gas/config/tc-tic54x.c (tic54x_cons_fix_new): Similarly.
1283 * gas/config/tc-tic54x.h (tic54x_cons_fix_new, TC_CONS_FIX_NEW):
1284 Similarly.
1285 * gas/config/tc-tic6x.c (tic6x_cons_fix_new): Similarly.
1286 * gas/config/tc-tic6x.h (tic6x_cons_fix_new, TC_CONS_FIX_NEW):
1287 Similarly.
1288 * gas/config/tc-arc.c (arc_parse_cons_expression): Return reloc.
1289 * gas/config/tc-arc.h (arc_parse_cons_expression): Update proto.
1290 * gas/config/tc-avr.c (exp_mod_data): Make global.
1291 (pexp_mod_data): Delete.
1292 (avr_parse_cons_expression): Return exp_mod_data pointer.
1293 (avr_cons_fix_new): Add exp_mod_data_t pointer param.
1294 (exp_mod_data_t): Move typedef..
1295 * gas/config/tc-avr.h: ..to here.
1296 (exp_mod_data): Declare.
1297 (TC_PARSE_CONS_RETURN_TYPE, TC_PARSE_CONS_RETURN_NONE): Define.
1298 (avr_parse_cons_expression, avr_cons_fix_new): Update prototype.
1299 (TC_CONS_FIX_NEW): Update.
1300 * gas/config/tc-hppa.c (hppa_field_selector): Delete static var.
1301 (cons_fix_new_hppa): Add hppa_field_selector param.
1302 (fix_new_hppa): Adjust.
1303 (parse_cons_expression_hppa): Return field selector.
1304 * gas/config/tc-hppa.h (parse_cons_expression_hppa): Update proto.
1305 (cons_fix_new_hppa): Likewise.
1306 (TC_PARSE_CONS_RETURN_TYPE, TC_PARSE_CONS_RETURN_NONE): Define.
1307 * gas/config/tc-i386.c (got_reloc): Delete static var.
1308 (x86_cons_fix_new): Add reloc param.
1309 (x86_cons): Return got reloc.
1310 * gas/config/tc-i386.h (x86_cons, x86_cons_fix_new): Update proto.
1311 (TC_CONS_FIX_NEW): Add RELOC param.
1312 * gas/config/tc-ia64.c (ia64_cons_fix_new): Add reloc param. Adjust
1313 calls.
1314 * gas/config/tc-ia64.h (ia64_cons_fix_new): Update prototype.
1315 (TC_CONS_FIX_NEW): Add reloc param.
1316 * gas/config/tc-microblaze.c (parse_cons_expression_microblaze):
1317 Return reloc.
1318 (cons_fix_new_microblaze): Add reloc param.
1319 * gas/config/tc-microblaze.h: Formatting.
1320 (parse_cons_expression_microblaze): Update proto.
1321 (cons_fix_new_microblaze): Likewise.
1322 * gas/config/tc-nios2.c (nios2_tls_ldo_reloc): Delete static var.
1323 (nios2_cons): Return ldo reloc.
1324 (nios2_cons_fix_new): Delete.
1325 * gas/config/tc-nios2.h (nios2_cons): Update prototype.
1326 (nios2_cons_fix_new, TC_CONS_FIX_NEW): Delete.
1327 * gas/config/tc-ppc.c (md_pseudo_table): Remove quad, long, word,
1328 short. Make llong use cons.
1329 (ppc_elf_suffix): Return BFD_RELOC_NONE rather than BFD_RELOC_UNUSED.
1330 (ppc_elf_cons): Delete.
1331 (ppc_elf_parse_cons): New function.
1332 (ppc_elf_validate_fix): Don't check for BFD_RELOC_UNUSED.
1333 (md_assemble): Use BFD_RELOC_NONE rather than BFD_RELOC_UNUSED.
1334 * gas/config/tc-ppc.h (TC_PARSE_CONS_EXPRESSION): Define
1335 (ppc_elf_parse_cons): Declare.
1336 * gas/config/tc-sparc.c (sparc_cons_special_reloc): Delete static var.
1337 (sparc_cons): Return reloc specifier.
1338 (cons_fix_new_sparc): Add reloc specifier param.
1339 (sparc_cfi_emit_pcrel_expr): Use emit_expr_with_reloc.
1340 * gas/config/tc-sparc.h (TC_PARSE_CONS_RETURN_TYPE): Define.
1341 (TC_PARSE_CONS_RETURN_NONE): Define.
1342 (sparc_cons, cons_fix_new_sparc): Update prototype.
1343 * gas/config/tc-v850.c (hold_cons_reloc): Delete static var.
1344 (v850_reloc_prefix): Use BFD_RELOC_NONE rather than BFD_RELOC_UNUSED.
1345 (md_assemble): Likewise.
1346 (parse_cons_expression_v850): Return reloc.
1347 (cons_fix_new_v850): Add reloc parameter.
1348 * gas/config/tc-v850.h (parse_cons_expression_v850): Update proto.
1349 (cons_fix_new_v850): Likewise.
1350 * gas/config/tc-vax.c (vax_cons_special_reloc): Delete static var.
1351 (vax_cons): Return reloc.
1352 (vax_cons_fix_new): Add reloc parameter.
1353 * gas/config/tc-vax.h (vax_cons, vax_cons_fix_new): Update proto.
1354 * gas/config/tc-xstormy16.c (xstormy16_cons_fix_new): Add reloc param.
1355 * gas/config/tc-xstormy16.h (xstormy16_cons_fix_new): Update proto.
1356 * gas/dwarf2dbg.c (TC_PARSE_CONS_RETURN_NONE): Provide default.
1357 (emit_fixed_inc_line_addr): Adjust exmit_expr_fix calls.
1358 * gas/read.c (TC_PARSE_CONS_EXPRESSION): Return value.
1359 (do_parse_cons_expression): Adjust.
1360 (cons_worker): Pass return value from TC_PARSE_CONS_EXPRESSION
1361 to emit_expr_with_reloc.
1362 (emit_expr_with_reloc): New function handling reloc, mostly
1363 extracted from..
1364 (emit_expr): ..here.
1365 (emit_expr_fix): Add reloc param. Adjust TC_CONS_FIX_NEW invocation.
1366 Handle reloc.
1367 (parse_mri_cons): Convert to ISO.
1368 * gas/read.h (TC_PARSE_CONS_RETURN_TYPE): Define.
1369 (TC_PARSE_CONS_RETURN_NONE): Define.
1370 (emit_expr_with_reloc): Declare.
1371 (emit_expr_fix): Update prototype.
1372 * gas/write.c (write_object_file): Update TC_CONS_FIX_NEW invocation.
1373
2cf200a4
IT
13742014-04-03 Ilya Tocar <ilya.tocar@intel.com>
1375
1376 * config/tc-i386.c (cpu_arch): Add .se1.
1377 * doc/c-i386.texi: Document .se1/se1.
1378
0a899fd5
DD
13792014-04-02 DJ Delorie <dj@redhat.com>
1380
1381 * config/tc-rl78.c (md_apply_fix): Add overflow warnings for
1382 pc-relative branches.
1383
cad0da33
NC
13842014-04-02 Nick Clifton <nickc@redhat.com>
1385
1386 PR gas/16765
1387 * config/tc-arm.c (create_unwind_entry): Report an error if an
1388 attempt to recreate an unwind directive is encountered.
1389
cb580a26
NC
13902014-03-27 Nick Clifton <nickc@redhat.com>
1391
1392 * config/tc-score.c (s3_parse_pce_inst): Add "%s" parameter to
1393 sprintf in order to avoid a compile time warning.
1394
b3fe4307
NC
13952014-03-26 Nick Clifton <nickc@redhat.com>
1396
1397 * config/tc-rl78.c (rl78_op): Issue an error message if a 16-bit
1398 relocation is used on an 8-bit operand or vice versa.
1399 (tc_gen_reloc): Use the RL78_16U relocation for RL78_CODE.
1400 (md_apply_fix): Add support for RL78_HI8, RL78_HI16 and RL78_LO16.
1401
3c6256d2
NC
14022014-03-25 Nick Clifton <nickc@redhat.com>
1403
1404 * config/obj-coff-seh.c (obj_coff_seh_code): New function -
1405 switches the current segment back to the code segment recorded
1406 when seh_proc was last invoked.
1407 * config/obj-coff-seh.h (SEH_CMDS): Add seh_code.
1408
3e60bf4d
AM
14092014-03-25 Alan Modra <amodra@gmail.com>
1410
1411 * config/tc-ppc.c (ppc_is_toc_sym): Revert 2014-03-05.
1412 (md_assemble): Likewise. Warn.
1413
a82c7d90
DW
14142014-03-21 David Weatherford <weath@cadence.com>
1415 Max Filippov <jcmvbkbc@gmail.com>
1416
1417 * config/tc-xtensa.c (xtensa_check_frag_count)
1418 xtensa_create_trampoline_frag,
1419 xtensa_maybe_create_trampoline_frag, init_trampoline_frag,
1420 find_trampoline_seg, search_trampolines, get_best_trampoline,
1421 check_and_update_trampolines, add_jump_to_trampoline,
1422 dump_trampolines): New functions.
1423 (md_parse_option): Add cases for --[no-]trampolines options.
1424 (md_assemble, finish_vinsn, xtensa_end): Add call to
1425 xtensa_check_frag_count.
1426 (xg_assemble_vliw_tokens): Add call to
1427 xtensa_maybe_create_trampoline_frag.
1428 (xtensa_relax_frag): Relax fragments with RELAX_TRAMPOLINE state.
1429 (relax_frag_immed): Relax jump instructions that cannot reach its
1430 target.
1431 * config/tc-xtensa.h (xtensa_relax_statesE::RELAX_TRAMPOLINE): New
1432 relax state.
1433 * doc/as.texinfo: Document --[no-]trampolines command-line options.
1434 * doc/c-xtensa.texi: Document trampolines relaxation and command
1435 line options.
1436 * frags.c (get_frag_count, clear_frag_count): New function.
1437 (frag_alloc): Increment totalfrags counter.
1438 * frags.h (get_frag_count, clear_frag_count): New function.
1439
0c315784
DD
14402014-03-20 DJ Delorie <dj@redhat.com>
1441
1442 * config/rl78-defs.h (RL78_RELAX_NONE, RL78_RELAX_BRANCH): Add.
1443 * config/rl78-parse.y (BC, BNC, BZ, BNZ, BH, BHZ, bt_bf): Call
1444 rl78_relax().
1445 * config/tc-rl78.h (md_relax_frag): Define.
1446 (rl78_relax_frag): Declare.
1447 * config/tc-rl78.c (rl78_relax): Add.
1448 (md_assemble): Set up the variable frags also when relaxing.
1449 (op_type_T): New.
1450 (rl78_opcode_type): New.
1451 (rl78_frag_fix_value): New.
1452 (md_estimate_size_before_relax): New-ish.
1453 (rl78_relax_frag): New.
1454 (md_convert_frag): New-ish.
1455
d56a8dda
RS
14562014-03-20 Richard Sandiford <rdsandiford@googlemail.com>
1457
1458 * config/tc-mips.h (DIFF_EXPR_OK, CFI_DIFF_EXPR_OK): Define.
1459 * config/tc-mips.c (md_pcrel_from): Remove error message.
1460 (md_apply_fix): Convert PC-relative BFD_RELOC_32s to
1461 BFD_RELOC_32_PCREL. Report a specific error message for unhandled
1462 PC-relative expressions. Handle BFD_RELOC_8.
1463
ec92c392
JM
14642014-03-19 Jose E. Marchesi <jose.marchesi@oracle.com>
1465
1466 * config/tc-sparc.c (hpriv_reg_table): Added entries for
1467 %hstick_offset and %hstick_enable.
1468 * doc/c-sparc.texi (Sparc-Regs): Document the %hstick_offset and
1469 %hstick_enable hyperprivileged registers.
1470
288c6b30 14712014-03-19 Daniel Gutson <daniel.gutson@tallertechnologies.com>
2e6976a8
DG
1472 Nick Clifton <nickc@redhat.com>
1473
1474 * config/tc-arm.c (codecomposer_syntax): New flag that states whether the
1475 CCS syntax compatibility mode is on or off.
1476 (asmfunc_states): New enum to represent the asmfunc directive state.
1477 (asmfunc_state): New variable holding the asmfunc directive state.
1478 (comment_chars): Rename to arm_comment_chars.
1479 (line_separator_chars): Rename to arm_line_separator_chars.
1480 (s_ccs_ref): New function that handles the .ref directive.
1481 (asmfunc_debug): New function.
1482 (s_ccs_asmfunc): New function that handles the .asmfunc directive.
1483 (s_ccs_endasmfunc): New function that handles the .endasmfunc directive.
1484 (s_ccs_def): New function that handles the .def directive.
1485 (tc_start_label_without_colon): New function.
1486 (md_pseudo_table): Added new CCS directives.
1487 (arm_ccs_mode): New function that handles the -mccs command line option.
1488 (arm_long_opts): Added new -mccs command line option.
1489 * config/tc-arm.h (LABELS_WITHOUT_COLONS): New macro.
1490 (TC_START_LABEL_WITHOUT_COLON): New macro.
1491 (tc_start_label_without_colon): Added extern function declaration.
1492 (tc_comment_chars): Define.
1493 (tc_line_separator_chars): Define.
1494 * app.c (do_scrub_begin): Use tc_line_separator_chars, if defined.
1495 * read.c (read_begin): Likewise.
1496 * doc/as.texinfo: Add documentation for the -mccs command line
1497 option.
1498 * doc/c-arm.texi: Likewise.
1499 * doc/internals.texi: Document tc_line_separator_chars.
1500 * NEWS: Mention the new feature.
1501
a52e6fd3
YZ
15022014-03-18 Jiong Wang <jiong.wang@arm.com>
1503
1504 * config/tc-aarch64.c (aarch64_opts): Add new option
1505 "mno-verbose-error".
1506 (verbose_error_p): Initialize to 1.
1507 * doc/c-aarch64.texi (AArch64 Options): Document -mverbose-error
1508 and -mno-verbose-error.
1509
1f5afe1c
NC
15102014-03-17 Nick Clifton <nickc@redhat.com>
1511
1512 PR gas/16694
1513 * config/tc-arm.c (tc_arm_regname_to_dw2regnum): Parse VFP
1514 registers as well.
1515
df359aa7
RE
15162014-03-13 Richard Earnshaw <rearnsha@arm.com>
1517 Jiong Wang <Jiong.Wang@arm.com>
1518
1519 * doc/c-aarch64.texi: Clean up some formatting issues.
1520 (AArch64 Options): Document -mcpu and -march.
1521 (AArch64 Extensions): New node.
1522
167ad85b
TG
15232014-03-13 Tristan Gingold <gingold@adacore.com>
1524
1525 * config/tc-i386.c (use_big_obj): Declare.
1526 (OPTION_MBIG_OBJ): Define.
1527 (md_longopts): Add -mbig-obj option.
1528 (md_parse_option): Handle it.
1529 (md_show_usage): Display help for this option.
1530 (i386_target_format): Use bigobj for x86-64 if -mbig-obj.
1531 * doc/c-i386.texi: Document the option.
1532
55d9b4c1
NC
15332014-03-12 Nick Clifton <nickc@redhat.com>
1534
1535 PR gas/16688
1536 * config/tc-aarch64.c (literal_expression): New structure.
1537 (literal_pool): Replace exp array with literal_expression array.
1538 (add_to_lit_pool): When adding a bignum cache the big value.
1539 (s_ltorg): When emitting a bignum initialise the global bignum
1540 array from the cached value.
1541
fa47fa92
AM
15422014-03-12 Alan Modra <amodra@gmail.com>
1543
1544 * Makefile.in: Regenerate.
1545 * config.in: Regenerate.
1546 * doc/Makefile.in: Regenerate.
1547
255d9eec
DC
15482014-03-06 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1549 Vishnu KS <Vishnu.k_s@atmel.com>
1550 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1551 Soundararajan <Soundararajan.dhakshinamoorthy@atmel.com>
1552
1553 * gas/tc-avr.c: Add new devices
1554 avr25: ata5272, attiny828
1555 avr35: ata5505, attiny1634
1556 avr4: atmega8a, ata6285, ata6286, atmega48pa
1557 avr5: at90pwm161, ata5790, ata5795, atmega164pa, atmega165pa,
1558 atmega168pa, atmega32a, atmega64rfr2, atmega644rfr2, atmega64a,
1559 atmega16hva2
1560 avr51: atmega128a, atmega1284
1561 avrxmega2: atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4,
1562 atxmega32e5, atxmega16e5, atxmega8e5
1563 avrxmega4: atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3,
1564 atxmega64c3, atxmega64d4
1565 avrxmega6: atxmega128a3u, atxmega128b3, atxmega128c3,
1566 atxmega128d4, atxmega192a3u, atxmega192c3, atxmega256a3u,
1567 atxmega256c3, atxmega384c3, atxmega384d3
1568 avrxmega7: atxmega128a4u
1569 * doc/c-avr.texi: Ditto.
1570
4b95cf5c
AM
15712014-03-05 Alan Modra <amodra@gmail.com>
1572
1573 Update copyright years.
1574
45965137
AM
15752014-03-05 Alan Modra <amodra@gmail.com>
1576
1577 * config/tc-ppc.c (ppc_elf_suffix): Support @localentry.
1578 (md_apply_fix): Support R_PPC64_ADDR64_LOCAL.
1579
a0593ad9
AM
15802014-03-05 Alan Modra <amodra@gmail.com>
1581
1582 * config/tc-ppc.c (md_assemble): Move code adjusting reloc types
1583 later. Merge absolute and relative branch reloc selection.
1584 Generate 16-bit relocs for most 16-bit insn fields given a
1585 non-constant expression.
1586
f50c47f1
AM
15872014-03-05 Alan Modra <amodra@gmail.com>
1588
1589 * config/tc-ppc.c (ppc_is_toc_sym): Remove OBJ_ELF support.
1590 (md_assemble): Don't call ppc_is_toc_sym for ELF.
1591
cd0c81e9 15922014-03-04 Heiher <r@hev.cc>
4ba154f5
RS
1593
1594 * config/tc-mips.c (mips_cpu_info_table): Use ISA_MIPS64R2 for
1595 Loongson-3A.
1596
65d7bab5
NC
15972014-03-03 Nick Clifton <nickc@redhat.com>
1598
1599 * config/msp430/msp430.c: Replace known mcu array with known
1600 msp430 ISA mcu name array.
1601 Accept any name for -mmcu option.
1602 Add -mz option to warn about missing NOP following an interrupt
1603 status change.
1604 (check_for_nop): New.
1605 (msp430_operands): Emit a warning, if requested, when an interrupt
1606 changing instruction is not followed by a NOP.
1607 * doc/c-msp430.c: Document -mz option.
1608
2c80b753
AM
16092014-03-03 Alan Modra <amodra@gmail.com>
1610
1611 * config/bfin-lex-wrapper.c: Correct copyright date.
c1a3e85c
AM
1612 * config/obj-fdpicelf.c: Likewise.
1613 * config/obj-fdpicelf.h: Likewise.
2c80b753
AM
1614 * config/tc-frv.c: Correct copyright punctuation.
1615 * config/tc-ip2k.c: Likewise.
1616 * config/tc-iq2000.c: Likewise.
1617 * config/tc-mep.c: Likewise.
1618 * config/tc-tic4x.c: Likewise.
1619 * config/tc-tic4x.h: Likewise.
1620
83046454
DC
16212014-03-01 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1622
1623 * config/tc-avr.c: Remove atxmega16x1.
1624
02fe846e
AM
16252014-02-28 Alan Modra <amodra@gmail.com>
1626
1627 * dwarf2dbg.c (out_debug_line): Correct .debug_line header_length
1628 field for 64-bit dwarf.
1629
dcf893b5
IT
16302014-02-21 Ilya Tocar <ilya.tocar@intel.com>
1631
1632 * config/tc-i386.c (cpu_arch): Add .prefetchwt1.
1633 * doc/c-i386.texi: Document .prefetchwt1/prefetchwt1.
1634
963f3586
IT
16352014-02-12 Ilya Tocar <ilya.tocar@intel.com>
1636
1637 * config/tc-i386.c (cpu_arch): Add .clflushopt, .xsavec, .xsaves.
1638 * doc/c-i386.texi: Document .xsavec/xsavec/.xsaves/xsaves/
1639 clflushopt/.clfushopt.
1640
c1c69e83
AM
16412014-02-10 Alan Modra <amodra@gmail.com>
1642
1643 * po/POTFILES.in: Regenerate.
1644 * po/gas.pot: Regenerate.
1645
1c2de463
SL
16462014-02-03 Sandra Loosemore <sandra@codesourcery.com>
1647
1648 * config/tc-nios2.c (md_apply_fix): Test for new relocs.
1649 (nios2_special_reloc): Add %call_lo, %call_hiadj, %got_lo,
1650 %got_hiadj relocation operators. Sort table and add comment
1651 to explain ordering.
1652 (nios2_fix_adjustable): Test for new relocs.
1653 * doc/c-nios2.texi (Nios II Relocations): Document new relocation
1654 operators.
1655
78058a5e
SL
16562014-01-30 Sandra Loosemore <sandra@codesourcery.com>
1657
1658 * config/tc-nios2.c (md_apply_fix): Handle BFD_RELOC_NIOS2_CALL26_NOAT.
1659 (nios2_assemble_args_m): Likewise.
1660 (md_assemble): Likewise.
1661
34b822e3
DD
16622014-01-24 DJ Delorie <dj@redhat.com>
1663
1664 * config/tc-msp430.c (msp430_section): Always flag data sections,
1665 regardless of -md.
1666 (msp430_frob_section): New. Make sure all sections are noticed if
1667 they have content.
1668 (msp430_lcomm): New. Flag bss if .lcomm is seen.
1669 (msp430_comm): New. Likewise.
1670 (md_pseudo_table): Add them.
1671 * config/tc-msp430.h (msp430_frob_section): Declare.
1672 (tc_frob_section): Define.
1673
8e75a78f
NC
16742014-01-23 Nick Clifton <nickc@redhat.com>
1675
1676 * config/tc-msp430.c (show_mcu_list): Delete.
1677 (md_parse_option): Accept any MCU name. Accept several more
1678 variants for the -mcpu option.
1679 (md_show_usage): Do not call show_mcu_list.
1680
96b96102
DD
16812014-01-22 DJ Delorie <dj@redhat.com>
1682
1683 * config/tc-msp430.c (msp430_refsym): New: ".refsym <symbol>"
1684 * doc/c-msp430.texi (MSP430 Directives): Document it.
1685
7c84a0ca
MZ
16862014-01-22 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
1687
1688 * config/tc-i386.c (check_VecOperands): Remove regzmm from AVX2
1689 gather assert.
1690
8444f82a
MZ
16912014-01-22 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
1692
1693 PR gas/16489
1694 * config/tc-i386.c (check_VecOperands): Add check for invalid
1695 register set in AVX512 gathers.
1696
cda796e1
AM
16972014-01-22 Alan Modra <amodra@gmail.com>
1698
1699 * config/tc-tic4x.c (md_shortopts): s/CONST/const/.
1700
c9d66558
DD
17012014-01-21 DJ Delorie <dj@redhat.com>
1702
1703 * config/tc-rl78.c (require_end_of_expr): New.
1704 (md_operand): Call it.
1705 (rl78_cons_fix_new): Mark LO16, HI16, ahd HI8 internal relocations
1706 as not overflowing.
1707
827f64ff
WN
17082014-01-17 Will Newton <will.newton@linaro.org>
1709
1710 * config/tc-arm.c (do_vfp_nsyn_cvt_fpv8): Set OP to 1
1711 for the s32.f64 flavours of VCVT.
1712
73812f59
NC
17132014-01-14 Nick Clifton <nickc@redhat.com>
1714
1715 PR gas/16434
1716 * config/tc-z80.c (wrong_match): Provide format string to
1717 as_warn.
1718 (parse_exp_not_indexed): Delete unused variable dummy.
1719 (emit_byte): Delete unused variable fixp.
1720
143e9f4a
L
17212014-01-08 H.J. Lu <hongjiu.lu@intel.com>
1722
1723 * config/tc-i386.c (regbnd): Removed.
1724 (vec_disp8): Likewise.
1725
221fd5d5
L
17262014-01-08 H.J. Lu <hongjiu.lu@intel.com>
1727
1728 * as.c (parse_args): Update copyright year to 2014.
1729
1651e569
TT
17302014-01-07 Tom Tromey <tromey@redhat.com>
1731
1732 * config/tc-tic30.c (debug): Avoid old VA_* compatibility
1733 wrappers.
1734
b51f1626
TT
17352014-01-07 Tom Tromey <tromey@redhat.com>
1736
1737 * config/tc-microblaze.h (parse_cons_expression_microblaze): Don't
1738 use PARAMS.
1739
3cea37c4
TT
17402014-01-07 Tom Tromey <tromey@redhat.com>
1741
1742 * config/tc-xc16x.h: Don't use ANSI_PROTOTYPES.
1743
9877c63c
PT
17442013-01-07 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1745
1746 * config/tc-aarch64.c (aarch64_cpus): Add entry for "xgene-1"
1747
5fb776a6 1748For older changes see ChangeLog-2013
08d56133 1749\f
5fb776a6 1750Copyright (C) 2014 Free Software Foundation, Inc.
752937aa
NC
1751
1752Copying and distribution of this file, with or without modification,
1753are permitted in any medium without royalty provided the copyright
1754notice and this notice are preserved.
1755
08d56133
NC
1756Local Variables:
1757mode: change-log
1758left-margin: 8
1759fill-column: 74
1760version-control: never
1761End:
This page took 0.68785 seconds and 4 git commands to generate.