]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/ChangeLog
PR gas/15623
[thirdparty/binutils-gdb.git] / gas / ChangeLog
CommitLineData
24382199
NC
12013-06-24 Nick Clifton <nickc@redhat.com>
2
3 PR gas/15623
4 * config/tc-arm.c (do_t_smc): Mark as ending an IT block.
5
c3678916
RS
62013-06-23 Richard Sandiford <rdsandiford@googlemail.com>
7
8 * config/tc-mips.c (mips_ip): Fix swapped bit numbers in comments.
9
42429eac
RS
102013-06-23 Richard Sandiford <rdsandiford@googlemail.com>
11
12 * config/tc-mips.c: Assert that offsetT and valueT are at least
13 8 bytes in size.
14 (GPR_SMIN, GPR_SMAX): New macros.
15 (macro, mips_ip): Remove code for 4-byte valueT and offsetT.
16
f3ded42a
RS
172013-06-22 Richard Sandiford <rdsandiford@googlemail.com>
18
19 * config/tc-mips.c: Remove OBJ_ELF, OBJ_MAYBE_ELF and IS_ELF
20 conditions. Remove any code deselected by them.
21 (s_mips_frame, s_mips_mask): Handle ECOFF_DEBUGGING case first.
22
e8044f35
RS
232013-06-22 Richard Sandiford <rdsandiford@googlemail.com>
24
25 * NEWS: Note removal of ECOFF support.
26 * doc/as.texinfo (--emulation): Update for the removal of MIPS ECOFF.
27 * Makefile.am (TARG_ENV_HFILES): Remove config/te-lnews.h.
28 (MULTI_CFILES): Remove config/e-mipsecoff.c.
29 * Makefile.in: Regenerate.
30 * configure.in: Remove MIPS ECOFF references.
31 (mips-sony-bsd*, mips-*-bsd*, mips-*-lnews*-ecoff, mips-*-*-ecoff):
32 Delete cases.
33 (mips-*-irix5*-*, mips*-*-linux*-*, mips*-*-freebsd*)
34 (mips*-*-kfreebsd*-gnu, mips-*-*-elf): Fold into...
35 (mips-*-*): ...this single case.
36 (mipsbecoff, mipslecoff, mipsecoff): Remove emulations. Expect
37 MIPS emulations to be e-mipself*.
38 * configure: Regenerate.
39 * configure.tgt (mips-sony-bsd*, mips-*-ultrix*, mips-*-osf*)
40 (mips-*-ecoff*, mips-*-pe*, mips-*-irix*, ips-*-lnews*, mips-*-riscos*)
41 (mips-*-sysv*): Remove coff and ecoff cases.
42 * as.c (mipsbecoff, mipslecoff, mipsecoff): Remove.
43 * ecoff.c: Remove reference to MIPS ECOFF.
44 * config/e-mipsecoff.c, config/te-lnews.h: Delete files.
45 * config/tc-mips.c (ECOFF_LITTLE_FORMAT): Delete.
46 (RDATA_SECTION_NAME, mips_target_form): Remove COFF and ECOFF cases.
47 (mips_hi_fixup): Tweak comment.
48 (append_insn): Require a howto.
49 (mips_after_parse_args): Remove OBJ_MAYBE_ECOFF code.
50
98508b2a
RS
512013-06-22 Richard Sandiford <rdsandiford@googlemail.com>
52
53 * doc/as.texinfo: Use MIPS rather than @sc{mips} throughout.
54 Use "CPU" instead of "cpu".
55 * doc/c-mips.texi: Likewise.
56 (MIPS Opts): Rename to MIPS Options.
57 (MIPS option stack): Rename to MIPS Option Stack.
58 (MIPS ASE instruction generation overrides): Rename to
59 MIPS ASE Instruction Generation Overrides (for now).
60 (MIPS floating-point): Rename to MIPS Floating-Point.
61
fc16f8cc
RS
622013-06-22 Richard Sandiford <rdsandiford@googlemail.com>
63
64 * doc/c-mips.texi (MIPS Macros): New section.
65 (MIPS Object): Replace with...
66 (MIPS Small Data): ...this new section.
67
5a7560b5
RS
682013-06-22 Richard Sandiford <rdsandiford@googlemail.com>
69
70 * doc/c-mips.texi (MIPS symbol sizes): Move section further up file.
71 Capitalize name. Use @kindex instead of @cindex for .set entries.
72
a1b86ab7
RS
732013-06-22 Richard Sandiford <rdsandiford@googlemail.com>
74
75 * doc/c-mips.texi (MIPS Stabs): Remove section.
76
c6278170
RS
772013-06-20 Richard Sandiford <rdsandiford@googlemail.com>
78
79 * config/tc-mips.c (ISA_SUPPORTS_SMARTMIPS, ISA_SUPPORTS_DSP_ASE)
80 (ISA_SUPPORTS_DSP64_ASE, ISA_SUPPORTS_DSPR2_ASE, ISA_SUPPORTS_EVA_ASE)
81 (ISA_SUPPORTS_MT_ASE, ISA_SUPPORTS_MCU_ASE, ISA_SUPPORTS_VIRT_ASE)
82 (ISA_SUPPORTS_VIRT64_ASE): Delete.
83 (mips_ase): New structure.
84 (mips_ases): New table.
85 (FP64_ASES): New macro.
86 (mips_ase_groups): New array.
87 (mips_isa_rev, mips_ase_mask, mips_check_isa_supports_ase)
88 (mips_check_isa_supports_ases, mips_set_ase, mips_lookup_ase): New
89 functions.
90 (is_opcode_valid): Use mips_ases to get the 64-bit ASE flags.
91 (md_parse_option): Use mips_ases and mips_set_ase instead of
92 separate case statements for each ASE option.
93 (mips_after_parse_args): Use FP64_ASES. Use
94 mips_check_isa_supports_ases to check the ASEs against
95 other options.
96 (s_mipsset): Use mips_ases and mips_set_ase instead of
97 separate if statements for each ASE option. Use
98 mips_check_isa_supports_ases, even when a non-ASE option
99 is specified.
100
63a4bc21
KT
1012013-06-19 Greta Yorsh <Greta.Yorsh@arm.com>
102
103 * config/tc-arm.c (arm_cpus): Add support for Cortex-A12.
104
c31f3936
RS
1052013-06-18 Richard Sandiford <rdsandiford@googlemail.com>
106
107 * config/tc-mips.c (md_shortopts, options, md_longopts)
108 (md_longopts_size): Move earlier in file.
109
846ef2d0
RS
1102013-06-18 Richard Sandiford <rdsandiford@googlemail.com>
111
112 * config/tc-mips.c (mips_set_options): Replace separate "ase_*" fields
113 with a single "ase" bitmask.
114 (mips_opts): Update accordingly.
115 (file_ase, file_ase_explicit): New variables.
116 (file_ase_mips3d, file_ase_mdmx, file_ase_smartmips, file_ase_dsp)
117 (file_ase_dspr2, file_ase_eva, file_ase_mt, file_ase_virt): Delete.
118 (ISA_HAS_ROR): Adjust for mips_set_options change.
119 (is_opcode_valid): Take the base ase mask directly from mips_opts.
120 (mips_ip): Adjust for mips_set_options change.
121 (md_parse_option): Likewise. Update file_ase_explicit.
122 (mips_after_parse_args): Adjust for mips_set_options change.
123 Use bitmask operations to select the default ASEs. Set file_ase
124 rather than individual per-ASE variables.
125 (s_mipsset): Adjust for mips_set_options change.
126 (mips_elf_final_processing): Test file_ase rather than
127 file_ase_mdmx. Remove commented-out code.
128
d16afab6
RS
1292013-06-18 Richard Sandiford <rdsandiford@googlemail.com>
130
131 * config/tc-mips.c (mips_cpu_info): Add an "ase" field.
132 (MIPS_CPU_ASE_SMARTMIPS, MIPS_CPU_ASE_DSP, MIPS_CPU_ASE_MT)
133 (MIPS_CPU_ASE_MIPS3D, MIPS_CPU_ASE_MDMX, MIPS_CPU_ASE_DSPR2)
134 (MIPS_CPU_ASE_MCU, MIPS_CPU_ASE_VIRT, MIPS_CPU_ASE_EVA): Delete.
135 (mips_after_parse_args): Use the new "ase" field to choose
136 the default ASEs.
137 (mips_cpu_info_table): Move ASEs from the "flags" field to the
138 "ase" field.
139
e83a675f
RE
1402013-06-18 Richard Earnshaw <rearnsha@arm.com>
141
142 * config/tc-arm.c (symbol_preemptible): New function.
143 (relax_branch): Use it.
144
7f3c4072
CM
1452013-06-17 Catherine Moore <clm@codesourcery.com>
146 Maciej W. Rozycki <macro@codesourcery.com>
147 Chao-Ying Fu <fu@mips.com>
148
149 * config/tc-mips.c (mips_set_options): Add ase_eva.
150 (mips_set_options mips_opts): Add ase_eva.
151 (file_ase_eva): Declare.
152 (ISA_SUPPORTS_EVA_ASE): Define.
153 (IS_SEXT_9BIT_NUM): Define.
154 (MIPS_CPU_ASE_EVA): Define.
155 (is_opcode_valid): Add support for ase_eva.
156 (macro_build): Likewise.
157 (macro): Likewise.
158 (validate_mips_insn): Likewise.
159 (validate_micromips_insn): Likewise.
160 (mips_ip): Likewise.
161 (options): Add OPTION_EVA and OPTION_NO_EVA.
162 (md_longopts): Add -meva and -mno-eva.
163 (md_parse_option): Process new options.
164 (mips_after_parse_args): Check for valid EVA combinations.
165 (s_mipsset): Likewise.
166
e410add4
RS
1672013-06-14 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
168
169 * dwarf2dbg.h (dwarf2_move_insn): Declare.
170 * dwarf2dbg.c (line_subseg): Add pmove_tail.
171 (get_line_subseg): Add create_p argument. Initialize pmove_tail.
172 (dwarf2_gen_line_info_1): Update call accordingly.
173 (dwarf2_move_insn): New function.
174 * config/tc-mips.c (append_insn): Use dwarf2_move_insn.
175
6a50d470
RS
1762013-06-14 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
177
178 Revert:
179
180 2011-09-05 Richard Sandiford <rdsandiford@googlemail.com>
181
182 PR gas/13024
183 * dwarf2dbg.c (pending_lines, pending_lines_tail): New variables.
184 (dwarf2_gen_line_info_1): Delete.
185 (dwarf2_push_line, dwarf2_flush_pending_lines): New functions.
186 (dwarf2_gen_line_info, dwarf2_emit_label): Use them.
187 (dwarf2_consume_line_info): Call dwarf2_flush_pending_lines.
188 (dwarf2_directive_loc): Push previous .locs instead of generating
189 them immediately.
190
f122319e
CF
1912013-06-13 Chao-ying Fu <Chao-ying.Fu@imgtec.com>
192
193 * config/tc-mips.c (ISA_SUPPORTS_VIRT_ASE): Support micromips.
194 (ISA_SUPPORTS_VIRT64_ASE): Support 64-bit micromips.
195
909c7f9c
NC
1962013-06-13 Nick Clifton <nickc@redhat.com>
197
198 PR gas/15602
199 * config/tc-m68k.h (TC_CHECK_ADJUSTED_BROKEN_DOT_WORD): Define.
200 * config/tc-m68k.c (tc_m68k_check_adjusted_broken_word): New
201 function. Generates an error if the adjusted offset is out of a
202 16-bit range.
203
5d5755a7
SL
2042013-06-12 Sandra Loosemore <sandra@codesourcery.com>
205
206 * config/tc-nios2.c (md_apply_fix): Mask constant
207 BFD_RELOC_NIOS2_HIADJ16 value to 16 bits.
208
3bf0dbfb
MR
2092013-06-10 Maciej W. Rozycki <macro@codesourcery.com>
210
211 * config/tc-mips.c (append_insn): Don't do branch relaxation for
212 MIPS-3D instructions either.
213 (md_convert_frag): Update the COPx branch mask accordingly.
214
215 * config/tc-mips.c (md_show_usage): Document --[no-]relax-branch
216 option.
217 * doc/as.texinfo (Overview): Add --relax-branch and
218 --no-relax-branch.
219 * doc/c-mips.texi (MIPS Opts): Document --relax-branch and
220 --no-relax-branch.
221
9daf7bab
SL
2222013-06-09 Sandra Loosemore <sandra@codesourcery.com>
223
224 * config/tc-nios2.c (nios2_parse_args): Allow trap argument to
225 omitted.
226
d301a56b
RS
2272013-06-08 Catherine Moore <clm@codesourcery.com>
228
229 * config/tc-mips.c (is_opcode_valid): Build ASE mask.
230 (is_opcode_valid_16): Pass ase value to opcode_is_member.
231 (append_insn): Change INSN_xxxx to ASE_xxxx.
232
7bab7634
DC
2332013-06-01 George Thomas <george.thomas@atmel.com>
234
235 * gas/config/tc-avr.c: Change ISA for devices with USB support to
236 AVR_ISA_XMEGAU
237
f60cf82f
L
2382013-05-31 H.J. Lu <hongjiu.lu@intel.com>
239
240 * config/tc-i386.c (md_begin): Don't align text/data/bss sections
241 for ELF.
242
a3f278e2
CM
2432013-05-31 Paul Brook <paul@codesourcery.com>
244
245 gas/
246 * config/tc-mips.c (s_ehword): New.
247
067ec077
CM
2482013-05-30 Paul Brook <paul@codesourcery.com>
249
250 * config/tc-mips.c (md_apply_fix): Support BFD_RELOC_MIPS_EH.
251
d6101ac2
MR
2522013-05-29 Maciej W. Rozycki <macro@codesourcery.com>
253
254 * write.c (resolve_reloc_expr_symbols): On REL targets don't
255 convert relocs who have no relocatable field either. Rephrase
256 the conditional so that the PC-relative check is only applied
257 for REL targets.
258
f19ccbda
MR
2592013-05-28 Chao-ying Fu <Chao-ying.Fu@imgtec.com>
260
261 * config/tc-mips.c (macro) <ld>: Don't use $zero for address
262 calculation.
263
418009c2
YZ
2642013-05-28 Yufeng Zhang <yufeng.zhang@arm.com>
265
266 * config/tc-aarch64.c (reloc_table): Update to use
267 BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE21 instead of
268 BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE.
269 (md_apply_fix): Likewise.
270 (aarch64_force_relocation): Likewise.
271
0a8897c7
KT
2722013-05-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
273
274 * config/tc-arm.c (it_fsm_post_encode): Improve
275 warning messages about deprecated IT block formats.
276
89d2a2a3
MS
2772013-05-28 Marcus Shawcroft <marcus.shawcroft@arm.com>
278
279 * config/tc-aarch64.c (md_apply_fix): Move value range checking
280 inside fx_done condition.
281
c77c0862
RS
2822013-05-22 Jürgen Urban <JuergenUrban@gmx.de>
283
284 * config/tc-mips.c (macro): Handle M_LQC2_AB and M_SQC2_AB.
285
c0637f3a
PB
2862013-05-20 Peter Bergner <bergner@vnet.ibm.com>
287
288 * config/tc-ppc.c (ppc_setup_opcodes): Use new_seg to fix error
289 and clean up warning when using PRINT_OPCODE_TABLE.
290
5656a981
AM
2912013-05-20 Alan Modra <amodra@gmail.com>
292
293 * config/tc-ppc.c (md_apply_fix): Hoist code common to insn
294 and data fixups performing shift/high adjust/sign extension on
295 fieldval. Sink fx_pcrel handling and checks. Use fixP->fx_size
296 when writing data fixups rather than recalculating size.
297
997b26e8
JBG
2982013-05-16 Jan-Benedict Glaw <jbglaw@lug-owl.de>
299
300 * doc/c-msp430.texi: Fix typo.
301
9f6e76f4
TG
3022013-05-16 Tristan Gingold <gingold@adacore.com>
303
304 * config/tc-ppc.c (ppc_is_toc_sym): Symbols of class XMC_TC
305 are also TOC symbols.
306
638d3803
NC
3072013-05-16 Nick Clifton <nickc@redhat.com>
308
309 * config/tc-msp430.c: Make -mmcu recognise more part numbers.
310 Add -mcpu command to specify core type.
997b26e8 311 * doc/c-msp430.texi: Update documentation.
638d3803 312
b015e599
AP
3132013-05-09 Andrew Pinski <apinski@cavium.com>
314
315 * config/tc-mips.c (struct mips_set_options): New ase_virt field.
316 (mips_opts): Update for the new field.
317 (file_ase_virt): New variable.
318 (ISA_SUPPORTS_VIRT_ASE): New macro.
319 (ISA_SUPPORTS_VIRT64_ASE): New macro.
320 (MIPS_CPU_ASE_VIRT): New define.
321 (is_opcode_valid): Handle ase_virt.
322 (macro_build): Handle "+J".
323 (validate_mips_insn): Likewise.
324 (mips_ip): Likewise.
325 (enum options): Add OPTION_VIRT and OPTION_NO_VIRT.
326 (md_longopts): Add mvirt and mnovirt
327 (md_parse_option): Handle OPTION_VIRT and OPTION_NO_VIRT.
328 (mips_after_parse_args): Handle ase_virt field.
329 (s_mipsset): Handle "virt" and "novirt".
330 (mips_elf_final_processing): Add a comment about virt ASE might need
331 a new flag.
332 (md_show_usage): Print out the usage of -mvirt and mno-virt options.
333 * doc/c-mips.texi: Document -mvirt and -mno-virt.
334 Document ".set virt" and ".set novirt".
335
da8094d7
AM
3362013-05-09 Alan Modra <amodra@gmail.com>
337
338 * config/tc-ppc.c (md_apply_fix): Sign extend fieldval under
339 control of operand flag bits.
340
c5f8c205
AM
3412013-05-07 Alan Modra <amodra@gmail.com>
342
343 * config/tc-ppc.c (PPC_VLE_SPLIT16A): Delete unused macro.
344 (PPC_VLE_SPLIT16D, PPC_VLE_LO16A, PPC_VLE_LO16D): Likewise.
345 (PPC_VLE_HI16A, PPC_VLE_HI16D): Likewise.
346 (PPC_VLE_HA16A, PPC_VLE_HA16D): Likewise.
347 (md_apply_fix): Set fx_no_overflow for assorted relocations.
348 Shift and sign-extend fieldval for use by some VLE reloc
349 operand->insert functions.
350
b47468a6
CM
3512013-05-06 Paul Brook <paul@codesourcery.com>
352 Catherine Moore <clm@codesourcery.com>
353
c5f8c205
AM
354 * config/tc-mips.c (md_pcrel_from): Handle BFD_RELOC_32_PCREL.
355 (limited_pcrel_reloc_p): Likewise.
b47468a6
CM
356 (md_apply_fix): Likewise.
357 (tc_gen_reloc): Likewise.
358
2de39019
CM
3592013-05-06 Richard Sandiford <rdsandiford@googlemail.com>
360
361 * config/tc-mips.c (limited_pcrel_reloc_p): New function.
362 (mips_fix_adjustable): Adjust pc-relative check to use
363 limited_pc_reloc_p.
364
754e2bb9
RS
3652013-05-02 Richard Sandiford <rdsandiford@googlemail.com>
366
367 * config/tc-mips.c (mips_pseudo_table): Add stabd and stabs entries.
368 (s_mips_stab): Do not restrict to stabn only.
369
13761a11
NC
3702013-05-02 Nick Clifton <nickc@redhat.com>
371
372 * config/tc-msp430.c: Add support for the MSP430X architecture.
373 Add code to insert a NOP instruction after any instruction that
374 might change the interrupt state.
375 Add support for the LARGE memory model.
376 Add code to initialise the .MSP430.attributes section.
377 * config/tc-msp430.h: Add support for the MSP430X architecture.
378 * doc/c-msp430.texi: Document the new -mL and -mN command line
379 options.
380 * NEWS: Mention support for the MSP430X architecture.
381
df26367c
MR
3822013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
383
384 * configure.tgt: Replace alpha*-*-linuxecoff* pattern with
385 alpha*-*-linux*ecoff*.
386
f02d8318
CF
3872013-04-30 Chao-ying Fu <Chao-ying.Fu@imgtec.com>
388
389 * config/tc-mips.c (mips_ip): Add sizelo.
390 For "+C", "+G", and "+H", set sizelo and compare against it.
391
b40bf0a2
NC
3922013-04-29 Nick Clifton <nickc@redhat.com>
393
394 * as.c (Options): Add -gdwarf-sections.
395 (parse_args): Likewise.
396 * as.h (flag_dwarf_sections): Declare.
397 * dwarf2dbg.c (emit_fixed_inc_line_addr): Skip section changes.
398 (process_entries): When -gdwarf-sections is enabled generate
399 fragmentary .debug_line sections.
400 (out_debug_line): Set the section for the .debug_line section end
401 symbol.
402 * doc/as.texinfo: Document -gdwarf-sections.
403 * NEWS: Mention -gdwarf-sections.
404
8eeccb77 4052013-04-26 Christian Groessler <chris@groessler.org>
00a3147e
CG
406
407 * config/tc-z8k.c (md_parse_option): Set z8k_target_from_cmdline
408 according to the target parameter. Don't call s_segm since s_segm
409 calls bfd_set_arch_mach using stdoutput, but stdoutput isn't
410 initialized yet.
411 (md_begin): Call s_segm according to target parameter from command
412 line.
413
49926cd0
AM
4142013-04-25 Alan Modra <amodra@gmail.com>
415
416 * configure.in: Allow little-endian linux.
417 * configure: Regenerate.
418
e3031850
SL
4192013-04-24 Sandra Loosemore <sandra@codesourcery.com>
420
421 * config/tc-nios2.c (nios2_control_register_arg_p): Rename
422 "fstatus" control register to "eccinj".
423
cb948fc0
KT
4242013-04-19 Kai Tietz <ktietz@redhat.com>
425
426 * configure.tgt (i386-*-cygwin): Handle x86_64 cygwin.
427
4455e9ad
JB
4282013-04-15 Julian Brown <julian@codesourcery.com>
429
430 * expr.c (add_to_result, subtract_from_result): Make global.
431 * expr.h (add_to_result, subtract_from_result): Add prototypes.
432 * config/tc-sh.c (sh_optimize_expr): Use add_to_result,
433 subtract_from_result to handle extra bit of precision for .sleb128
434 directive operands.
435
956a6ba3
JB
4362013-04-10 Julian Brown <julian@codesourcery.com>
437
438 * read.c (convert_to_bignum): Add sign parameter. Use it
439 instead of X_unsigned to determine sign of resulting bignum.
440 (emit_expr): Pass extra argument to convert_to_bignum.
441 (emit_leb128_expr): Use X_extrabit instead of X_unsigned. Pass
442 X_extrabit to convert_to_bignum.
443 (parse_bitfield_cons): Set X_extrabit.
444 * expr.c (make_expr_symbol, expr_build_uconstant, operand):
445 Initialise X_extrabit field as appropriate.
446 (add_to_result): New.
447 (subtract_from_result): New.
448 (expr): Use above.
449 * expr.h (expressionS): Add X_extrabit field.
450
eb9f3f00
JB
4512013-04-10 Jan Beulich <jbeulich@suse.com>
452
453 * gas/config/tc-arm.c (encode_arm_addr_mode_3): Only reject base
454 register being PC when is_t or writeback, and use distinct
455 diagnostic for the latter case.
456
ccb84d65
JB
4572013-04-10 Jan Beulich <jbeulich@suse.com>
458
459 * gas/config/tc-arm.c (parse_operands): Re-write
460 po_barrier_or_imm().
461 (do_barrier): Remove bogus constraint().
462 (do_t_barrier): Remove.
463
4d13caa0
NC
4642013-04-09 Joerg Wunsch <joerg.wunsch@atmel.com>
465
466 * gas/config/tc-avr.c (mcu_types): Add ATmega64RFR2,
467 ATmega644RFR2, ATmega128RFR2, ATmega1284RFR2, ATmega256RFR2,
468 ATmega2564RFR2
469 * gas/doc/c-avr.texi (-mmcu documentation): Likewise.
470
16d02dc9
JB
4712013-04-09 Jan Beulich <jbeulich@suse.com>
472
473 * gas/config/tc-arm.c (do_vmrs): Accept all control registers.
474 Use local variable Rt in more places.
475 (do_vmsr): Accept all control registers.
476
05ac0ffb
JB
4772013-04-09 Jan Beulich <jbeulich@suse.com>
478
479 * gas/config/tc-arm.c (do_neon_mov): Fake an instruction suffix
480 if there was none specified for moves between scalar and core
481 register.
482
2d51fb74
JB
4832013-04-09 Jan Beulich <jbeulich@suse.com>
484
485 * gas/config/tc-arm.c (do_neon_ldx_stx): Reject VSTn in the
486 NEON_ALL_LANES case.
487
94dcf8bf
JB
4882013-04-08 Jan Beulich <jbeulich@suse.com>
489
490 * gas/config/tc-arm.c (do_neon_ldr_str): Correct disgnostics for
491 PC-relative VSTR.
492
1472d06f
JB
4932013-04-08 Jan Beulich <jbeulich@suse.com>
494
495 * gas/config/tc-arm.c (reg_names): Convert duplicate SP_fiq
496 entry to sp_fiq.
497
0c76cae8
AM
4982013-04-03 Alan Modra <amodra@gmail.com>
499
500 * doc/as.texinfo: Add support to generate man options for h8300.
501 * doc/c-h8300.texi: Likewise.
502
92eb40d9
RR
5032013-03-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
504
505 * config/tc-arm.c (arm_cpus): Add support for Cortex-A53 and
506 Cortex-A57.
507
51dcdd4d
NC
5082013-03-27 Alexis Deruelle <alexis.deruelle@gmail.com>
509
510 PR binutils/15068
511 * config/tc-tic6x.c (tic6x_try_encode): Add use of bitfields array.
512
c5d685bf
NC
5132013-03-26 Nick Clifton <nickc@redhat.com>
514
9b978282
NC
515 PR gas/15295
516 * listing.c (rebuffer_line): Rewrite to avoid seeking back to the
517 start of the file each time.
518
c5d685bf
NC
519 PR gas/15178
520 * config/tc-sparc.h (ELF_TARGET_FORMAT): Set to elf32-sparc for
521 FreeBSD targets.
522
9699c833
TG
5232013-03-26 Douglas B Rupp <rupp@gnat.com>
524
525 * config/tc-ia64.c (emit_one_bundle): Move last_slot adjustment
526 after fixup.
527
4755303e
WN
5282013-03-21 Will Newton <will.newton@linaro.org>
529
530 * config/tc-arm.c (encode_thumb32_addr_mode): Emit an error for all
531 pc-relative str instructions in Thumb mode.
532
81f5558e
NC
5332013-03-21 Michael Schewe <michael.schewe@gmx.net>
534
535 * config/tc-h8300.c (do_a_fix_imm): Add relaxation of mov
536 @(disp:32,ERx) to mov @(disp:16,ERx) insns by new reloc
537 R_H8_DISP32A16.
538 * config/tc-h8300.h: Remove duplicated defines.
539
71863e73
NC
5402013-03-21 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
541
542 PR gas/15282
543 * tc-avr.c (mcu_has_3_byte_pc): New function.
544 (tc_cfi_frame_initial_instructions): Call it to find return
545 address size.
546
795b8e6b
NC
5472013-03-20 Alexis Deruelle <alexis.deruelle@gmail.com>
548
549 PR gas/15095
550 * config/tc-tic6x.c (tic6x_try_encode): Handle
551 tic6x_coding_dreg_(msb|lsb) field coding types and use it to
552 encode register pair numbers when required.
553
ba86b375
WN
5542013-03-15 Will Newton <will.newton@linaro.org>
555
556 * config/tc-arm.c (do_neon_ldr_str): Fix error check for PC register
557 in vstr in Thumb mode for pre-ARMv7 cores.
558
9e6f3811
AS
5592013-03-14 Andreas Schwab <schwab@suse.de>
560
561 * doc/c-arc.texi (ARC Directives): Revert last change and use
562 @itemize instead of @table.
563 * doc/c-arm.texi (ARM-Instruction-Set): Likewise.
564
b10bf8c5
NC
5652013-03-14 Nick Clifton <nickc@redhat.com>
566
567 PR gas/15273
568 * config/tc-arm.c (do_co_reg): Do not call check_obsolete with a
569 NULL message, instead just check ARM_CPU_IS_ANY directly.
570
ba724cfc
NC
5712013-03-14 Nick Clifton <nickc@redhat.com>
572
573 PR gas/15212
9e6f3811 574 * doc/c-arc.texi (ARC Directives): Use @code instead of @bullet
ba724cfc
NC
575 for table format.
576 * doc/c-arm.texi (ARM-Instruction-Set): Likewise. Also add text
577 to the @item directives.
578 (ARM-Neon-Alignment): Move to correct place in the document.
579 * doc/c-cr16.texi (CR16 Operand Qualifiers): Fix up table
580 formatting.
581 * doc/c-tic54x.texi (TIC54X-Subsyms): Correct use of
582 @smallexample.
583
531a94fd
SL
5842013-03-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
585
586 * config/tc-nios2.c (nios2_consume_arg): Delete 'k' case. Add 'o'
587 case. Add default BAD_CASE to switch.
588
dad60f8e
SL
5892013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
590
591 * config/tc-nios2.c (nios2_assemble_args_ds): New function.
592 (nios2_arg_info_structs): Add "d,s" and "d,s,E" entries.
593
dd5181d5
KT
5942013-03-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
595
596 * config/tc-arm.c (crc_ext_armv8): New feature set.
597 (UNPRED_REG): New macro.
598 (do_crc32_1): New function.
599 (do_crc32b, do_crc32h, do_crc32w, do_crc32cb,
600 do_crc32ch, do_crc32cw): Likewise.
601 (TUEc): New macro.
602 (insns): Add entries for crc32 mnemonics.
603 (arm_extensions): Add entry for crc.
604
8e723a10
CLT
6052013-03-08 Chung-Lin Tang <cltang@codesourcery.com>
606
607 * write.h (struct fix): Add fx_dot_frag field.
608 (dot_frag): Declare.
609 * write.c (dot_frag): New variable.
610 (fix_new_internal): Set fx_dot_frag field with dot_frag.
611 (fixup_segment): Base calculation of fx_offset with fx_dot_frag.
612 * expr.c (expr): Save value of frag_now in dot_frag when setting
613 dot_value.
614 * read.c (emit_expr): Likewise. Delete comments.
615
be05d201
L
6162013-03-07 H.J. Lu <hongjiu.lu@intel.com>
617
618 * config/tc-i386.c (flag_code_names): Removed.
619 (i386_index_check): Rewrote.
620
62b0d0d5
YZ
6212013-03-05 Yufeng Zhang <yufeng.zhang@arm.com>
622
623 * config/tc-aarch64.c (aarch64_imm_float_p): Rename 'e' to 'pattern';
624 add comment.
625 (aarch64_double_precision_fmovable): New function.
626 (parse_aarch64_imm_float): Add parameter 'dp_p'; call the new
627 function; handle hexadecimal representation of IEEE754 encoding.
628 (parse_operands): Update the call to parse_aarch64_imm_float.
629
165de32a
L
6302013-02-28 H.J. Lu <hongjiu.lu@intel.com>
631
632 * config/tc-i386.c (_i386_insn): Replace have_hle with hle_prefix.
633 (check_hle): Updated.
634 (md_assemble): Likewise.
635 (parse_insn): Likewise.
636
d5de92cf
L
6372013-02-28 H.J. Lu <hongjiu.lu@intel.com>
638
639 * config/tc-i386.c (_i386_insn): Add rep_prefix.
9e6f3811 640 (md_assemble): Check if REP prefix is OK.
d5de92cf
L
641 (parse_insn): Remove expecting_string_instruction. Set
642 i.rep_prefix.
643
e60bb1dd
YZ
6442013-02-28 Yufeng Zhang <yufeng.zhang@arm.com>
645
646 * config/tc-aarch64.c (aarch64_features): Add the 'crc' option.
647
aeebdd9b
YZ
6482013-02-28 Yufeng Zhang <yufeng.zhang@arm.com>
649
650 * config/tc-aarch64.c (parse_sys_reg): Allow the full range of CRn
651 for system registers.
652
4107ae22
DD
6532013-02-27 DJ Delorie <dj@redhat.com>
654
655 * config/tc-rl78.c (reloc_function): Add %code -> BFD_RELOC_RL78_CODE.
656 (rl78_op): Handle %code().
657 (rl78_cons_fix_new): Likewise, but ignore for 20-bit operands.
658 (tc_gen_reloc): Likwise; convert to a computed reloc.
659 (md_apply_fix): Likewise.
660
151fa98f
NC
6612013-02-25 Kaushik Phatak <Kaushik.Phatak@kpitcummins.com>
662
663 * config/rl78-parse.y: Fix encoding of DIVWU insn.
664
70a8bc5b 6652013-02-25 Terry Guo <terry.guo@arm.com>
666
667 * config/tc-arm.c (arm_cpus): Add cortex-r7 entry.
668 * doc/c-arm.texi: Add cortex-r7 and missing cortex-r5 to
669 list of accepted CPUs.
670
5c111e37
L
6712013-02-19 H.J. Lu <hongjiu.lu@intel.com>
672
673 PR gas/15159
674 * config/tc-i386.c (cpu_arch): Add ".smap".
675
676 * doc/c-i386.texi: Document smap.
677
8a75745d
MR
6782013-02-18 Maciej W. Rozycki <macro@codesourcery.com>
679
680 * config/tc-mips.c (s_cpload): Call mips_mark_labels and set
681 mips_assembling_insn appropriately.
682 (s_cpsetup, s_cprestore, s_cpreturn, s_cpadd): Likewise.
683
79850f26
MR
6842013-02-18 Maciej W. Rozycki <macro@codesourcery.com>
685
cf29fc61 686 * config/tc-mips.c (append_insn): Correct indentation, remove
79850f26
MR
687 extraneous braces.
688
4c261dff
NC
6892013-02-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
690
5c111e37 691 * config/tc-arm.c (do_neon_mov): Break on NS_NULL.
4c261dff 692
ea33f281
NC
6932013-02-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
694
695 * configure.tgt: Add nios2-*-rtems*.
696
a1ccaec9
YZ
6972013-02-14 Yufeng Zhang <yufeng.zhang@arm.com>
698
699 * config/tc-aarch64.c (md_begin): Change to check if 'name' is
700 NULL.
701
0aa27725
RS
7022013-02-09 Jürgen Urban <JuergenUrban@gmx.de>
703
704 * config/tc-mips.c (CPU_HAS_LDC1_SDC1): New macro.
705 (macro): Use it. Assert that trunc.w.s is not used for r5900.
706
da4339ed
NC
7072013-02-08 Yi-Hsiu, Hsu <ahsu@marvell.com>
708
709 * gas/config/tc-arm.c (arm_cpus): Add support for mcpu=marvell-pj4
710 core.
711
36591ba1 7122013-02-06 Sandra Loosemore <sandra@codesourcery.com>
5c111e37 713 Andrew Jenner <andrew@codesourcery.com>
36591ba1
SL
714
715 Based on patches from Altera Corporation.
716
717 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-nios2.c.
718 (TARGET_CPU_HFILES): Add config/tc-nios2.h.
719 * Makefile.in: Regenerated.
720 * configure.tgt: Add case for nios2*-linux*.
721 * config/obj-elf.c: Conditionally include elf/nios2.h.
722 * config/tc-nios2.c: New file.
723 * config/tc-nios2.h: New file.
724 * doc/Makefile.am (CPU_DOCS): Add c-nios2.texi.
725 * doc/Makefile.in: Regenerated.
726 * doc/all.texi: Set NIOSII.
727 * doc/as.texinfo (Overview): Add Nios II options.
728 (Machine Dependencies): Include c-nios2.texi.
729 * doc/c-nios2.texi: New file.
730 * NEWS: Note Altera Nios II support.
731
94d4433a
AM
7322013-02-06 Alan Modra <amodra@gmail.com>
733
734 PR gas/14255
735 * config/tc-avr.h (TC_VALIDATE_FIX): Mark symbol used by reloc.
736 Don't skip fixups with fx_subsy non-NULL.
737 * config/tc-avr.c (tc_gen_reloc): Don't specially handle fixups
738 with fx_subsy non-NULL.
739
ace9af6f
L
7402013-02-04 H.J. Lu <hongjiu.lu@intel.com>
741
742 * doc/c-metag.texi: Add "@c man" markers.
743
89d67ed9
AM
7442013-02-04 Alan Modra <amodra@gmail.com>
745
746 * write.c (fixup_segment): Return void. Delete seg_reloc_count
747 related code.
748 (TC_ADJUST_RELOC_COUNT): Delete.
749 * config/tc-i960.h (TC_ADJUST_RELOC_COUNT): Delete.
750
89072bd6
AM
7512013-02-04 Alan Modra <amodra@gmail.com>
752
753 * po/POTFILES.in: Regenerate.
754
f9b2d544
NC
7552013-01-30 Markos Chandras <markos.chandras@imgtec.com>
756
757 * config/tc-metag.c: Make SWAP instruction less permissive with
758 its operands.
759
392ca752
DD
7602013-01-29 DJ Delorie <dj@redhat.com>
761
762 * config/tc-rl78.c (rl78_cons_fix_new): Handle user-specified
763 relocs in .word/.etc statements.
764
427d0db6
RM
7652013-01-29 Roland McGrath <mcgrathr@google.com>
766
767 * config/tc-arm.c (md_apply_fix): Use as_bad_where for "bad
768 immediate value for 8-bit offset" error so it shows line info.
769
4faf939a
JM
7702013-01-24 Joseph Myers <joseph@codesourcery.com>
771
772 * config/tc-ppc.c (md_assemble): Do not generate APUinfo sections
773 for 64-bit output.
774
78c8d46c
NC
7752013-01-24 Nick Clifton <nickc@redhat.com>
776
777 * config/tc-v850.c: Add support for e3v5 architecture.
778 * doc/c-v850.texi: Mention new support.
779
fb5b7503
NC
7802013-01-23 Nick Clifton <nickc@redhat.com>
781
782 PR gas/15039
783 * config/tc-avr.c: Include dwarf2dbg.h.
784
8ce3d284
L
7852013-01-18 H.J. Lu <hongjiu.lu@intel.com>
786
787 * config/tc-i386.c (reloc): Support size relocation only for ELF.
788 (tc_i386_fix_adjustable): Likewise.
789 (lex_got): Likewise.
790 (tc_gen_reloc): Likewise.
791
f5555712
YZ
7922013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
793
794 * config/tc-aarch64.c (output_operand_error_record): Change to output
795 the out-of-range error message as value-expected message if there is
796 only one single value in the expected range.
797 (programmer_friendly_fixup): Remove the handling of 8-bit MOVI with
798 LSL #0 as a programmer-friendly feature.
799
8fd4256d
L
8002013-01-16 H.J. Lu <hongjiu.lu@intel.com>
801
802 * config/tc-i386.c (reloc): Support BFD_RELOC_SIZE32.
803 (tc_i386_fix_adjustable): Keep symbol for BFD_RELOC_32_SIZE and
804 BFD_RELOC_64_SIZE relocations.
805 (lex_got): Support "symbol@SIZE" and don't create GOT symbol
806 for it.
807 (tc_gen_reloc): Resolve BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64
808 relocations against local symbols.
809
a5840dce
AM
8102013-01-16 Alan Modra <amodra@gmail.com>
811
812 * config/tc-ppc.c (md_assemble <TE_PE>): Ignore line after
813 finding some sort of toc syntax error, and break to avoid
814 compiler uninit warning.
815
af89796a
L
8162013-01-15 H.J. Lu <hongjiu.lu@intel.com>
817
818 PR gas/15019
819 * config/tc-i386.c (lex_got): Increment length by 1 if the
820 relocation token is removed.
821
dd42f060
NC
8222013-01-15 Nick Clifton <nickc@redhat.com>
823
824 * config/tc-v850.c (md_assemble): Allow signed values for
825 V850E_IMMEDIATE.
826
464e3686
SK
8272013-01-11 Sean Keys <skeys@ipdatasys.com>
828
829 * config/tc-xgate.c (md_begin): Fix mistake made when going from
af89796a 830 git to cvs.
464e3686 831
5817ffd1
PB
8322013-01-10 Peter Bergner <bergner@vnet.ibm.com>
833
834 * doc/as.texinfo (Target PowerPC): Document -mpower8 and -mhtm.
835 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
836 * config/tc-ppc.c (md_show_usage): Likewise.
837 (ppc_handle_align): Handle power8's group ending nop.
838
f4b1f6a9
SK
8392013-01-10 Sean Keys <skeys@ipdatasys.com>
840
841 * config/tc-xgate.c (md_begin): Fix the printing of opcodes so
af89796a 842 that the assember exits after the opcodes have been printed.
f4b1f6a9 843
34bca508
L
8442013-01-10 H.J. Lu <hongjiu.lu@intel.com>
845
846 * app.c: Remove trailing white spaces.
847 * as.c: Likewise.
848 * as.h: Likewise.
849 * cond.c: Likewise.
850 * dw2gencfi.c: Likewise.
851 * dwarf2dbg.h: Likewise.
852 * ecoff.c: Likewise.
853 * input-file.c: Likewise.
854 * itbl-lex.h: Likewise.
855 * output-file.c: Likewise.
856 * read.c: Likewise.
857 * sb.c: Likewise.
858 * subsegs.c: Likewise.
859 * symbols.c: Likewise.
860 * write.c: Likewise.
861 * config/tc-i386.c: Likewise.
862 * doc/Makefile.am: Likewise.
863 * doc/Makefile.in: Likewise.
864 * doc/c-aarch64.texi: Likewise.
865 * doc/c-alpha.texi: Likewise.
866 * doc/c-arc.texi: Likewise.
867 * doc/c-arm.texi: Likewise.
868 * doc/c-avr.texi: Likewise.
869 * doc/c-bfin.texi: Likewise.
870 * doc/c-cr16.texi: Likewise.
871 * doc/c-d10v.texi: Likewise.
872 * doc/c-d30v.texi: Likewise.
873 * doc/c-h8300.texi: Likewise.
874 * doc/c-hppa.texi: Likewise.
875 * doc/c-i370.texi: Likewise.
876 * doc/c-i386.texi: Likewise.
877 * doc/c-i860.texi: Likewise.
878 * doc/c-m32c.texi: Likewise.
879 * doc/c-m32r.texi: Likewise.
880 * doc/c-m68hc11.texi: Likewise.
881 * doc/c-m68k.texi: Likewise.
882 * doc/c-microblaze.texi: Likewise.
883 * doc/c-mips.texi: Likewise.
884 * doc/c-msp430.texi: Likewise.
885 * doc/c-mt.texi: Likewise.
886 * doc/c-s390.texi: Likewise.
887 * doc/c-score.texi: Likewise.
888 * doc/c-sh.texi: Likewise.
889 * doc/c-sh64.texi: Likewise.
890 * doc/c-tic54x.texi: Likewise.
891 * doc/c-tic6x.texi: Likewise.
892 * doc/c-v850.texi: Likewise.
893 * doc/c-xc16x.texi: Likewise.
894 * doc/c-xgate.texi: Likewise.
895 * doc/c-xtensa.texi: Likewise.
896 * doc/c-z80.texi: Likewise.
897 * doc/internals.texi: Likewise.
898
4c665b71
RM
8992013-01-10 Roland McGrath <mcgrathr@google.com>
900
901 * hash.c (hash_new_sized): Make it global.
902 * hash.h: Declare it.
903 * macro.c (define_macro): Use hash_new_sized instead of hash_new,
904 pass a small size.
905
a3c62988
NC
9062013-01-10 Will Newton <will.newton@imgtec.com>
907
908 * Makefile.am: Add Meta.
909 * Makefile.in: Regenerate.
910 * config/tc-metag.c: New file.
911 * config/tc-metag.h: New file.
912 * configure.tgt: Add Meta.
913 * doc/Makefile.am: Add Meta.
914 * doc/Makefile.in: Regenerate.
915 * doc/all.texi: Add Meta.
916 * doc/as.texiinfo: Document Meta options.
917 * doc/c-metag.texi: New file.
918
b37df7c4
SE
9192013-01-09 Steve Ellcey <sellcey@mips.com>
920
921 * config/tc-i386.c (md_begin): Remove 'internal Error' from as_fatal
922 calls.
923 * config/tc-mips.c (internalError): Remove, replace with abort.
924
a3251895
YZ
9252013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
926
927 * config/tc-aarch64.c (parse_operands): Change to compare the result
928 of function call 'parse_sys_reg' with 'PARSE_FAIL' instead of 'FALSE'.
929
8ab8155f
NC
9302013-01-07 Nick Clifton <nickc@redhat.com>
931
932 PR gas/14887
933 * config/tc-arm.c (skip_past_char): Skip whitespace before the
934 anticipated character.
935 * config/tc-arm.c (parse_address_main): Delete skip of whitespace
936 here as it is no longer needed.
937
a4ac1c42
AS
9382013-01-06 Andreas Schwab <schwab@linux-m68k.org>
939
940 * doc/c-mips.texi (MIPS Opts): Fix use of @itemx.
941 * doc/c-score.texi (SCORE-Opts): Likewise.
942 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
943
e407c74b
NC
9442013-01-04 Juergen Urban <JuergenUrban@gmx.de>
945
946 * config/tc-mips.c: Add support for MIPS r5900.
947 Add M_LQ_AB and M_SQ_AB to support large values for instructions
948 lq and sq.
949 (can_swap_branch_p, get_append_method): Detect some conditional
950 short loops to fix a bug on the r5900 by NOP in the branch delay
951 slot.
952 (M_MUL): Support 3 operands in multu on r5900.
953 (M_TRUNCWS): Support trunc.w.s on r5900 in MIPS ISA I.
954 (s_mipsset): Force 32 bit floating point on r5900.
955 (mips_ip): Check parameter range of instructions mfps and mtps on
956 r5900.
957 * configure.in: Detect CPU type when target string contains r5900
958 (e.g. mips64r5900el-linux-gnu).
959
62658407
L
9602013-01-02 H.J. Lu <hongjiu.lu@intel.com>
961
962 * as.c (parse_args): Update copyright year to 2013.
963
95830fd1
YZ
9642013-01-02 Yufeng Zhang <yufeng.zhang@arm.com>
965
966 * config/tc-aarch64.c (aarch64_cpus): Add entries for "cortex-a53"
967 and "cortex57".
968
517bb291 9692013-01-02 Nick Clifton <nickc@redhat.com>
d709e4e6 970
517bb291
NC
971 PR gas/14987
972 * config/tc-arm.c (parse_address_main): Skip whitespace before a
973 closing bracket.
d709e4e6 974
517bb291 975For older changes see ChangeLog-2012
08d56133 976\f
517bb291 977Copyright (C) 2013 Free Software Foundation, Inc.
752937aa
NC
978
979Copying and distribution of this file, with or without modification,
980are permitted in any medium without royalty provided the copyright
981notice and this notice are preserved.
982
08d56133
NC
983Local Variables:
984mode: change-log
985left-margin: 8
986fill-column: 74
987version-control: never
988End: