Fix typos in error and option messages in OPCODES library.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
7cbc739c
NC
12017-07-25 Nick Clifton <nickc@redhat.com>
2
3 PR 21739
4 * testsuite/gas/arc/add_s-err.s: Update expected error message.
5
e8d84ca1
NC
62017-07-24 Nick Clifton <nickc@redhat.com>
7
8 PR 21809
9 * config/tc-aarch64.c (aarch64_init_frag): Do not set a mapping
10 state for frags in debug sections.
11 * config/tc-arm.c (arm_init_frag): Likewise.
12
723dfee7
HPN
132017-07-24 Hans-Peter Nilsson <hp@bitrange.com>
14
15 * dwarf2dbg.c (dwarf2dbg_final_check): Rename local variable exp
16 from expr.
17
47826cdb
AK
182017-07-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
19
20 * config/tc-s390.c (s390_parse_cpu): Add z14 as alternate CPU
21 name.
22 * doc/as.texinfo: Add z14 to CPU string list.
23 * doc/c-s390.texi: Likewise.
24
ba8826a8
AO
252017-07-21 Alexandre Oliva <aoliva@redhat.com>
26
27 * dwarf2dbg.c (unused): Check offset of next in struct line_entry.
28 (current): Initialize view.
29 (force_reset_view, view_assert_failed): New variables.
30 (reverse_line_entry_list): New function.
31 (set_or_check_view): Likewise.
32 (dwarf2_gen_line_info_1): Call it.
33 (dwarf2_where): Set view to NULL.
34 (dwarf2_emit_insn): Return early when called before first file.
35 (dwarf2_directive_loc): Add view support. Emit insn
36 immediately when view option is given.
37 (process_entries): Avoid set_address to reset view when a known
38 address change already implies the view reset.
39 (dwarf2dbg_final_check): New function.
40 * dwarf2dbg.h (struct dwarf2_line_info): Add view.
41 (dwarf2dbg_final_check): Declare.
42 * read.c (s_leb128): Parse expression as deferred.
43 * write.c (write_object_file): Check pending view asserts.
44 (cvt_frag_to_fill): Complain about undefined leb128 operand.
45 * doc/as.texinfo (.loc): Document view support.
46 * NEWS: Mention the new feature.
47 * testsuite/gas/all/gas.exp: Run sleb128-9.
48 * testsuite/gas/all/sleb128-9.d: New.
49 * testsuite/gas/all/sleb128-9.l: New.
50 * testsuite/gas/all/sleb128-9.s: New.
51 * testsuite/gas/elf/dwarf2-1.d: Add nonzero views.
52 * testsuite/gas/elf/dwarf2-2.d: Likewise.
53 * testsuite/gas/elf/dwarf2-5.d: New.
54 * testsuite/gas/elf/dwarf2-5.s: New.
55 * testsuite/gas/elf/dwarf2-6.d: New.
56 * testsuite/gas/elf/dwarf2-6.s: New.
57 * testsuite/gas/elf/dwarf2-7.d: New.
58 * testsuite/gas/elf/dwarf2-7.s: New.
59 * testsuite/gas/elf/dwarf2-8.d: New.
60 * testsuite/gas/elf/dwarf2-8.l: New.
61 * testsuite/gas/elf/dwarf2-8.s: New.
62 * testsuite/gas/elf/dwarf2-9.d: New.
63 * testsuite/gas/elf/dwarf2-9.l: New.
64 * testsuite/gas/elf/dwarf2-9.s: New.
65 * testsuite/gas/elf/dwarf2-10.d: New.
66 * testsuite/gas/elf/dwarf2-10.l: New.
67 * testsuite/gas/elf/dwarf2-10.s: New.
68 * testsuite/gas/elf/dwarf2-11.d: New.
69 * testsuite/gas/elf/dwarf2-11.s: New.
70 * testsuite/gas/elf/dwarf2-12.d: New.
71 * testsuite/gas/elf/dwarf2-12.s: New.
72 * testsuite/gas/elf/dwarf2-13.d: New.
73 * testsuite/gas/elf/dwarf2-13.s: New.
74 * testsuite/gas/elf/dwarf2-14.d: New.
75 * testsuite/gas/elf/dwarf2-14.s: New.
76 * testsuite/gas/elf/dwarf2-15.d: New.
77 * testsuite/gas/elf/dwarf2-15.s: New.
78 * testsuite/gas/elf/dwarf2-16.d: New.
79 * testsuite/gas/elf/dwarf2-16.s: New.
80 * testsuite/gas/elf/dwarf2-17.d: New.
81 * testsuite/gas/elf/dwarf2-17.s: New.
82 * testsuite/gas/elf/dwarf2-18.d: New.
83 * testsuite/gas/elf/dwarf2-18.s: New.
84 * testsuite/gas/elf/elf.exp: Run dwarf2-5..18 tests.
85 * testsuite/gas/i386/dw2-compress-1.d: Add nonzero views.
86 * testsuite/gas/i386/dw2-compressed-1.d: Likewise.
87 * testsuite/gas/i386/ilp32/lns/lns-duplicate.d: Likewise.
88 * testsuite/gas/lns/lns-big-delta.d: Likewise.
89 * testsuite/gas/lns/lns-duplicate.d: Likewise.
90 * testsuite/gas/mips/loc-swap-2.d: Likewise.
91 * testsuite/gas/mips/loc-swap-3.d: Likewise.
92 * testsuite/gas/mips/loc-swap.d: Likewise.
93 * testsuite/gas/mips/micromips@loc-swap-2.d: Likewise.
94 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
95 * testsuite/gas/mips/mips16@loc-swap-2.d: Likewise.
96 * testsuite/gas/mips/mips16@loc-swap.d: Likewise.
97 * testsuite/gas/mips/mips16e@loc-swap.d: Likewise.
98
684d5a10
JEM
992017-07-19 Claudiu Zissulescu <claziss@synopsys.com>
100
101 * testsuite/gas/arc/jli-1.d: New file.
102 * testsuite/gas/arc/jli-1.s: Likewise.
103 * testsuite/gas/arc/taux.d: Update for jli_base.
104
e4943f2c
TG
1052017-07-19 Tristan Gingold <gingold@adacore.com>
106
107 * as.c (start_sbrk): Remove.
108 (main): Remove assignment.
109 (dump_statistics): Remove display of data size.
110
804a4093
TG
1112017-07-19 Tristan Gingold <gingold@adacore.com>
112
113 * testsuite/gas/pe/seh-x64-err-2.s: New test.
114 * testsuite/gas/pe/seh-x64-err-2.l: New stderr output.
115 * testsuite/gas/pe/pe.exp: Add test.
116 * config/obj-coff-seh.c (obj_coff_seh_do_final): Don't try to end
117 seh part.
118
de194d85
YC
1192017-07-18 Nick Clifton <nickc@redhat.com>
120
121 PR 21775
122 * config/tc-arm.c: Fix spelling typos.
123 * config/tc-mips.c: Likewise.
124 * config/tc-msp430.c: Likewise.
125 * config/tc-sh64.c: Likewise.
126 * config/tc-tic4x.c: Likewise.
127 * ecoff.c: Likewise.
128 * testsuite/gas/arm/ldr-bad.l: Likewise.
129 * testsuite/gas/arm/ldr-t-bad.l: Likewise.
130 * testsuite/gas/tic54x/opcodes.s: Likewise.
131 * testsuite/gas/msp340/errata_warns.l: Likewise.
132
b6a57713
NC
1332017-07-18 Nick Clifton <nickc@redhat.com>
134
135 * po/uk.po: Updated Ukranian translation.
136
f27dadca
GJL
1372017-07-17 Georg-Johann Lay <avr@gjlay.de>
138
139 PR 21472
140 * config/tc-avr.c (mcu_types): Add entries for: attiny212,
141 attiny214, attiny412, attiny414, attiny814, attiny1614,
142 attiny1616, attiny1617, attiny3214, attiny3216, attiny3217.
143 (md_show_usage): Adjust doc for "avrxmega3".
144 * doc/c-avr.texi (AVR options) [-mmcu=]: Adjust doc for avrxmega3.
145 Add MCUs: attiny212, attiny214, attiny412, attiny414, attiny416,
146 attiny417, attiny814, attiny816, attiny817, attiny1614,
147 attiny1616, attiny1617, attiny3214, attiny3216, attiny3217.
148
e58ff055
JW
1492017-07-13 Jim Wilson <jim.wilson@linaro.org>
150
151 * config/tc-arch64.c (aarch64_cpus): Add AARCH64_FEATURE_RDMA to
152 falkor and qdf24xx entries.
153
429d795d
AM
1542017-07-12 Alan Modra <amodra@gmail.com>
155
156 * po/es.po: Update from translationproject.org/latest/gas/.
157 * po/fi.po: Likewise.
158 * po/fr.po: Likewise.
159 * po/id.po: Likewise.
160 * po/ja.po: Likewise.
161 * po/ru.po: Likewise.
162 * po/sv.po: Likewise.
163 * po/tr.po: Likewise.
164 * po/uk.po: Likewise.
165 * po/zh_CN.po: Likewise.
166
0bae9e9e
NC
1672017-07-12 Nick Clifton <nickc@redhat.com>
168
169 Fix compile time warnings using gcc 7.1.1.
170 * config/tc-pru.c (md_assemble): Add continue statement after
171 handling 'E' operand character.
172 * config/tc-v850.c (md_assemble): Initialise the 'insn' variable.
173
15a7695f
JG
1742017-07-05 James Greenhalgh <james.greenhalgh@arm.com>
175
176 * config/tc-arm.c (arm_cpus): Add Cortex-A55 and Cortex-A75.
177 * doc/c-arm.texi (-mcpu): Document Cortex-A55 and Cortex-A75.
178
e4bdd679
BP
1792017-07-05 Borislav Petkov <bp@suse.de>
180
181 * testsuite/gas/i386/opcode.s: Add tests for ModRM.reg == 6 variants.
182 * testsuite/gas/i386/opcode.d: ditto.
183 * testsuite/gas/i386/x86-64-opcode.s: Add x86_64 variants too.
184 * testsuite/gas/i386/x86-64-opcode.d: ditto.
185
60c96dbf
RR
1862017-07-04 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
187
188 * config/tc-arm.c (arm_regs): Add MVFR2.
189 (do_vmrs): Constraint for MVFR2 and armv8.
190 (do_vmsr): Likewise.
191 * testsuite/gas/arm/armv8-a+fp.d: Update.
192 * testsuite/gas/arm/armv8-ar+fp.s: Likewise.
193 * testsuite/gas/arm/armv8-r+fp.d: Likewise.
194 * testsuite/gas/arm/vfp-bad.s: Likewise.
195 * testsuite/gas/arm/vfp-bad.l: Likewise.
196
0d702cfe
TG
1972017-07-04 Tristan Gingold <gingold@adacore.com>
198
199 * configure: Regenerate.
200
55a09eb6
TG
2012017-07-04 Tristan Gingold <gingold@adacore.com>
202
203 * NEWS: Add marker for 2.29.
204
8d219acd
AM
2052017-07-03 Alan Modra <amodra@gmail.com>
206
207 * testsuite/gas/elf/symver.d: Don't run on hppa64-hpux.
208
834a65aa
MR
2092017-06-30 Maciej W. Rozycki <macro@imgtec.com>
210
211 * config/tc-mips.c (md_convert_frag): Use a switch on the
212 microMIPS relaxation type rather than a chain of conditionals.
213
bbd27b76
MR
2142017-06-30 Maciej W. Rozycki <macro@imgtec.com>
215
216 * config/tc-mips.c (md_convert_frag): Rewrite `fix_new_exp'
217 calls in terms of `fix_new'.
218
9f00292e
MR
2192017-06-30 Maciej W. Rozycki <macro@imgtec.com>
220
221 * config/tc-mips.c (md_convert_frag): Don't make a helper
222 expression symbol for `fix_new_exp' called with a non-zero
223 offset.
224 * testsuite/gas/mips/relax-offset.d: New test.
225 * testsuite/gas/mips/mips1@relax-offset.d: New test.
226 * testsuite/gas/mips/r3000@relax-offset.d: New test.
227 * testsuite/gas/mips/r3900@relax-offset.d: New test.
228 * testsuite/gas/mips/micromips@relax-offset.d: New test.
229 * testsuite/gas/mips/relax-offset.l: New stderr output.
230 * testsuite/gas/mips/relax-offset.s: New test source.
231 * testsuite/gas/mips/mips.exp: Run the new tests.
232
32f76c67
GJL
2332017-06-30 Georg-Johann Lay <avr@gjlay.de>
234
235 PR gas/21683
236 * doc/c-avr.texi (AVR Options) <-mgcc-isr>: Document it.
237 (AVR Pseudo Instructions): New node.
238 * config/tc-avr.h (md_pre_output_hook): Define to avr_pre_output_hook.
239 (md_undefined_symbol): Define to avr_undefined_symbol.
240 (avr_pre_output_hook, avr_undefined_symbol): New protos.
241 * config/tc-avr.c (struc-symbol.h): Include it.
242 (ISR_CHUNK_Done, ISR_CHUNK_Prologue, ISR_CHUNK_Epilogue): New enums.
243 (avr_isr, avr_gccisr_opcode)
244 (avr_no_sreg_hash, avr_no_sreg): New static variables.
245 (avr_opt_s) <have_gccisr>: Add field.
246 (avr_opt): Add initializer for have_gccisr.
247 (enum options) <OPTION_HAVE_GCCISR>: Add enum.
248 (md_longopts) <"mgcc-isr">: Add entry.
249 (md_show_usage): Document -mgcc-isr.
250 (md_parse_option) [OPTION_HAVE_GCCISR]: Handle it.
251 (md_undefined_symbol): Remove.
252 (avr_undefined_symbol, avr_pre_output_hook): New fuctions.
253 (md_begin) <avr_no_sreg_hash, avr_gccisr_opcode>: Initialize them.
254 (avr_operand) <pregno>: Add argument and set *pregno if function
255 is called for a register constraint.
256 [N]: Handle constraint.
257 (avr_operands) <avr_operand>: Pass 5th parameter to calls.
258 [avr_opt.have_gccisr]: Call avr_update_gccisr. Call
259 avr_gccisr_operands instead of avr_operands.
260 (avr_update_gccisr, avr_emit_insn, avr_patch_gccisr_frag)
261 (avr_gccisr_operands, avr_check_gccisr_done): New static functions.
262 * testsuite/gas/avr/gccisr-01.d: New test.
263 * testsuite/gas/avr/gccisr-01.s: New test.
264 * testsuite/gas/avr/gccisr-02.d: New test.
265 * testsuite/gas/avr/gccisr-02.s: New test.
266 * testsuite/gas/avr/gccisr-03.d: New test.
267 * testsuite/gas/avr/gccisr-03.s: New test.
268
33f46696
MR
2692017-06-30 Maciej W. Rozycki <macro@imgtec.com>
270
271 * config/tc-mips.c (match_float_constant): Update description.
272 (match_operand): Likewise.
273
909b4e3d
MR
2742017-06-30 Andrew Bennett <andrew.bennett@imgtec.com>
275 Maciej W. Rozycki <macro@imgtec.com>
276
277 * config/tc-mips.c (mips_ases): Add microMIPS XPA support.
278 * testsuite/gas/mips/micromips@xpa.d: New test.
279 * testsuite/gas/mips/mips.exp: Run the new test. Enable
280 `xpa-virt-err' test for `micromips'.
281
f5b2fd52
MR
2822017-06-30 Andrew Bennett <andrew.bennett@imgtec.com>
283 Maciej W. Rozycki <macro@imgtec.com>
284
285 * testsuite/gas/mips/micromips@r5.d: New test.
286 * testsuite/gas/mips/mips.exp: Run the new test.
287
9785fc2a
MR
2882017-06-30 Maciej W. Rozycki <macro@imgtec.com>
289 Andrew Bennett <andrew.bennett@imgtec.com>
290
291 * config/tc-mips.c (mips_set_ase): Handle the ASE_XPA_VIRT flag.
292 * testsuite/gas/mips/xpa.d: Remove `xpa' from `-M' in `objdump'
293 flags. Add `-mvirt' to `as' flags.
294 * testsuite/gas/mips/xpa-err.d: New test.
295 * testsuite/gas/mips/xpa-virt-err.d: New test.
296 * testsuite/gas/mips/xpa-err.l: New stderr output.
297 * testsuite/gas/mips/xpa-virt-err.l: New stderr output.
298 * testsuite/gas/mips/xpa-err.s: New test source.
299 * testsuite/gas/mips/xpa-virt-err.s: New test source.
300 * testsuite/gas/mips/mips.exp: Run the new tests.
301
60804c53
MR
3022017-06-29 Maciej W. Rozycki <macro@imgtec.com>
303
304 * testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: Adjust for the
305 ASE_MIPS16E2_MT flag disassembler fix.
306 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e2-mt-sub.d:
307 Likewise.
308
92cebb3d
MR
3092017-06-29 Maciej W. Rozycki <macro@imgtec.com>
310
311 * config/tc-mips.c (mips_set_ase): Clear the ASE_MIPS16E2_MT
312 flag before recalculating.
313 * testsuite/gas/mips/mips16e2-mt-err.d: New test.
314 * testsuite/gas/mips/mips16e2-mt-err.l: New stderr output.
315 * testsuite/gas/mips/mips16e2-mt-err.s: New test source.
316 * testsuite/gas/mips/mips.exp: Run the new test.
317
65a55fbb
TC
3182017-06-28 Tamar Christina <tamar.christina@arm.com>
319
320 * config/tc-aarch64.c (aarch64_reg_parse_32_64): Accept 4B.
321 (aarch64_features): Added dotprod.
322 * doc/c-aarch64.texi: Added dotprod.
323 * testsuite/gas/aarch64/dotproduct.d: New.
324 * testsuite/gas/aarch64/dotproduct.s: New.
325
c604a79a
JW
3262017-06-28 Jiong Wang <jiong.wang@arm.com>
327
328 * config/tc-arm.c (fpu_neon_ext_dotprod): New variable.
329 (neon_scalar_for_mul): Improve comments.
330 (do_neon_dotproduct): New function to encode Dot Product instructions.
331 (do_neon_dotproduct_s): Wrapper function for signed Dot Product
332 instructions.
333 (do_neon_dotproduct_u): Wrapper function for unsigned Dot Product
334 instructions.
335 (insns): New entries for vsdot and vudot.
336 (arm_extensions): New entry for "dotprod".
337 * doc/c-arm.texi: Document new "dotprod" extension.
338 * testsuite/gas/arm/dotprod.s: New test source.
339 * testsuite/gas/arm/dotprod-illegal.s: New test source.
340 * testsuite/gas/arm/dotprod.d: New test.
341 * testsuite/gas/arm/dotprod-thumb2.d: New test.
342 * testsuite/gas/arm/dotprod-illegal.d: New test.
343 * testsuite/gas/arm/dotprod-legacy-arch.d: New test.
344 * testsuite/gas/arm/dotprod-illegal.l: New error file.
345 * testsuite/gas/arm/dotprod-legacy-arch.l: New error file.
346
819e1f86
MR
3472017-06-28 Maciej W. Rozycki <macro@imgtec.com>
348
349 * testsuite/gas/mips/elf_mach_interaptiv-mr2.d: New test.
350 * testsuite/gas/mips/save-err.d: New test.
351 * testsuite/gas/mips/save-sub.d: New test.
352 * testsuite/gas/mips/interaptiv-mr2@save.d: New test.
353 * testsuite/gas/mips/mips1@save-sub.d: New test.
354 * testsuite/gas/mips/mips2@save-sub.d: New test.
355 * testsuite/gas/mips/mips3@save-sub.d: New test.
356 * testsuite/gas/mips/mips4@save-sub.d: New test.
357 * testsuite/gas/mips/mips5@save-sub.d: New test.
358 * testsuite/gas/mips/mips32@save-sub.d: New test.
359 * testsuite/gas/mips/mips64@save-sub.d: New test.
360 * testsuite/gas/mips/mips16@save-sub.d: New test.
361 * testsuite/gas/mips/mips16e@save-sub.d: New test.
362 * testsuite/gas/mips/r3000@save-sub.d: New test.
363 * testsuite/gas/mips/r3900@save-sub.d: New test.
364 * testsuite/gas/mips/r4000@save-sub.d: New test.
365 * testsuite/gas/mips/vr5400@save-sub.d: New test.
366 * testsuite/gas/mips/interaptiv-mr2@save-sub.d: New test.
367 * testsuite/gas/mips/sb1@save-sub.d: New test.
368 * testsuite/gas/mips/octeon2@save-sub.d: New test.
369 * testsuite/gas/mips/octeon3@save-sub.d: New test.
370 * testsuite/gas/mips/xlr@save-sub.d: New test.
371 * testsuite/gas/mips/r5900@save-sub.d: New test.
372 * testsuite/gas/mips/mips16e2-copy.d: New test.
373 * testsuite/gas/mips/mips16e2-copy-err.d: New test.
374 * testsuite/gas/mips/save.d: Remove `MIPS16e' from the `name'
375 option. Adjust for trailing padding change.
376 * testsuite/gas/mips/mips16e2-copy-err.l: New stderr output.
377 * testsuite/gas/mips/save-sub.s: New test source.
378 * testsuite/gas/mips/mips16e2-copy.s: New test source.
379 * testsuite/gas/mips/mips16e2-copy-err.s: New test source.
380 * testsuite/gas/mips/save.s: Update description, change trailing
381 padding and remove trailing white space.
382 * testsuite/gas/mips/mips.exp: Expand `save' and `save-err'
383 tests across the regular MIPS interAptiv MR2 architecture. Run
384 the new tests.
385
c7d289d1
MR
3862017-06-28 Maciej W. Rozycki <macro@imgtec.com>
387
388 * testsuite/gas/mips/mips.exp (interaptiv-mr2): New architecture.
389 (mips16e2-interaptiv-mr2): Likewise.
390 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro.d: New
391 test.
392 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-t.d:
393 New test.
394 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-e.d:
395 New test.
396 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-t.d:
397 New test.
398 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-e.d:
399 New test.
400 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64.d: New
401 test.
402 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-sub.d: New
403 test.
404 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-sub.d: New
405 test.
406 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64-sub.d:
407 New test.
408 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e2-mt-sub.d:
409 New test.
410 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-asmacro.d:
411 New test.
412 * testsuite/gas/mips/interaptiv-mr2@mcu.d: New test.
413 * testsuite/gas/mips/interaptiv-mr2@isa-override-1.d: New test.
414 * testsuite/gas/mips/interaptiv-mr2@isa-override-2.d: New test.
415 * testsuite/gas/mips/attr-gnu-4-5.d: Ignore any number of ASE
416 flag lines present rather than just one.
417 * testsuite/gas/mips/attr-gnu-4-6.d: Likewise.
418 * testsuite/gas/mips/attr-gnu-4-7.d: Likewise.
419 * testsuite/gas/mips/attr-none-o32-fp64-nooddspreg.d: Likewise.
420 * testsuite/gas/mips/attr-none-o32-fp64.d: Likewise.
421 * testsuite/gas/mips/attr-none-o32-fpxx.d: Likewise.
422 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro.l: New
423 stderr output.
424 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-t.l:
425 New stderr output.
426 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-e.l:
427 New stderr output.
428 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-t.l:
429 New stderr output.
430 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-e.l:
431 New stderr output.
432 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-sub.l: New
433 stderr output.
434 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-sub.l: New
435 stderr output.
436 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64-sub.l:
437 New stderr output.
438 * testsuite/gas/mips/interaptiv-mr2@isa-override-1.l: New stderr
439 output.
440 * testsuite/gas/mips/interaptiv-mr2@isa-override-2.l: New stderr
441 output.
442
38bf472a
MR
4432017-06-28 Maciej W. Rozycki <macro@imgtec.com>
444 Matthew Fortune <matthew.fortune@imgtec.com>
445
446 * config/tc-mips.c (validate_mips_insn): Handle
447 OP_SAVE_RESTORE_LIST specially.
448 (mips_encode_save_restore, mips16_encode_save_restore): New
449 functions.
450 (match_save_restore_list_operand): Factor out SAVE/RESTORE
451 operand insertion into the instruction word or halfword to these
452 new functions.
453 (mips_cpu_info_table): Add "interaptiv-mr2" entry.
454
455 * doc/c-mips.texi (MIPS Options): Add `interaptiv-mr2' to the
456 `-march=' argument list.
457
79cb3f75
MR
4582017-06-27 Maciej W. Rozycki <macro@imgtec.com>
459
460 * testsuite/gas/mips/mips16e-save.d: Rename to...
461 * testsuite/gas/mips/save.d: ... this.
462 * testsuite/gas/mips/mips16e-save-err.d: Update the
463 `error-output' option and rename to...
464 * testsuite/gas/mips/save-err.d: ... this.
465 * testsuite/gas/mips/mips16e-save-err.l: Rename to...
466 * testsuite/gas/mips/save-err.l: ... this.
467 * testsuite/gas/mips/mips16e-save.s: Rename to...
468 * testsuite/gas/mips/save.s: ... this.
469 * testsuite/gas/mips/mips16e-save-err.s: Rename to...
470 * testsuite/gas/mips/save-err.s: ... this.
471 * testsuite/gas/mips/mips.exp: Rename `mips16e-save' and
472 `mips16e-save-err' invocations to `save' and `save-err'
473 respectively and reorder these tests away from MIPS16 tests.
474
b0bd097e
MR
4752017-06-27 Maciej W. Rozycki <macro@imgtec.com>
476
477 * testsuite/gas/mips/mips16e-save.d: Remove `-mmips:isa32
478 -mmips:16' from `objdump' flags and `-march=mips32 -mips16' from
479 `as' flags.
480 * testsuite/gas/mips/mips16e-save-err.d: Remove `-march=mips32'
481 from `as' flags.
482 * testsuite/gas/mips/mips16e-save.s: Remove the `.set mips16'
483 pseudo-op.
484 * testsuite/gas/mips/mips16e-save-err.s: Likewise.
485 * testsuite/gas/mips/mips.exp: Run SAVE/RESTORE tests across all
486 MIPS16e architectures.
487
2438385a
MR
4882017-06-27 Maciej W. Rozycki <macro@imgtec.com>
489
490 * testsuite/gas/mips/mips16e-save-err.d: New test.
491 * gas/testsuite/gas/mips/mips.exp: Fold `mips16e-save-err' list
492 test into the new test.
493
daba08c9
MR
4942017-06-27 Maciej W. Rozycki <macro@imgtec.com>
495
496 * testsuite/gas/mips/mips16e-save.d: Capitalize the `name'
497 option.
498
a6cbf936
KLC
4992017-06-26 Kuan-Lin Chen <rufus@andestech.com>
500
501 * config/tc-riscv.c (md_apply_fix) [BFD_RELOC_32]: Convert to a
502 R_RISCV_32_PCREL relocation.
503
a3aea05a
L
5042017-06-26 H.J. Lu <hongjiu.lu@intel.com>
505
506 PR gas/21661
507 * config/obj-elf.c (obj_elf_symver): Don't allow .symver with
508 common symbol.
509 (elf_frob_symbol): Likewise.
510 * testsuite/gas/elf/elf.exp: Run pr21661.
511 * testsuite/gas/elf/pr21661.d: New file.
512 * testsuite/gas/elf/pr21661.s: Likewise.
513
49fa50ef
NC
5142017-06-26 Nick Clifton <nickc@redhat.com>
515
516 * config/tc-arm.c (fpu_any): Only define for ELF based targets.
517
cf9bdae9 5182017-06-26 Claudiu Zissulescu <claziss@synopsys.com>
519
520 * /config/tc-arc.c (is_br_jmp_insn_p): Update macro with known
521 instructions to be accounted as jumps.
522 (assemble_insn): Check for limms into the delay slots. Emit an
523 error if so.
524 * testsuite/gas/arc/asm-errors-3.d: New file.
525 * testsuite/gas/arc/asm-errors-3.err: Likewise.
526 * testsuite/gas/arc/asm-errors-3.s: Likewise.
527
0cda1e19
TP
5282017-06-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
529
530 * NEWS: Mention support of ARM Cortex-R52 processor.
531 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-R52 processor.
532 * doc/c-arm.texi: Mention support for -mcpu=cortex-r52.
533
ced40572
TP
5342017-06-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
535
536 * NEWS: Mention support for ARMv8-R architecture.
537 * config/tc-arm.c (arm_archs): Add entry for ARMv8-R.
538 (arm_extensions): Restrict pan, ras and rdma extension to
539 ARMv8-A and make crypto, fp and simd extensions available to
540 ARMv8-R.
541 (cpu_arch_ver): Add entry for ARMv8-R.
542 (aeabi_set_public_attributes): Update gas_assert for Tag_DIV_use
543 logic.
544 * testsuite/gas/arm/armv8-a+fp.s: Rename into ...
545 * testsuite/gas/arm/armv8-ar+fp.s: This. Remove .arch directive.
546 * testsuite/gas/arm/armv8-a+fp.d: Specify source to assemble and
547 architecture to assemble for.
548 * testsuite/gas/arm/armv8-r+fp.d: New.
549 * testsuite/gas/arm/armv8-a+simd.s: Rename into ...
550 * testsuite/gas/arm/armv8-ar+simd.s: This. Remove .arch directive.
551 * testsuite/gas/arm/armv8-a+simd.d: Specify source to assemble and
552 architecture to assemble for.
553 * testsuite/gas/arm/armv8-r+simd.d: New.
554 * testsuite/gas/arm/armv8-a-bad.s: Rename into ...
555 * testsuite/gas/arm/armv8-ar-bad.s: This. Remove .arch directive.
556 * testsuite/gas/arm/armv8-a-bad.l: Rename into ...
557 * testsuite/gas/arm/armv8-ar-bad.l: This. Decrement line number by 1.
558 * testsuite/gas/arm/armv8-a-bad.d: Specify source to assemble,
559 architecture to assemble for and adjust error output file.
560 * testsuite/gas/arm/armv8-r-bad.d: New.
561 * testsuite/gas/arm/armv8-a-barrier.s: Rename into ...
562 * testsuite/gas/arm/armv8-ar-barrier.s: This.
563 * testsuite/gas/arm/armv8-a-barrier-arm.d: Adjust source.
564 * testsuite/gas/arm/armv8-a-barrier-thumb.d: Likewise.
565 * testsuite/gas/arm/armv8-r-barrier-arm.d: New.
566 * testsuite/gas/arm/armv8-r-barrier-thumb.d: New.
567 * testsuite/gas/arm/armv8-a-it-bad.s: Rename into ...
568 * testsuite/gas/arm/armv8-ar-it-bad.s: This. Remove .arch directive.
569 * testsuite/gas/arm/armv8-a-it-bad.l: Rename into ...
570 * testsuite/gas/arm/armv8-ar-it-bad.l: This. Decrement line number
571 by 1.
572 * testsuite/gas/arm/armv8-a-it-bad.d: Specify source to assemble,
573 architecture to assemble for and adjust error output file.
574 * testsuite/gas/arm/armv8-r-it-bad.d: New.
575 * testsuite/gas/arm/armv8-a.s: Rename into ...
576 * testsuite/gas/arm/armv8-ar.s: This. Remove .arch directive.
577 * testsuite/gas/arm/armv8-a.d: Specify source to assemble and
578 architecture to assemble for.
579 * testsuite/gas/arm/armv8-r.d: New.
580 * testsuite/gas/arm/attr-march-armv8-r+crypto.d: New.
581 * testsuite/gas/arm/attr-march-armv8-r+fp.d: New.
582 * testsuite/gas/arm/attr-march-armv8-r+simd.d: New.
583 * testsuite/gas/arm/attr-march-armv8-r.d: New.
584 * testsuite/gas/arm/crc32.s: Rename into ...
585 * testsuite/gas/arm/crc32-armv8-ar.s: This.
586 * testsuite/gas/arm/crc32.d: Rename into ...
587 * testsuite/gas/arm/crc32-armv8-a.d: This. Specify source to assemble.
588 * testsuite/gas/arm/crc32-armv8-r.d: New.
589 * testsuite/gas/arm/crc32-bad.s: Rename into ...
590 * testsuite/gas/arm/crc32-armv8-ar-bad.s: This.
591 * testsuite/gas/arm/crc32-bad.d: Rename into ...
592 * testsuite/gas/arm/crc32-armv8-a-bad.d: This. Specify source to
593 assemble.
594 * testsuite/gas/arm/crc32-armv8-r-bad.d: New.
595 * testsuite/gas/arm/mask_1.s: Rename into ...
596 * testsuite/gas/arm/mask_1-armv8-ar.s: This.
597 * testsuite/gas/arm/mask_1.d: Rename into ...
598 * testsuite/gas/arm/mask_1-armv8-a.d: This. Specify source to
599 assemble.
600 * testsuite/gas/arm/mask_1-armv8-r.d: new.
601
173205ca
TP
6022017-06-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
603
604 * config/tc-arm.c (arm_ext_v6m): Delete.
605 (arm_ext_v7m): Delete.
606 (arm_ext_m): Remove ARM_EXT_OS from the set of feature defined M
607 profile.
608 (arm_arch_v6m_only): Delete.
609 (do_t_swi): Remove special case for ARMv6S-M.
610 (md_assemble): Display error message previously in do_t_swi when
611 SVC is not available.
612 (insns): Guard swi and svc by arm_ext_os for Thumb mode.
613 (aeabi_set_public_attributes): Remove special case for ARMv6S-M.
614
94f78a77
AW
6152017-05-11 Andrew Waterman <andrew@sifive.com>
616
617 * config/tc-riscv.c (riscv_ip): Changes as_warn to as_bad for improper
618 shift amounts.
619
e7d39ed3
NC
6202017-06-22 Nick Clifton <nickc@redhat.com>
621
622 * config/tc-arm.c (arm_ext_v7m): Add ATTRIBUTE_UNUSED.
623
2c6b98ea
TP
6242017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
625
626 * config/tc-arm.c (fpu_any): Defined from FPU_ANY.
627 (cpu_arch_ver): Add all architectures and sort by release date.
628 (have_ext_for_needed_feat_p): New.
629 (get_aeabi_cpu_arch_from_fset): New.
630 (aeabi_set_public_attributes): Call above function to determine
631 Tag_CPU_arch and Tag_CPU_arch_profile values. Adapt Tag_ARM_ISA_use
632 and Tag_THUMB_ISA_use selection logic to check absence of feature bit
633 accordingly.
634 * testsuite/gas/arm/attr-march-armv1.d: Fix expected Tag_CPU_arch build
635 attribute value.
636 * testsuite/gas/arm/attr-march-armv2.d: Likewise.
637 * testsuite/gas/arm/attr-march-armv2a.d: Likewise.
638 * testsuite/gas/arm/attr-march-armv2s.d: Likewise.
639 * testsuite/gas/arm/attr-march-armv3.d: Likewise.
640 * testsuite/gas/arm/attr-march-armv3m.d: Likewise.
641 * testsuite/gas/arm/pr12198-2.d: Likewise.
642
2234eee6
L
6432017-06-21 H.J. Lu <hongjiu.lu@intel.com>
644
645 * testsuite/gas/i386/cet-intel.d: Updated.
646 * testsuite/gas/i386/cet.d: Likewise.
647 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
648 * testsuite/gas/i386/x86-64-cet.d: Likewise.
649 * testsuite/gas/i386/cet.s: Update incsspd and setssbsy tests.
650 * testsuite/gas/i386/x86-64-cet.s: Likewise.
651
c2f76402
L
6522017-06-21 H.J. Lu <hongjiu.lu@intel.com>
653
654 * testsuite/gas/i386/cet-intel.d: Updated.
655 * testsuite/gas/i386/cet.d: Likewise.
656 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
657 * testsuite/gas/i386/x86-64-cet.d: Likewise.
658 * testsuite/gas/i386/cet.s: Replace savessp with saveprevssp.
659 * testsuite/gas/i386/x86-64-cet.s: Likewise.
660
9fef80d6
L
6612017-06-21 H.J. Lu <hongjiu.lu@intel.com>
662
663 * config/tc-i386.c (md_assemble): Update NOTRACK prefix check.
664 * testsuite/gas/i386/notrack-intel.d: Updated.
665 * testsuite/gas/i386/notrack.d: Likewise.
666 * testsuite/gas/i386/notrackbad.l: Likewise.
667 * testsuite/gas/i386/x86-64-notrack-intel.d: Likewise.
668 * testsuite/gas/i386/x86-64-notrack.d: Likewise.
669 * testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
670 * testsuite/gas/i386/notrack.s: Add NOTRACK prefix tests with
671 memory indirect branch.
672 * testsuite/gas/i386/x86-64-notrack.s: Likewise.
673 * testsuite/gas/i386/notrackbad.s: Remove memory indirect branch
674 with NOTRACK prefix.
675 * testsuite/gas/i386/x86-64-notrackbad.s: Likewise.
676
3d030cdb
TP
6772017-06-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
678
679 * config/tc-arm.c (arm_extensions): New duplicate idiv entry to enable
680 Thumb division for ARMv7 architecture.
681 (arm_parse_extension): Document expected behavior for duplicate
682 entries.
683 (s_arm_arch_extension): Likewise.
684 * testsuite/gas/arm/forbid-armv7-idiv-ext.d: New test.
685 * testsuite/gas/arm/forbid-armv7-idiv-ext.l: New expected output for
686 above test.
687
54bab281
TP
6882017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
689
690 * config/tc-arm.c (aeabi_set_public_attributes): Populate flags from
691 feature bits used or selected_cpu depending on whether a CPU was
692 selected by the user.
693
6c290d53
TP
6942017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
695
696 * config/tc-arm.c (aeabi_set_public_attributes): Test *mcpu_ext_opt to
697 decide whether to set Tag_DSP_extension build attribute value. Remove
698 now useless arm_arch variable.
699
c168ce07
TP
7002017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
701
702 * config/tc-arm.c (dyn_mcpu_ext_opt): New static variable.
703 (dyn_march_ext_opt): Likewise.
704 (md_begin): Copy extension feature bits alongside architecture ones.
705 Merge extensions feature bits in selected_cpu and cpu_variant if there
706 is some.
707 (arm_parse_extension): Pass architecture and extension feature bits in
708 separate parameters, with architecture bits being read only. Update
709 **opt_p directly rather than *ext_set and initialize it if needed.
710 (arm_parse_cpu): Stop merging architecture and extension feature bits
711 and instead use mcpu_cpu_opt and dyn_mcpu_ext_opt to memorize them
712 respectively. Adapt to change in parameters of arm_parse_extension.
713 (arm_parse_arch): Adapt to change in parameters of arm_parse_extension.
714 (aeabi_set_attribute_string): Make function static.
715 (arm_md_post_relax): New function.
716 (s_arm_cpu): Stop merging architecture and extension feature bits and
717 instead use mcpu_cpu_opt and dyn_mcpu_ext_opt to memorize them
718 respectively. Merge extension feature bits in cpu_variant
719 if there is any.
720 (s_arm_arch): Reset extension feature bit. Set selected_cpu from
721 *mcpu_cpu_opt and cpu_variant from selected_cpu and *mfpu_opt for
722 consistency with s_arm_cpu.
723 (s_arm_arch_extension): Update *dyn_mcpu_ext_opt rather than
724 selected_cpu, allocating it before hand if needed. Set selected_cpu
725 from it and then cpu_variant.
726 (s_arm_fpu): Merge *mcpu_ext_opt feature bits if any in cpu_variant.
727 * config/tc-arm.h (md_post_relax_hook): Set to arm_md_post_relax.
728 (aeabi_set_public_attributes): Delete external declaration.
729 (arm_md_post_relax): Declare externally.
730
996b5569
TP
7312017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
732
733 * config/tc-arm.c (struct arm_cpu_option_table): New ext field.
734 (ARM_CPU_OPT): Add parameter to set new ext field and reorder canonical
735 name field just after the name field.
736 (arm_cpus): Move extension feature bit from value field to ext field,
737 reorder parameter according to changes in ARM_CPU_OPT and reindent.
738 (arm_parse_cpu): Point mcpu_cpu_opt to a bitfield merging the value and
739 ext field from the selected arm_cpus entry.
740 (s_arm_cpu): Likewise.
741
1e292627
JG
7422017-06-21 James Greenhalgh <james.greenhalgh@arm.com>
743
744 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a55 and cortex-a75.
745 * doc/c-aarch64.texi (-mcpu): Document cortex-a55 and cortex-a75.
746
8cac017d
L
7472017-06-15 H.J. Lu <hongjiu.lu@intel.com>
748
749 PR binutils/21594
750 * testsuite/gas/i386/mpx.s: Add 2 tests with invalid bnd
751 register.
752 * testsuite/gas/i386/x86-64-mpx.s: Likewise.
753 * testsuite/gas/i386/mpx.d: Updated.
754 * testsuite/gas/i386/x86-64-mpx.d: Likewise.
755
f7e16c2a
MF
7562017-06-14 Max Filippov <jcmvbkbc@gmail.com>
757
758 * config/tc-xtensa.c (density_supported, xtensa_fetch_width,
759 absolute_literals_supported): Leave definitions uninitialized.
760 (directive_state): Leave entries for directive_density and
761 directive_absolute_literals initialized to false.
762 (xg_init_global_config, xtensa_init): New functions.
763 * config/tc-xtensa.h (TARGET_BYTES_BIG_ENDIAN): Define as 0.
764 (HOST_SPECIAL_INIT): New definition.
765 (xtensa_init): New declaration.
766
62e20ed4
MC
7672017-06-07 Michael Collison <michael.collison@arm.com>
768
769 * config/tc-aarch64.c (reg_entry_reg_names): Add IP0,
770 IP1, FP, and LR as register aliases of register 16, 17, 29
771 and 30 respectively.
772 * testsuite/gas/aarch64/diagnostic.l: Remove diagnostic
773 prohibiting register 'lr' which is now an alias.
774 * testsuite/gas/aarch64/diagnostic.s: Remove instruction
775 utilizing register 'lr' which is now an alias.
776
5c8ed6a4
JW
7772017-06-06 Jiong Wang <jiong.wang@arm.com>
778
779 * config/tc-arm.c (reject_bad_reg): Allow REG_SP on ARMv8-A.
780 (parse_operands): Allow REG_SP for OP_oRRnpcsp and OP_RRnpcsp on
781 ARMv8-A.
782 (do_co_reg): Allow REG_SP for Rd on ARMv8-A.
783 (do_t_add_sub): Likewise.
784 (do_t_mov_cmp): Likewise.
785 (do_t_tb): Likewise.
786 * testsuite/gas/arm/ld-sp-warn.l: Delete the warning on REG_SP as Rt for
787 ldrsb.
788 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.d: New test.
789 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: New test.
790 * testsuite/gas/arm/sp-pc-validations-bad-t.d: Specifies -march=armv7-a.
791 * testsuite/gas/arm/sp-pc-validations-bad-t.s: Remove ".arch armv7-a".
792 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v7.d: New test.
793 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v7.l: New test.
794 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v8.d: New test.
795 * testsuite/gas/arm/sp-usage-thumb2-relax.s: New test.
796 * testsuite/gas/arm/strex-bad-t.d: Specifies -march=armv7-a.
797
61756f84
JW
7982017-06-05 Jim Wilson <jim.wilson@linaro.org>
799
800 * config/tc-arm.c (arm_cpus): Delete falkor and qdf24xx entries.
801 * doc/c-arm.texi (-mcpu): Likewise.
802
940171d0
AK
8032017-05-30 Anton Kolesov <anton.kolesov@synopsys.com>
804
805 * config/tc-arc.c (cpu_types): Include arc-cpu.def
806
6e92fed5
L
8072017-05-23 H.J. Lu <hongjiu.lu@intel.com>
808
809 * gas/testsuite/gas/i386/notrackbad.l: Updated for non-ELF
810 targets.
811 * gas/testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
812
6e3f3473 8132017-05-23 Claudiu Zissulescu <claziss@synopsys.com>
814
815 * config/tc-arc.c (md_apply_fix): Use as_bad_where.
816 (assemble_insn): Use as_bad.
817
04ef582a
L
8182017-05-22 H.J. Lu <hongjiu.lu@intel.com>
819
820 * config/tc-i386.c (REX_PREFIX): Changed to 7.
821 (NOTRACK_PREFIX): New.
822 (MAX_PREFIXES): Changed to 8.
823 (_i386_insn): Add notrack_prefix.
824 (PREFIX_GROUP): Add PREFIX_DS.
825 (add_prefix): Return PREFIX_DS for DS_PREFIX_OPCODE.
826 (md_assemble): Check if NOTRACK prefix is supported.
827 (parse_insn): Set notrack_prefix and issue an error for
828 other prefixes after NOTRACK prefix.
829 * testsuite/gas/i386/i386.exp: Run tests for NOTRACK prefix.
830 * testsuite/gas/i386/notrack-intel.d: New file.
831 * testsuite/gas/i386/notrack.d: Likewise.
832 * testsuite/gas/i386/notrack.s: Likewise.
833 * testsuite/gas/i386/notrackbad.l: Likewise.
834 * testsuite/gas/i386/notrackbad.s: Likewise.
835 * testsuite/gas/i386/x86-64-notrack-intel.d: Likewise.
836 * testsuite/gas/i386/x86-64-notrack.d: Likewise.
837 * testsuite/gas/i386/x86-64-notrack.s: Likewise.
838 * testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
839 * testsuite/gas/i386/x86-64-notrackbad.s: Likewise.
840
3c0367d0
JW
8412017-05-22 Jiong Wang <jiong.wang@arm.com>
842
843 * configure.tgt: Set "arch" to "aarch64" if ${cpu} equals "aarch64".
844 Recognize the new triplet name aarch64*-linux-gnu_ilp32.
845 * configure.ac: Output DEFAULT_ARCH macro for AArch64.
846 * configure: Regenerate.
847 * config/tc-aarch64.h (aarch64_after_parse_args): New declaration.
848 (md_after_parse_args): New define.
849 * config/tc-aarch64.c (aarch64_abi_type): New enumeration
850 AARCH64_ABI_NONE.
851 (DEFAULT_ARCH): New define.
852 (aarch64_abi): Set default value to AARCH64_ABI_NONE.
853 (aarch64_after_parse_args): New function.
854
64517994
JM
8552017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
856
857 * config/tc-sparc.c (sparc_arch_table): Entries for `sparc6',
858 `v9m8' and `v8plusm8'.
859 (sparc_md_end): Handle SPARC_OPCODE_ARCH_M8.
860 (get_hwcap_name): Support the M8 hardware capabilities.
861 (sparc_ip): Handle new operand types.
862 * doc/c-sparc.texi (Sparc-Opts): Document -Av9m8, -Av8plusm8 and
863 -Asparc6, and the corresponding -xarch aliases.
864 * testsuite/gas/sparc/sparc6.s: New file.
865 * testsuite/gas/sparc/sparc6.d: Likewise.
866 * testsuite/gas/sparc/sparc6-diag.s: Likewise.
867 * testsuite/gas/sparc/sparc6-diag.l: Likewise.
868 * testsuite/gas/sparc/fpcmpshl.s: Likewise.
869 * testsuite/gas/sparc/fpcmpshl.d: Likewise.
870 * testsuite/gas/sparc/fpcmpshl-diag.s: Likewise.
871 * testsuite/gas/sparc/fpcmpshl-diag.l: Likewise.
872 * testsuite/gas/sparc/ldm-stm.s: Likewise.
873 * testsuite/gas/sparc/ldm-stm.d: Likewise.
874 * testsuite/gas/sparc/ldm-stm-diag.s: Likewise.
875 * testsuite/gas/sparc/ldm-stm-diag.l: Likewise.
876 * testsuite/gas/sparc/ldmf-stmf.s: Likewise.
877 * testsuite/gas/sparc/ldmf-stmf.d: Likewise.
878 * testsuite/gas/sparc/ldmf-stmf-diag.s: Likewise.
879 * testsuite/gas/sparc/ldmf-stmf-diag.l: Likewise.
880 * testsuite/gas/sparc/on.s: Likewise.
881 * testsuite/gas/sparc/on.d: Likewise.
882 * testsuite/gas/sparc/on-diag.s: Likewise.
883 * testsuite/gas/sparc/on-diag.l: Likewise.
884 * testsuite/gas/sparc/rle.s: Likewise.
885 * testsuite/gas/sparc/rle.d: Likewise.
886 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run new tests.
887 * testsuite/gas/sparc/rdasr.s: Add test for RDENTROPY.
888 * testsuite/gas/sparc/rdasr.d: Likewise.
889
ae0264a6
JM
8902017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
891
892 * testsuite/gas/sparc/call-relax.d: Support 32-bit targets.
893 * testsuite/gas/sparc/sparc.exp (gas_64_check): Use -64 to
894 run asi-bump-warn.
895
f4203b2b
JL
8962017-05-19 Georg-Johann Lay <avr@gjlay.de>
897
898 PR ld/21472
899 * config/tc-avr.c (mcu_types): Add entries for: attiny416,
900 attiny417, attiny816, attiny817.
901
535b785f
AM
9022017-05-18 Alan Modra <amodra@gmail.com>
903
904 * config/tc-aarch64.c: Don't compare booleans against TRUE or FALSE.
905 * config/tc-hppa.c: Likewise.
906 * config/tc-mips.c: Likewise.
907 * config/tc-score7.c: Likewise.
908
91cb9803
AM
9092017-05-16 Alan Modra <amodra@gmail.com>
910
911 * write.c (GENERIC_FORCE_RELOCATION_LOCAL): Define.
912 (TC_FORCE_RELOCATION_LOCAL): Use it.
913 (GENERIC_FORCE_RELOCATION_SUB_SAME): Define.
914 (TC_FORCE_RELOCATION_SUB_SAME): Use it.
915 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL,
916 TC_FORCE_RELOCATION_SUB_SAME): Use GENERIC defines.
917 * config/tc-aarch64.h: Similarly.
918 * config/tc-avr.h: Similarly.
919 * config/tc-cris.h: Similarly.
920 * config/tc-i386.h: Similarly.
921 * config/tc-i960.h: Similarly.
922 * config/tc-ia64.h: Similarly.
923 * config/tc-microblaze.h: Similarly.
924 * config/tc-mips.h: Similarly.
925 * config/tc-msp430.h: Similarly.
926 * config/tc-nds32.h: Similarly.
927 * config/tc-pru.h: Similarly.
928 * config/tc-riscv.h: Similarly.
929 * config/tc-rl78.h: Similarly.
930 * config/tc-s390.h: Similarly.
931 * config/tc-sh.h: Similarly.
932 * config/tc-sh64.h: Similarly.
933 * config/tc-sparc.h: Similarly.
934 * config/tc-xtensa.h: Similarly.
935 * config/tc-mn10300.h: Similarly.
936 (GENERIC_FORCE_RELOCATION_LOCAL): Define.
937 * config/tc-msp430.c (msp430_force_relocation_local): Modify to
938 be addition to rather than replacement of standard
939 TC_FORCE_RELOCATION_LOCAL.
940
52a86f84
NC
9412017-05-15 Nick Clifton <nickc@redhat.com>
942
943 PR gas/21458
944 * config/tc-arm.c (do_adr): If the ADR involves a thumb function
945 symbol, ensure that the T bit will be set.
946 (do_adrl): Likewise.
947 (do_t_adr): Likewise.
948 * testsuite/gas/arm/pr21458.s: New test.
949 * testsuite/gas/arm/pr21458.d: New test driver.
950
b32465c9
MR
9512017-05-15 Maciej W. Rozycki <macro@imgtec.com>
952
953 * testsuite/gas/mips/mips16-pcrel-1.d: Remove `-mips3' from `as'
954 flags.
955 * testsuite/gas/mips/mips16-pcrel-pic-1.d: Likewise.
956 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
957 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
958 * testsuite/gas/mips/mips16-pcrel-n64-0.d: Likewise.
959 * testsuite/gas/mips/mips16-pcrel-n64-1.d: Likewise.
960 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
961 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
962 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: Likewise.
963 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: Likewise.
964 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Likewise.
965 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Likewise.
966 * testsuite/gas/mips/mips16-pcrel-addend-4.d: Likewise.
967 * testsuite/gas/mips/mips16-pcrel-addend-5.d: Likewise.
968 * testsuite/gas/mips/mips16-pcrel-addend-6.d: Likewise.
969 * testsuite/gas/mips/mips16-pcrel-addend-7.d: Likewise.
970 * testsuite/gas/mips/mips16-pcrel-addend-9.d: Likewise.
971 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: Likewise.
972 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: Likewise.
973 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: Likewise.
974 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d:
975 Likewise.
976 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d:
977 Likewise.
978 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: Likewise.
979 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: Likewise.
980 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: Likewise.
981 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: Likewise.
982 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: Likewise.
983 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: Likewise.
984 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: Likewise.
985 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: Likewise.
986 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: Likewise.
987 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: Likewise.
988 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: Likewise.
989 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d:
990 Likewise.
991 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d:
992 Likewise.
993 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d:
994 Likewise.
995 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d:
996 Likewise.
997 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d:
998 Likewise.
999 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d:
1000 Likewise.
1001 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
1002 Likewise.
1003 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
1004 Likewise.
1005 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: New test.
1006 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: New test.
1007 * testsuite/gas/mips/mips16e2@mips16-pcrel-2.d: New test.
1008 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: New test.
1009 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: New test.
1010 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d: New
1011 test.
1012 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d: New
1013 test.
1014 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: New test.
1015 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: New test.
1016 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-2.d: New test.
1017 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-3.d: New test.
1018 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-6.d: New test.
1019 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-7.d: New test.
1020 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-2.d: New test.
1021 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-3.d: New test.
1022 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-6.d: New test.
1023 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-7.d: New test.
1024 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-8.d: New test.
1025 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-9.d: New test.
1026 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-8.d: New
1027 test.
1028 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-9.d: New
1029 test.
1030 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-8.d:
1031 New test.
1032 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-9.d:
1033 New test.
1034 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute.d: New test.
1035 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-1.d: New
1036 test.
1037 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-2.d: New
1038 test.
1039 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-3.d: New
1040 test.
1041 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-4.d: New
1042 test.
1043 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-5.d: New
1044 test.
1045 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-6.d: New
1046 test.
1047 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-7.d: New
1048 test.
1049 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-4.d: New
1050 test.
1051 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-6.d: New
1052 test.
1053 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-4.d: New
1054 test.
1055 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-6.d: New
1056 test.
1057 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-4.d:
1058 New test.
1059 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-6.d:
1060 New test.
1061 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-4.d:
1062 New test.
1063 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-6.d:
1064 New test.
1065 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-4.d:
1066 New test.
1067 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-6.d:
1068 New test.
1069 * testsuite/gas/mips/mips16-pcrel-1.l: Adjust line numbers.
1070 * testsuite/gas/mips/mips16-pcrel-1.s: Adjust for alignment
1071 preservation between MIPS16 and MIPS16e2 code.
1072 * testsuite/gas/mips/mips.exp: Run MIPS16 relaxation tests over
1073 all MIPS16 architectures.
1074
3f3467ff
MR
10752017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1076
1077 * testsuite/gas/mips/mips16e2.d: New test.
1078 * testsuite/gas/mips/mips16e2-mt.d: New test.
1079 * testsuite/gas/mips/mips16e2-sub.d: New test.
1080 * testsuite/gas/mips/mips16e2@mips16e2-sub.d: New test.
1081 * testsuite/gas/mips/mips16e2-mt-sub.d: New test.
1082 * testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: New test.
1083 * testsuite/gas/mips/mips16e2-hilo.d: New test.
1084 * testsuite/gas/mips/mips16e2-hilo-n32.d: New test.
1085 * testsuite/gas/mips/mips16e2-reloc-error.d: New test.
1086 * testsuite/gas/mips/mips16e2-imm-error.d: New test.
1087 * testsuite/gas/mips/elf_ase_mips16e2.d: New test.
1088 * testsuite/gas/mips/elf_ase_mips16e2-2.d: New test.
1089 * testsuite/gas/mips/elf-rel9-mips16e2.d: New test.
1090 * testsuite/gas/mips/mips16e2-lui.d: New test.
1091 * testsuite/gas/mips/mips16e2@mips32r2-sync.d: New test.
1092 * testsuite/gas/mips/mips16e2@mips32r2-sync-1.d: New test.
1093 * testsuite/gas/mips/mips16e2@lui-2.d: New test.
1094 * testsuite/gas/mips/mips16e2-reloc-error.l: New stderr output.
1095 * testsuite/gas/mips/mips16e2-imm-error.l: New stderr output.
1096 * testsuite/gas/mips/mips16e2@lui-2.l: New stderr output.
1097 * testsuite/gas/mips/mips16e2.s: New test source.
1098 * testsuite/gas/mips/mips16e2-mt.s: New test source.
1099 * testsuite/gas/mips/mips16e2-sub.s: New test source.
1100 * testsuite/gas/mips/mips16e2-mt-sub.s: New test source.
1101 * testsuite/gas/mips/mips16e2-hilo.s: New test source.
1102 * testsuite/gas/mips/mips16e2-reloc-error.s: New test source.
1103 * testsuite/gas/mips/mips16e2-imm-error.s: New test source.
1104 * testsuite/gas/mips/elf-rel9-mips16e2.s: New test source.
1105 * testsuite/gas/mips/mips16e2-lui.s: New test source.
1106 * testsuite/gas/mips/mips.exp: Expand `mips32r2-sync',
1107 `mips32r2-sync-1', `lui-1' and `lui-2' tests across MIPS16e2
1108 architectures. Run the new tests.
1109
70ab592f
MR
11102017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1111
1112 * testsuite/gas/mips/mips.exp (run_dump_test_arch): Add
1113 `mips16e2@' prefix.
1114 (run_list_test_arch): Likewise.
1115 (mips16e2-32, mips16e2-64): New architectures.
1116 * testsuite/gas/mips/mips16e2-32@mips16-macro.d: New test.
1117 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.d: New test.
1118 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.d: New test.
1119 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.d: New test.
1120 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.d: New test.
1121 * testsuite/gas/mips/mips16e2-32@mips16e-64.d: New test.
1122 * testsuite/gas/mips/mips16e2-32@mips16-sub.d: New test.
1123 * testsuite/gas/mips/mips16e2-32@mips16e-64-sub.d: New test.
1124 * testsuite/gas/mips/mips16e2@relax-swap3.d: New test.
1125 * testsuite/gas/mips/mips16-32@mips16-asmacro.d: Remove `source'
1126 tag. Add `-I$srcdir/$subdir' to `as' flags.
1127 * testsuite/gas/mips/mips16-64@mips16-asmacro.d: Likewise.
1128 * testsuite/gas/mips/mips16e2-32@mips16-macro.l: New stderr
1129 output.
1130 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.l: New stderr
1131 output.
1132 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.l: New stderr
1133 output.
1134 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.l: New stderr
1135 output.
1136 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.l: New stderr
1137 output.
1138 * testsuite/gas/mips/mips16-sub.s: Add `.set nomips16e2'.
1139 * testsuite/gas/mips/mips16e-sub.s: Likewise.
1140 * testsuite/gas/mips/mips16e-64-sub.s: Likewise.
1141 * testsuite/gas/mips/mips16-asmacro.s: Remove `.set mips32'.
1142 * testsuite/gas/mips/mips16-32@mips16-asmacro.s: New test
1143 source.
1144 * testsuite/gas/mips/mips16-64@mips16-asmacro.s: New test
1145 source.
1146
25499ac7
MR
11472017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1148 Matthew Fortune <matthew.fortune@imgtec.com>
1149 Andrew Bennett <andrew.bennett@imgtec.com>
1150
1151 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `e2' flag.
1152 (RELAX_MIPS16_E2): New macro.
1153 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO)
1154 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
1155 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
1156 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
1157 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
1158 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
1159 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED, RELAX_MIPS16_MACRO)
1160 (RELAX_MIPS16_MARK_MACRO, RELAX_MIPS16_CLEAR_MACRO): Shift bits.
1161 (mips16_immed_extend): New prototype.
1162 (options): Add OPTION_MIPS16E2 and OPTION_NO_MIPS16E2 enum
1163 values.
1164 (md_longopts): Add "mmips16e2" and "mno-mips16e2" options.
1165 (mips_ases): Add "mips16e2" entry.
1166 (mips_set_ase): Handle MIPS16e2 ASE.
1167 (insn_insert_operand): Explicitly handle immediates with MIPS16
1168 instructions that require 32-bit encoding.
1169 (is_opcode_valid_16): Pass enabled ASE bitmask on to
1170 `opcode_is_member'.
1171 (validate_mips_insn): Explicitly handle immediates with MIPS16
1172 instructions that require 32-bit encoding.
1173 (operand_reg_mask) <OP_REG28>: Add handler.
1174 (match_reg28_operand): New function.
1175 (match_operand) <OP_REG28>: Add handler.
1176 (append_insn): Pass ASE_MIPS16E2 setting to RELAX_MIPS16_ENCODE.
1177 (match_mips16_insn): Handle MIPS16 instructions that require
1178 32-bit encoding and `V' and `u' operand codes.
1179 (mips16_ip): Allow any characters except from `.' in opcodes.
1180 (mips16_immed_extend): Handle 9-bit immediates. Do not shuffle
1181 immediates whose width is not one of these listed.
1182 (md_estimate_size_before_relax): Handle MIPS16e2 relaxation.
1183 (mips_relax_frag): Likewise.
1184 (md_convert_frag): Likewise.
1185 (mips_convert_ase_flags): Handle MIPS16e2 ASE.
1186
1187 * doc/as.texinfo (Target MIPS options): Add `-mmips16e2' and
1188 `-mno-mips16e2' options.
1189 (-mmips16e2, -mno-mips16e2): New options.
1190 * doc/c-mips.texi (MIPS Options): Add `-mmips16e2' and
1191 `-mno-mips16e2' options.
1192 (MIPS ASE Instruction Generation Overrides): Add `.set mips16e2'
1193 and `.set nomips16e2'.
1194
20c59b84
MR
11952017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1196
1197 * config/tc-mips.c (match_int_operand): Call
1198 `match_out_of_range' before returning failure for 0x8000-0xffff
1199 values conditionally allowed.
1200
602b88e3
MR
12012017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1202
1203 * config/tc-mips.c (match_int_operand): Call
1204 `match_not_constant' before returning failure for a non-constant
1205 16-bit immediate conditionally allowed.
1206
c96425c5
MR
12072017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1208
1209 * config/tc-mips.c (match_const_int): Call `match_out_of_range'
1210 rather than `match_not_constant' for unrelocated operands
1211 retrieved as an `O_big' expression.
1212 (match_int_operand): Call `match_out_of_range' for relocatable
1213 operands retrieved as an `O_big' expression.
1214 (match_mips16_insn): Call `match_out_of_range' for relaxable
1215 operands retrieved as an `O_big' expression.
1216 * testsuite/gas/mips/addiu-error.d: New test.
1217 * testsuite/gas/mips/mips16@addiu-error.d: New test.
1218 * testsuite/gas/mips/micromips@addiu-error.d: New test.
1219 * testsuite/gas/mips/break-error.d: New test.
1220 * testsuite/gas/mips/lui-1.l: Adjust error message.
1221 * testsuite/gas/mips/addiu-error.l: New stderr output.
1222 * testsuite/gas/mips/mips16@addiu-error.l: New stderr output.
1223 * testsuite/gas/mips/micromips@addiu-error.l: New stderr output.
1224 * testsuite/gas/mips/break-error.l: New stderr output.
1225 * testsuite/gas/mips/addiu-error.s: New test source.
1226 * testsuite/gas/mips/break-error.s: New test source.
1227 * testsuite/gas/mips/mips.exp: Run the new tests.
1228
1a7bf198
MR
12292017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1230
1231 * config/tc-mips.c (match_mips16_insn): Remove the explicit
1232 OT_INTEGER check before the `match_expression' call.
1233 * testsuite/gas/mips/mips16-insn-e.l: Adjust messages.
1234 * testsuite/gas/mips/mips16-32@mips16-insn-e.l: Likewise.
1235 * testsuite/gas/mips/mips16-64@mips16-insn-e.l: Likewise.
1236 * testsuite/gas/mips/mips16e-32@mips16-insn-e.l: Likewise.
1237 * testsuite/gas/mips/mips16-reg-error.d: New test.
1238 * testsuite/gas/mips/mips16-reg-error.l: New stderr output.
1239 * testsuite/gas/mips/mips16-reg-error.s: New test source.
1240 * testsuite/gas/mips/mips.exp: Run the new test.
1241
e295202f
MR
12422017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1243
1244 * config/tc-mips.c (match_mips16_insn): Call
1245 `match_not_constant' for a disallowed relocation operation.
1246 * testsuite/gas/mips/mips16-reloc-error.d: New test.
1247 * testsuite/gas/mips/mips16-reloc-error.l: New stderr output.
1248 * testsuite/gas/mips/mips16-reloc-error.s: New test source.
1249 * testsuite/gas/mips/mips.exp: Run the new test.
1250
c76081bc
MR
12512017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1252
1253 * testsuite/gas/mips/lui-1.d: New test.
1254 * testsuite/gas/mips/lui-2.d: New test.
1255 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
1256 into the new tests.
1257
a54d5f8b
MR
12582017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1259
1260 * config/tc-mips.c (match_const_int): Update description.
1261
32035f51
MR
12622017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1263
1264 * doc/as.texinfo (-mips16, -no-mips16): Refer to `.module
1265 mips16' rather than `.set mips16'.
1266 (-mmicromips, -mno-micromips): Refer to `.module micromips' and
1267 `.module nomicromips' rather than `.set micromips' and `.set
1268 nomicromips'.
1269 (-msmartmips, -mno-smartmips): Refer to `.module smartmips'
1270 rather than `.set smartmips'.
1271 * doc/c-mips.texi (MIPS Options): Refer to `.module mips16',
1272 `.module micromips', `.module nomicromips' and `.module
1273 smartmips' rather than `.set mips16', `.set micromips', `.set
1274 nomicromips' and `.set smartmips' respectively.
1275
be3f1006
MR
12762017-05-12 Maciej W. Rozycki <macro@imgtec.com>
1277 Matthew Fortune <matthew.fortune@imgtec.com>
1278
1279 * config/tc-mips.c (mips_percent_op): Add "%gprel".
1280 (mips16_percent_op): Add "%gp_rel".
1281 * testsuite/gas/mips/elf-rel8.s:: Add `%gprel' forms.
1282 * testsuite/gas/mips/elf-rel8-mips16.s: Add `%gp_rel' forms.
1283 * testsuite/gas/mips/elf-rel8.d: Adjust accordingly.
1284 * testsuite/gas/mips/elf-rel8-mips16.d: Likewise.
1285
a4f89915
MR
12862017-05-12 Maciej W. Rozycki <macro@imgtec.com>
1287
1288 * testsuite/gas/mips/mips16.d: Adjust BREAK disassembly.
1289 * testsuite/gas/mips/mips16-64@mips16.d: Likewise.
1290 * testsuite/gas/mips/mips16-64.d: Likewise.
1291 * testsuite/gas/mips/mips16-64@mips16-64.d: Likewise.
1292 * testsuite/gas/mips/mips16-macro.d: Likewise.
1293 * testsuite/gas/mips/mips16-64@mips16-macro.d: Likewise.
1294 * testsuite/gas/mips/mips16-sub.d: Likewise.
1295 * testsuite/gas/mips/mips16-32@mips16-sub.d: Likewise.
1296
99e2d67a
MR
12972017-05-11 Maciej W. Rozycki <macro@imgtec.com>
1298
1299 * testsuite/gas/mips/mips32r2-sync-1.d: New test.
1300 * testsuite/gas/mips/micromips@mips32r2-sync-1.d: New test.
1301 * testsuite/gas/mips/mips.exp: Run the new tests.
1302
7f401e84
MR
13032017-05-10 Maciej W. Rozycki <macro@imgtec.com>
1304
1305 * testsuite/gas/mips/isa-override-2.d: New test.
1306 * testsuite/gas/mips/mips1@isa-override-2.d: New test.
1307 * testsuite/gas/mips/r3000@isa-override-2.d: New test.
1308 * testsuite/gas/mips/r3900@isa-override-2.d: New test.
1309 * testsuite/gas/mips/mips2@isa-override-2.d: New test.
1310 * testsuite/gas/mips/mips32@isa-override-2.d: New test.
1311 * testsuite/gas/mips/mips32r2@isa-override-2.d: New test.
1312 * testsuite/gas/mips/mips32r3@isa-override-2.d: New test.
1313 * testsuite/gas/mips/mips32r5@isa-override-2.d: New test.
1314 * testsuite/gas/mips/mips32r6@isa-override-2.d: New test.
1315 * testsuite/gas/mips/octeon3@isa-override-2.d: New test.
1316 * testsuite/gas/mips/r3000@isa-override-2.l: Remove list test.
1317 * testsuite/gas/mips/mips1@isa-override-2.s: Remove test source.
1318 * testsuite/gas/mips/r3000@isa-override-2.s: Remove test source.
1319 * testsuite/gas/mips/r3900@isa-override-2.s: Remove test source.
1320 * testsuite/gas/mips/mips2@isa-override-2.s: Remove test source.
1321 * testsuite/gas/mips/mips32@isa-override-2.s: Remove test
1322 source.
1323 * testsuite/gas/mips/mips32r2@isa-override-2.s: Remove test
1324 source.
1325 * testsuite/gas/mips/mips32r3@isa-override-2.s: Remove test
1326 source.
1327 * testsuite/gas/mips/mips32r5@isa-override-2.s: Remove test
1328 source.
1329 * testsuite/gas/mips/mips32r6@isa-override-2.s: Remove test
1330 source.
1331 * testsuite/gas/mips/octeon3@isa-override-2.s: Remove test
1332 source.
1333 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
1334 into the new tests.
1335
9fc18134
MR
13362017-05-10 Maciej W. Rozycki <macro@imgtec.com>
1337
1338 * testsuite/gas/mips/mips16e-sub.d: Correct test name.
1339 * testsuite/gas/mips/mips16-32@mips16e-sub.d: Likewise.
1340 * testsuite/gas/mips/mips16-64@mips16e-sub.d: Likewise.
1341 * testsuite/gas/mips/mips16e-64-sub.d: Likewise.
1342 * testsuite/gas/mips/mips16-32@mips16e-64-sub.d: Likewise.
1343 * testsuite/gas/mips/mips16-64@mips16e-64-sub.d: Likewise.
1344 * testsuite/gas/mips/mips16e-32@mips16e-64-sub.d: Likewise.
1345
f78c0b91
MR
13462017-05-10 Maciej W. Rozycki <macro@imgtec.com>
1347
1348 * testsuite/gas/mips/mips16-macro.l: Remove list test.
1349
58667758
MR
13502017-05-10 Maciej W. Rozycki <macro@imgtec.com>
1351
1352 * testsuite/gas/mips/r3900@ecoff@ld.d: Remove test.
1353 * testsuite/gas/mips/mips2@ecoff@ld.d: Remove test.
1354 * testsuite/gas/mips/mips32@ecoff@ld.d: Remove test.
1355 * testsuite/gas/mips/mips32r2@ecoff@ld.d: Remove test.
1356 * testsuite/gas/mips/r3900@ecoff@ld-forward.d: Remove test.
1357 * testsuite/gas/mips/mips2@ecoff@ld-forward.d: Remove test.
1358 * testsuite/gas/mips/mips32@ecoff@ld-forward.d: Remove test.
1359 * testsuite/gas/mips/mips32r2@ecoff@ld-forward.d: Remove test.
1360 * testsuite/gas/mips/mips1@ecoff@sd.d: Remove test.
1361 * testsuite/gas/mips/r3000@ecoff@sd.d: Remove test.
1362 * testsuite/gas/mips/r3900@ecoff@sd.d: Remove test.
1363 * testsuite/gas/mips/mips2@ecoff@sd.d: Remove test.
1364 * testsuite/gas/mips/mips32@ecoff@sd.d: Remove test.
1365 * testsuite/gas/mips/mips32r2@ecoff@sd.d: Remove test.
1366 * testsuite/gas/mips/mips1@ecoff@sd-forward.d: Remove test.
1367 * testsuite/gas/mips/r3000@ecoff@sd-forward.d: Remove test.
1368 * testsuite/gas/mips/r3900@ecoff@sd-forward.d: Remove test.
1369 * testsuite/gas/mips/mips2@ecoff@sd-forward.d: Remove test.
1370 * testsuite/gas/mips/mips32@ecoff@sd-forward.d: Remove test.
1371 * testsuite/gas/mips/mips32r2@ecoff@sd-forward.d: Remove test.
1372
53a346d8
CZ
13732017-05-10 Claudiu Zissulescu <claziss@synopsys.com>
1374
1375 * testsuite/gas/arc/attr-arc600.d: New file.
1376 * testsuite/gas/arc/attr-arc600_mul32x16.d: Likewise.
1377 * testsuite/gas/arc/attr-arc600_norm.d: Likewise.
1378 * testsuite/gas/arc/attr-arc601.d: Likewise.
1379 * testsuite/gas/arc/attr-arc601_mul32x16.d: Likewise.
1380 * testsuite/gas/arc/attr-arc601_mul64.d: Likewise.
1381 * testsuite/gas/arc/attr-arc601_norm.d: Likewise.
1382 * testsuite/gas/arc/attr-arc700.d: Likewise.
1383 * testsuite/gas/arc/attr-arcem.d: Likewise.
1384 * testsuite/gas/arc/attr-archs.d: Likewise.
1385 * testsuite/gas/arc/attr-autodetect-1.d: Likewise.
1386 * testsuite/gas/arc/attr-autodetect-1.s: Likewise.
1387 * testsuite/gas/arc/attr-cpu-a601.d: Likewise.
1388 * testsuite/gas/arc/attr-cpu-a601.s: Likewise.
1389 * testsuite/gas/arc/attr-cpu-a700.d: Likewise.
1390 * testsuite/gas/arc/attr-cpu-a700.s: Likewise.
1391 * testsuite/gas/arc/attr-cpu-em.d: Likewise.
1392 * testsuite/gas/arc/attr-cpu-em.s: Likewise.
1393 * testsuite/gas/arc/attr-cpu-hs.d: Likewise.
1394 * testsuite/gas/arc/attr-cpu-hs.s: Likewise.
1395 * testsuite/gas/arc/attr-em.d: Likewise.
1396 * testsuite/gas/arc/attr-em4.d: Likewise.
1397 * testsuite/gas/arc/attr-em4_dmips.d: Likewise.
1398 * testsuite/gas/arc/attr-em4_fpuda.d: Likewise.
1399 * testsuite/gas/arc/attr-em4_fpus.d: Likewise.
1400 * testsuite/gas/arc/attr-hs.d: Likewise.
1401 * testsuite/gas/arc/attr-hs34.d: Likewise.
1402 * testsuite/gas/arc/attr-hs38.d: Likewise.
1403 * testsuite/gas/arc/attr-hs38_linux.d: Likewise.
1404 * testsuite/gas/arc/attr-mul64.d: Likewise.
1405 * testsuite/gas/arc/attr-name.d: Likewise.
1406 * testsuite/gas/arc/attr-name.s: Likewise.
1407 * testsuite/gas/arc/attr-nps400.d: Likewise.
1408 * testsuite/gas/arc/attr-override-mcpu.d: Likewise.
1409 * testsuite/gas/arc/attr-override-mcpu.s
1410 * testsuite/gas/arc/attr-quarkse_em.d: Likewise.
1411 * testsuite/gas/arc/blank.s: Likewise.
1412 * testsuite/gas/elf/section2.e-arc: Likewise.
1413 * testsuite/gas/arc/cpu-pseudop-1.d: Update test.
1414 * testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
1415 * testsuite/gas/arc/nps400-0.d: Likewise.
1416 * testsuite/gas/elf/elf.exp: Set target_machine for ARC.
1417 * config/tc-arc.c (opcode/arc-attrs.h): Include.
1418 (ARC_GET_FLAG, ARC_SET_FLAG, streq): Define.
1419 (arc_attribute): Declare new function.
1420 (md_pseudo_table): Add arc_attribute.
1421 (cpu_types): Rename default cpu features.
1422 (selected_cpu): Set the default OSABI flag.
1423 (mpy_option): New variable.
1424 (pic_option): Likewise.
1425 (sda_option): Likewise.
1426 (tls_option): Likewise.
1427 (feature_type, feature_list): Remove.
1428 (arc_initial_eflag): Likewise.
1429 (attributes_set_explicitly): New variable.
1430 (arc_check_feature): Check also for the conflicting features.
1431 (arc_select_cpu): Refactor assignment of selected_cpu.eflags.
1432 (arc_option): Remove setting of private flags and architecture.
1433 (check_cpu_feature): Refactor feature names.
1434 (autodetect_attributes): New function.
1435 (assemble_tokens): Use above function.
1436 (md_parse_option): Refactor feature names.
1437 (arc_attribute): New function.
1438 (arc_set_attribute_int): Likewise.
1439 (arc_set_attribute_string): Likewise.
1440 (arc_stralloc): Likewise.
1441 (arc_set_public_attributes): Likewise.
1442 (arc_md_end): Likewise.
1443 (arc_copy_symbol_attributes): Likewise.
1444 (rc_convert_symbolic_attribute): Likewise.
1445 * config/tc-arc.h (md_end): Define.
1446 (CONVERT_SYMBOLIC_ATTRIBUTE): Likewise.
1447 (TC_COPY_SYMBOL_ATTRIBUTES): Likewise.
1448 * doc/c-arc.texi: Document ARC object attributes.
1449
8507b6e7
MR
14502017-05-03 Maciej W. Rozycki <macro@imgtec.com>
1451
1452 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `pic', `sym32' and
1453 `nomacro' flags.
1454 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO):
1455 New macros.
1456 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
1457 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
1458 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
1459 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
1460 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
1461 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): Shift bits.
1462 (RELAX_MIPS16_MACRO, RELAX_MIPS16_MARK_MACRO)
1463 (RELAX_MIPS16_CLEAR_MACRO): New macros.
1464 (append_insn): Pass `mips_pic', HAVE_32BIT_SYMBOLS and
1465 `mips_opts.warn_about_macros' settings to RELAX_MIPS16_ENCODE.
1466 (mips16_macro_frag): New function.
1467 (md_estimate_size_before_relax): Handle HI16/LO16 relaxation.
1468 (mips_relax_frag): Likewise.
1469 (md_convert_frag): Likewise.
1470
1471 * testsuite/gas/mips/mips16@relax-swap3.d: Remove error output,
1472 add dump patterns.
1473 * testsuite/gas/mips/mips16e@relax-swap3.d: New test
1474 subarchitecture.
1475 * testsuite/gas/mips/micromips@relax-swap3.d: Remove trailing
1476 NOP padding.
1477 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: Remove error
1478 output, add dump patterns.
1479 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: Remove error
1480 output, add dump patterns.
1481 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Remove error
1482 output, add dump patterns.
1483 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Remove error
1484 output, add dump patterns.
1485 * testsuite/gas/mips/mips16-pcrel-addend-2.d: Remove error
1486 output, add dump patterns.
1487 * testsuite/gas/mips/mips16-pcrel-addend-3.d: Remove error
1488 output, add dump patterns.
1489 * testsuite/gas/mips/mips16-pcrel-absolute.d: Remove error
1490 output, add dump patterns.
1491 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: Remove error
1492 output, add dump patterns.
1493 * testsuite/gas/mips/mips16@relax-swap3.l: Remove file.
1494 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: Remove file.
1495 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: Remove file.
1496 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: Remove file.
1497 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: Remove file.
1498 * testsuite/gas/mips/mips16-pcrel-addend-2.l: Remove file.
1499 * testsuite/gas/mips/mips16-pcrel-addend-3.l: Remove file.
1500 * testsuite/gas/mips/mips16-pcrel-absolute.l: Remove file.
1501 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: Remove file.
1502 * testsuite/gas/mips/relax-swap3.s: Adjust trailing padding.
1503
1504 * testsuite/gas/mips/mips16-pcrel-0.d: New test.
1505 * testsuite/gas/mips/mips16-pcrel-1.d: New test.
1506 * testsuite/gas/mips/mips16-pcrel-2.d: New test.
1507 * testsuite/gas/mips/mips16-pcrel-3.d: New test.
1508 * testsuite/gas/mips/mips16-pcrel-4.d: New test.
1509 * testsuite/gas/mips/mips16-pcrel-5.d: New test.
1510 * testsuite/gas/mips/mips16-pcrel-pic-0.d: New test.
1511 * testsuite/gas/mips/mips16-pcrel-pic-1.d: New test.
1512 * testsuite/gas/mips/mips16-pcrel-n32-0.d: New test.
1513 * testsuite/gas/mips/mips16-pcrel-n32-1.d: New test.
1514 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: New test.
1515 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: New test.
1516 * testsuite/gas/mips/mips16-pcrel-n64-0.d: New test.
1517 * testsuite/gas/mips/mips16-pcrel-n64-1.d: New test.
1518 * testsuite/gas/mips/mips16-pcrel-delay-0.d: New test.
1519 * testsuite/gas/mips/mips16-pcrel-delay-1.d: New test.
1520 * testsuite/gas/mips/mips16-pcrel-addend-4.d: New test.
1521 * testsuite/gas/mips/mips16-pcrel-addend-5.d: New test.
1522 * testsuite/gas/mips/mips16-pcrel-addend-6.d: New test.
1523 * testsuite/gas/mips/mips16-pcrel-addend-7.d: New test.
1524 * testsuite/gas/mips/mips16-pcrel-addend-8.d: New test.
1525 * testsuite/gas/mips/mips16-pcrel-addend-9.d: New test.
1526 * testsuite/gas/mips/mips16-pcrel-addend-pic-8.d: New test.
1527 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: New test.
1528 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: New test.
1529 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: New test.
1530 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d: New test.
1531 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d: New test.
1532 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: New test.
1533 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: New test.
1534 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: New test.
1535 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: New test.
1536 * testsuite/gas/mips/mips16-pcrel-absolute-4.d: New test.
1537 * testsuite/gas/mips/mips16-pcrel-absolute-5.d: New test.
1538 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: New test.
1539 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: New test.
1540 * testsuite/gas/mips/mips16-pcrel-absolute-pic-4.d: New test.
1541 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: New test.
1542 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: New test.
1543 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: New test.
1544 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: New test.
1545 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: New test.
1546 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d: New
1547 test.
1548 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d: New
1549 test.
1550 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d: New
1551 test.
1552 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d: New
1553 test.
1554 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d: New
1555 test.
1556 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d: New
1557 test.
1558 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
1559 New test.
1560 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
1561 New test.
1562 * testsuite/gas/mips/mips16-pcrel-0.l: New stderr output.
1563 * testsuite/gas/mips/mips16-pcrel-1.l: New stderr output.
1564 * testsuite/gas/mips/mips16-pcrel-2.l: New stderr output.
1565 * testsuite/gas/mips/mips16-pcrel-3.l: New stderr output.
1566 * testsuite/gas/mips/mips16-pcrel-4.l: New stderr output.
1567 * testsuite/gas/mips/mips16-pcrel-5.l: New stderr output.
1568 * testsuite/gas/mips/mips16-pcrel-delay-0.l: New stderr output.
1569 * testsuite/gas/mips/mips16-pcrel-delay-1.l: New stderr output.
1570 * testsuite/gas/mips/mips16-pcrel-addend-8.l: New stderr output.
1571 * testsuite/gas/mips/mips16-pcrel-addend-9.l: New stderr output.
1572 * testsuite/gas/mips/mips16-pcrel-absolute-4.l: New stderr
1573 output.
1574 * testsuite/gas/mips/mips16-pcrel-absolute-6.l: New stderr
1575 output.
1576 * testsuite/gas/mips/mips16-pcrel-0.s: New test source.
1577 * testsuite/gas/mips/mips16-pcrel-1.s: New test source.
1578 * testsuite/gas/mips/mips16-pcrel-2.s: New test source.
1579 * testsuite/gas/mips/mips16-pcrel-3.s: New test source.
1580 * testsuite/gas/mips/mips16-pcrel-4.s: New test source.
1581 * testsuite/gas/mips/mips16-pcrel-5.s: New test source.
1582 * testsuite/gas/mips/mips16-pcrel-delay-0.s: New test source.
1583 * testsuite/gas/mips/mips16-pcrel-delay-1.s: New test source.
1584 * testsuite/gas/mips/mips16-pcrel-addend-4.s: New test source.
1585 * testsuite/gas/mips/mips16-pcrel-addend-5.s: New test source.
1586 * testsuite/gas/mips/mips16-pcrel-addend-6.s: New test source.
1587 * testsuite/gas/mips/mips16-pcrel-addend-7.s: New test source.
1588 * testsuite/gas/mips/mips16-pcrel-addend-8.s: New test source.
1589 * testsuite/gas/mips/mips16-pcrel-addend-9.s: New test source.
1590 * testsuite/gas/mips/mips16-pcrel-absolute-2.s: New test.
1591 * testsuite/gas/mips/mips16-pcrel-absolute-3.s: New test.
1592 * testsuite/gas/mips/mips16-pcrel-absolute-4.s: New test.
1593 * testsuite/gas/mips/mips16-pcrel-absolute-5.s: New test.
1594 * testsuite/gas/mips/mips16-pcrel-absolute-6.s: New test.
1595 * testsuite/gas/mips/mips16-pcrel-absolute-7.s: New test.
1596 * testsuite/gas/mips/mips.exp: Run the new tests.
1597
e78bb25c
NC
15982017-05-03 Nick Clifton <nickc@redhat.com>
1599
1600 PR gas/20941
1601 * symbols.c (snapshot_symbol): Handle the case where
1602 resolve_expression returns a local symbol.
1603
82d808ed
MR
16042017-05-02 Maciej W. Rozycki <macro@imgtec.com>
1605
1606 * config/tc-mips.c (append_insn): Call `symbol_append' for any
1607 expression symbol created for MIPS16 relaxation.
1608 (match_mips16_insn): Don't encode a constant value as an
1609 immediate with a PC-relative operand.
1610
1611 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: New test.
1612 * testsuite/gas/mips/mips16-branch-absolute-1.d: New test.
1613 * testsuite/gas/mips/mips16-branch-absolute-2.d: New test.
1614 * testsuite/gas/mips/mips16-branch-absolute-addend-1.d: New
1615 test.
1616 * testsuite/gas/mips/mips16-branch-absolute-n32-1.d: New test.
1617 * testsuite/gas/mips/mips16-branch-absolute-n32-2.d: New test.
1618 * testsuite/gas/mips/mips16-branch-absolute-addend-n32-1.d: New
1619 test.
1620 * testsuite/gas/mips/mips16-branch-absolute-n64-1.d: New test.
1621 * testsuite/gas/mips/mips16-branch-absolute-n64-2.d: New test.
1622 * testsuite/gas/mips/mips16-branch-absolute-addend-n64-1.d: New
1623 test.
1624 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: New stderr
1625 output.
1626 * testsuite/gas/mips/mips16-pcrel-absolute-1.s: New test source.
1627 * testsuite/gas/mips/mips16-branch-absolute-1.s: New test
1628 source.
1629 * testsuite/gas/mips/mips16-branch-absolute-2.s: New test
1630 source.
1631 * testsuite/gas/mips/mips16-branch-absolute-addend-1.s: New test
1632 source.
1633 * testsuite/gas/mips/mips.exp: Run the new tests.
1634
14f72d45
MR
16352017-04-27 Maciej W. Rozycki <macro@imgtec.com>
1636
1637 * config/tc-mips.c (mips16_pcrel_val): New function, factored
1638 out from...
1639 (mips16_extended_frag): ... here.
1640 (md_convert_frag): Use `mips16_pcrel_val' rather than repeated
1641 code in MIPS16 relaxation, with `stretch' hardcoded to 0.
1642
1425c41d
MR
16432017-04-27 Maciej W. Rozycki <macro@imgtec.com>
1644
1645 * config/tc-mips.c (RELAX_MIPS16_LONG_BRANCH): Rename to...
1646 (RELAX_MIPS16_ALWAYS_EXTENDED): ... this.
1647 (RELAX_MIPS16_MARK_LONG_BRANCH): Rename to...
1648 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED): ... this.
1649 (RELAX_MIPS16_CLEAR_LONG_BRANCH): Rename to...
1650 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): ... this.
1651 (mips16_extended_frag): Adjust accordingly.
1652
f2d830a5
AM
16532017-04-27 Alan Modra <amodra@gmail.com>
1654
1655 * symbols.c (S_FORCE_RELOC): Separate section and symbol tests.
1656
ce8ad872
MR
16572017-04-26 Maciej W. Rozycki <macro@imgtec.com>
1658
1659 * config/tc-mips.c (RELAX_ENCODE): Add `PIC' flag.
1660 (RELAX_PIC): New macro.
1661 (RELAX_USE_SECOND, RELAX_SECOND_LONGER, RELAX_NOMACRO)
1662 (RELAX_DELAY_SLOT, RELAX_DELAY_SLOT_16BIT)
1663 (RELAX_DELAY_SLOT_SIZE_FIRST, RELAX_DELAY_SLOT_SIZE_SECOND):
1664 Shift bits.
1665 (RELAX_BRANCH_ENCODE): Add `pic' flag.
1666 (RELAX_BRANCH_UNCOND, RELAX_BRANCH_LIKELY, RELAX_BRANCH_LINK)
1667 (RELAX_BRANCH_TOOFAR): Shift bits.
1668 (RELAX_BRANCH_PIC): New macro.
1669 (RELAX_MICROMIPS_ENCODE): Add `pic' flag.
1670 (RELAX_MICROMIPS_PIC): New macro.
1671 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
1672 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_NODS)
1673 (RELAX_MICROMIPS_RELAX32): Shift bits.
1674 (relax_close_frag): Pass `mips_pic' setting to RELAX_ENCODE.
1675 (append_insn): Pass `mips_pic' setting to RELAX_BRANCH_ENCODE
1676 and RELAX_MICROMIPS_ENCODE, and record it in `fx_tcbit2' of the
1677 first fixup created.
1678 (md_apply_fix) <BFD_RELOC_16_PCREL_S2>: Use `fx_tcbit2' of the
1679 fixup processed rather than `mips_pic' in choosing to relax an
1680 out of range branch to a jump.
1681 (relaxed_branch_length): Use the `pic' flag of the relaxed frag
1682 rather than `mips_pic'.
1683 (relaxed_micromips_32bit_branch_length): Likewise.
1684 (md_estimate_size_before_relax): Likewise.
1685 (md_convert_frag): Likewise.
1686
1687 * testsuite/gas/mips/option-pic-relax-0.d: New test.
1688 * testsuite/gas/mips/option-pic-relax-1.d: New test.
1689 * testsuite/gas/mips/option-pic-relax-2.d: New test.
1690 * testsuite/gas/mips/option-pic-relax-3.d: New test.
1691 * testsuite/gas/mips/option-pic-relax-3a.d: New test.
1692 * testsuite/gas/mips/option-pic-relax-4.d: New test.
1693 * testsuite/gas/mips/option-pic-relax-5.d: New test.
1694 * testsuite/gas/mips/option-pic-relax-2.l: New stderr output.
1695 * testsuite/gas/mips/option-pic-relax-3.l: New stderr output.
1696 * testsuite/gas/mips/option-pic-relax-4.l: New stderr output.
1697 * testsuite/gas/mips/option-pic-relax-5.l: New stderr output.
1698 * testsuite/gas/mips/option-pic-relax-0.s: New test source.
1699 * testsuite/gas/mips/option-pic-relax-1.s: New test source.
1700 * testsuite/gas/mips/option-pic-relax-2.s: New test source.
1701 * testsuite/gas/mips/option-pic-relax-3.s: New test source.
1702 * testsuite/gas/mips/option-pic-relax-4.s: New test source.
1703 * testsuite/gas/mips/option-pic-relax-5.s: New test source.
1704 * testsuite/gas/mips/mips.exp: Run the new tests.
1705
126124cc
CZ
17062017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
1707
1708 * testsuite/gas/arc/leave_enter.d: Update test.
1709 * testsuite/gas/arc/leave_enter.s: Likewise.
1710
be6a24d8
CZ
17112017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
1712
1713 * testsuite/gas/arc/b.d: Update test.
1714 * testsuite/gas/arc/noargs_hs.d: Likewise.
1715
adc1273c
MR
17162017-04-25 Maciej W. Rozycki <macro@imgtec.com>
1717
1718 * config/tc-mips.c (md_convert_frag): Correct
1719 BFD_RELOC_MIPS16_16_PCREL_S1 fixup size.
1720 * testsuite/gas/mips/mips16-branch-addend-4.d: New test.
1721 * testsuite/gas/mips/mips16-branch-addend-5.d: New test.
1722 * testsuite/gas/mips/mips16-branch-addend-5.l: New stderr
1723 output.
1724 * testsuite/gas/mips/mips16-branch-addend-4.s: New test source.
1725 * testsuite/gas/mips/mips16-branch-addend-5.s: New test source.
1726 * testsuite/gas/mips/mips.exp: Run the new tests.
1727
d28b6364
JM
17282017-04-25 Jose E. Marchesi <jose.marchesi@oracle.com>
1729
1730 PR gas/21407
1731 * config/tc-sparc.c (md_apply_fix): Do not transform `call'
1732 instructions into branch instructions in fixups generating
1733 additional relocations.
1734 * testsuite/gas/sparc/call-relax.s: New file.
1735 * testsuite/gas/sparc/call-relax.d: Likewise.
1736 * testsuite/gas/sparc/call-relax-aout.d: Likewise.
1737 * testsuite/gas/sparc/sparc.exp: Test call-relax and call-relax-aout.
1738
53445554
TP
17392017-04-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
1740
1741 * config/tc-arm.c (move_or_literal_pool): Remove code generating MOVS.
1742 Forbid MOV.W and MOVW if destination is SP or PC.
1743 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.s: Explain
1744 expectation of LDR not generating a MOVS for low registers and small
1745 constants. Add tests of MOVW generation.
1746 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Update
1747 expected disassembly.
1748
a8cc8a54
AM
17492017-04-22 Alan Modra <amodra@gmail.com>
1750
1751 * testsuite/gas/ppc/vle.s: Format. Add se_rfgi and e_sc.
1752 * testsuite/gas/ppc/vle.d: Update.
1753
792f174f
NC
17542017-04-21 Nick Clifton <nickc@redhat.com>
1755
1756 PR binutils/21380
1757 * testsuite/gas/aarch64/illegal-3.s: New file.
1758 * testsuite/gas/aarch64/illegal-3.d: New file.
1759
ef85eab0
AM
17602017-04-11 Alan Modra <amodra@gmail.com>
1761
1762 * config/tc-ppc.c (md_show_usage): Delete mention of -mhtm.
1763 * testsuite/gas/ppc/htm.d: Pass -mpower8 and -Mpower8.
1764
947fa914
MF
17652017-04-10 Max Filippov <jcmvbkbc@gmail.com>
1766
1767 * config/tc-xtensa.c (xtensa_maybe_create_literal_pool_frag):
1768 Initialize lps->frag_count with auto_litpool_limit.
1769 (xg_promote_candidate_litpool): New function.
1770 (xtensa_move_literals): Extract candidate litpool promotion code
1771 into separate function. Call it for all possible found
1772 candidates.
1773 (xtensa_switch_to_literal_fragment): Drop 'recursive' flag and
1774 call to xtensa_mark_literal_pool_location that it guards.
1775 Replace it with call to xtensa_maybe_create_literal_pool_frag.
1776 Initialize pool_location with created literal pool candidate.
1777 * testsuite/gas/xtensa/all.exp: Add new tests.
1778 * testsuite/gas/xtensa/auto-litpools-first1.d: New test results.
1779 * testsuite/gas/xtensa/auto-litpools-first1.s: New test.
1780 * testsuite/gas/xtensa/auto-litpools-first2.d: New test results.
1781 * testsuite/gas/xtensa/auto-litpools-first2.s: New test.
1782 * testsuite/gas/xtensa/auto-litpools.d: Fix offsets changed due
1783 to additional jump instruction.
1784
ac8f0f72
AM
17852017-04-07 Alan Modra <amodra@gmail.com>
1786
1787 * testsuite/gas/ppc/altivec2.s: Delete E6500 vector insns.
1788 * testsuite/gas/ppc/altivec2.d: Adjust to suit.
1789
498e3442
AM
17902017-04-07 Alan Modra <amodra@gmail.com>
1791
1792 * testsuite/gas/elf/section12a.d: Don't expect alignment of 1
1793 for .mbind.text.
1794
62ecb94c
PC
17952017-04-06 Pip Cet <pipcet@gmail.com>
1796
1797 * testsuite/gas/wasm32/allinsn.d: Adjust test for disassembler
1798 changes.
1799 * testsuite/gas/wasm32/disass.d: New test.
1800 * testsuite/gas/wasm32/disass.s: New test.
1801 * testsuite/gas/wasm32/disass-2.d: New test.
1802 * testsuite/gas/wasm32/disass-2.s: New test.
1803 * testsuite/gas/wasm32/reloc.d: Adjust test for changed reloc
1804 names.
1805 * testsuite/gas/wasm32/reloc.s: Update test for changed assembler
1806 syntax.
1807 * testsuite/gas/wasm32/wasm32.exp: Run new tests. Expect allinsn
1808 test to succeed.
1809
a91e1603
L
18102017-04-04 H.J. Lu <hongjiu.lu@intel.com>
1811
1812 * NEWS: Mention support for ELF SHF_GNU_MBIND.
1813 * config/obj-elf.c (section_match): New.
1814 (get_section): Match both sh_info and group name.
1815 (obj_elf_change_section): Add argument for sh_info. Pass both
1816 sh_info and group name to get_section. Issue an error for
1817 SHF_GNU_MBIND section without SHF_ALLOC. Set sh_info.
1818 (obj_elf_parse_section_letters): Set SHF_GNU_MBIND for 'd'.
1819 (obj_elf_section): Support SHF_GNU_MBIND section info.
1820 * config/obj-elf.h (obj_elf_change_section): Add argument for
1821 sh_info.
1822 * config/tc-arm.c (start_unwind_section): Pass 0 as sh_info to
1823 obj_elf_change_section.
1824 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1825 * config/tc-microblaze.c (microblaze_s_data): Likewise.
1826 (microblaze_s_sdata): Likewise.
1827 (microblaze_s_rdata): Likewise.
1828 (microblaze_s_bss): Likewise.
1829 * config/tc-mips.c (s_change_section): Likewise.
1830 * config/tc-msp430.c (msp430_profiler): Likewise.
1831 * config/tc-rx.c (parse_rx_section): Likewise.
1832 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
1833 * doc/as.texinfo: Document 'd' for SHF_GNU_MBIND.
1834 * testsuite/gas/elf/elf.exp: Run section12a, section12b and
1835 section13.
1836 * testsuite/gas/elf/section10.d: Updated.
1837 * testsuite/gas/elf/section10.s: Likewise.
1838 * testsuite/gas/elf/section12.s: New file.
1839 * testsuite/gas/elf/section12a.d: Likewise.
1840 * testsuite/gas/elf/section12b.d: Likewise.
1841 * testsuite/gas/elf/section13.l: Likewise.
1842 * testsuite/gas/elf/section13.d: Likewise.
1843 * testsuite/gas/elf/section13.s: Likewise.
1844
c41cf6fd
PD
18452017-04-03 Palmer Dabbelt <palmer@dabbelt.com>
1846
1847 * config/tc-riscv.c (riscv_clear_subsets): Cast argument to free to
1848 avoid const warnings.
1849
fecb9c46
PD
18502017-03-30 Palmer Dabbelt <palmer@dabbelt.com>
1851
1852 * config/tc-riscv.c (riscv_clear_subsets): New function.
1853 (riscv_add_subset): Call riscv_clear_subsets and riscv_set_rvc to
1854 clear RVC when it's been previously set.
1855
dc1e4d6d
NC
18562017-03-31 Nick Clifton <nickc@redhat.com>
1857
1858 PR gas/21333
1859 * config/tc-s390.c (tc_s390_fix_adjustable): Allow non pc-relative
1860 fixups in mergeable sections to be adjusted.
1861
f96bd6c2
PC
18622017-03-30 Pip Cet <pipcet@gmail.com>
1863
1864 * config/tc-wasm32.h: New file: Add WebAssembly assembler target.
1865 * config/tc-wasm32.c: New file: Add WebAssembly assembler target.
1866 * Makefile.am: Add WebAssembly assembler target.
1867 * configure.tgt: Add WebAssembly assembler target.
1868 * doc/c-wasm32.texi: New file: Start documenting WebAssembly
1869 assembler.
1870 * doc/all.texi: Define WASM32.
1871 * doc/as.texinfo: Add WebAssembly entries.
1872 * NEWS: Mention the new support.
1873 * Makefile.in: Regenerate.
1874 * po/gas.pot: Regenerate.
1875 * po/POTFILES.in: Regenerate.
1876 * testsuite/gas/wasm32: New directory.
1877 * testsuite/gas/wasm32/allinsn.d: New file.
1878 * testsuite/gas/wasm32/allinsn.s: New file.
1879 * testsuite/gas/wasm32/illegal.l: New file.
1880 * testsuite/gas/wasm32/illegal.s: New file.
1881 * testsuite/gas/wasm32/illegal-2.l: New file.
1882 * testsuite/gas/wasm32/illegal-2.s: New file.
1883 * testsuite/gas/wasm32/illegal-3.l: New file.
1884 * testsuite/gas/wasm32/illegal-3.s: New file.
1885 * testsuite/gas/wasm32/illegal-4.l: New file.
1886 * testsuite/gas/wasm32/illegal-4.s: New file.
1887 * testsuite/gas/wasm32/illegal-5.l: New file.
1888 * testsuite/gas/wasm32/illegal-5.s: New file.
1889 * testsuite/gas/wasm32/illegal-6.l: New file.
1890 * testsuite/gas/wasm32/illegal-6.s: New file.
1891 * testsuite/gas/wasm32/illegal-7.l: New file.
1892 * testsuite/gas/wasm32/illegal-7.s: New file.
1893 * testsuite/gas/wasm32/illegal-8.l: New file.
1894 * testsuite/gas/wasm32/illegal-8.s: New file.
1895 * testsuite/gas/wasm32/illegal-9.l: New file.
1896 * testsuite/gas/wasm32/illegal-9.s: New file.
1897 * testsuite/gas/wasm32/illegal-10.l: New file.
1898 * testsuite/gas/wasm32/illegal-10.s: New file.
1899 * testsuite/gas/wasm32/illegal-11.l: New file.
1900 * testsuite/gas/wasm32/illegal-11.s: New file.
1901 * testsuite/gas/wasm32/illegal-12.l: New file.
1902 * testsuite/gas/wasm32/illegal-12.s: New file.
1903 * testsuite/gas/wasm32/illegal-13.l: New file.
1904 * testsuite/gas/wasm32/illegal-13.s: New file.
1905 * testsuite/gas/wasm32/illegal-14.l: New file.
1906 * testsuite/gas/wasm32/illegal-14.s: New file.
1907 * testsuite/gas/wasm32/illegal-15.l: New file.
1908 * testsuite/gas/wasm32/illegal-15.s: New file.
1909 * testsuite/gas/wasm32/illegal-16.l: New file.
1910 * testsuite/gas/wasm32/illegal-16.s: New file.
1911 * testsuite/gas/wasm32/illegal-17.l: New file.
1912 * testsuite/gas/wasm32/illegal-17.s: New file.
1913 * testsuite/gas/wasm32/illegal-18.l: New file.
1914 * testsuite/gas/wasm32/illegal-18.s: New file.
1915 * testsuite/gas/wasm32/illegal-19.l: New file.
1916 * testsuite/gas/wasm32/illegal-19.s: New file.
1917 * testsuite/gas/wasm32/illegal-20.l: New file.
1918 * testsuite/gas/wasm32/illegal-20.s: New file.
1919 * testsuite/gas/wasm32/illegal-21.l: New file.
1920 * testsuite/gas/wasm32/illegal-21.s: New file.
1921 * testsuite/gas/wasm32/illegal-22.l: New file.
1922 * testsuite/gas/wasm32/illegal-22.s: New file.
1923 * testsuite/gas/wasm32/illegal-24.l: New file.
1924 * testsuite/gas/wasm32/illegal-24.s: New file.
1925 * testsuite/gas/wasm32/illegal-25.l: New file.
1926 * testsuite/gas/wasm32/illegal-25.s: New file.
1927 * testsuite/gas/wasm32/reloc.d: New file.
1928 * testsuite/gas/wasm32/reloc.s: New file.
1929 * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly
1930 architecture.
1931
52be03fd
AM
19322017-03-29 Alan Modra <amodra@gmail.com>
1933
1934 * config/tc-ppc.c (md_parse_option): Reject -mraw.
1935
9b753937
AM
19362017-03-27 Alan Modra <amodra@gmail.com>
1937
1938 PR 21303
1939 * testsuite/gas/ppc/pr21303.d,
1940 * testsuite/gas/ppc/pr21303.s: New test
1941 * testsuite/gas/ppc/ppc.exp: Run it.
1942
c0c31e91
RZ
19432017-03-27 Rinat Zelig <rinat@mellanox.com>
1944
1945 * testsuite/gas/arc/nps400-12.s: New file.
1946 * testsuite/gas/arc/nps400-12.d: New file.
1947
62785b09
TP
19482017-03-24 Thomas preud'homme <thomas.preudhomme@arm.com>
1949
1950 * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
1951 CPU_DEFAULT is defined.
1952
19683c04
PD
19532017-03-21 Palmer Dabbbelt <palmer@dabbelt.com>
1954
1955 * config/tc-riscv.c (md_show_usage): Remode defuct -m32, -m64,
1956 -msoft-float, -mhard-float, -mno-rvc, and -mrvc options; and don't
1957 print an invalid default ISA string.
1958 * doc/c-riscv.texi (OPTIONS): Add -fpic and -fno-pic options.
1959
24e5b4e6
MF
19602017-03-22 Max Filippov <jcmvbkbc@gmail.com>
1961
1962 * config/tc-xtensa.c (xtensa_relax_frag): Change fx_size of the
1963 reassigned fixup to size of jump instruction (3) and fx_r_type
1964 to BFD_RELOC_XTENSA_SLOT0_OP, as there's only one slot.
1965 (add_jump_to_trampoline): Search
1966 origfrag->tc_frag_data.slot_symbols for the slot with non-NULL
1967 symbol and use that slot instead of slot 0.
1968
2253c8f0
AK
19692017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1970
1971 * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
1972 from cpu_table. Remove vx2, and novx2 from cpu_flags.
1973
645d3342
RZ
19742017-03-21 Rinat Zelig <rinat@mellanox.com>
1975
1976 * testsuite/gas/arc/nps400-11.s: New file.
1977 * testsuite/gas/arc/nps400-11.d: New file.
1978
e406e428
NC
19792017-03-20 Nick Clifton <nickc@redhat.com>
1980
1981 * doc/as.texinfo (2byte): Note that if no expressions are present
1982 the directive does nothing. Emphasize that the output is
1983 unaligned, and that this can have an effect on the relocations
1984 generated.
1985 (4byte): Simplify description. Refer back to the 2byte
1986 description.
1987 (8byte): Likewise.
1988
d5e0ba9c
RE
19892017-03-20 Richard Earnshaw <rearnsha@arm.com>
1990
1991 * config/tc-arm.c (arm_fpus): Note entires that should not be
1992 documented.
1993 * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
1994 neon-fp16. Fix spelling error.
1995
d3375ddd
RE
19962017-03-20 Richard Earnshaw <rearnsha@arm.com>
1997
1998 * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
1999
2c52e2e8
RZ
20002017-03-16 Rinat Zelig <rinat@mellanox.com>
2001
2002 * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
2003 specially for ARCv2.
2004
b416fe87
KC
20052017-03-14 Kito Cheng <kito.cheng@gmail.com>
2006
2007 * config/tc-riscv.c (validate_riscv_insn): Add 'o' RVC immediate
2008 encoding format, which can accept 0-valued immediates.
2009 (riscv_ip): Likewise.
2010
7cb7b948
NC
20112017-03-15 Nick Clifton <nickc@redhat.com>
2012
2013 * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
2014 warning about discarding a const qualifier.
2015
d47c3ff7
KLC
20162017-03-02 Kuan-Lin Chen <rufus@andestech.com>
2017
2018 * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
2019
2aece2ba
KLC
20202017-03-02 Kuan-Lin Chen <rufus@andestech.com>
2021
2022 * config/tc-riscv.c (md_apply_fix): Set fx_frag and
2023 fx_next->fx_frag for CFA_advance_loc relocations.
2024
c1b465c9
KLC
20252017-03-02 Kuan-Lin Chen <rufus@andestech.com>
2026
2027 * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
2028 for CFA relocations.
2029
f955cccf
NC
20302017-03-13 Nick Clifton <nickc@redhat.com>
2031
2032 PR binutils/21202
2033 * config/tc-aarch64.c (reloc_table): Rename
2034 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC to
2035 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12. Rname
2036 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC to
2037 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
2038 (md_apply_fix): Likewise.
2039 (aarch64_force_relocation): Likewise.
2040 * testsuite/gas/aarch64/tls.d: Update regexp.
2041
8b1e5da1
NC
20422017-03-10 Tobin C. Harding <me@tobin.cc>
2043 Nick Clifton <nickc@redhat.com>
2044
2045 * doc/as.texinfo (2byte): Tidy up wording. Add note that
2046 overlarge values will produce a warning message and be trunacted.
2047 (4byte): Likewise.
2048
86fa6981
L
20492017-03-09 H.J. Lu <hongjiu.lu@intel.com>
2050
2051 * config/tc-i386.c (_i386_insn): Add dir_encoding and
2052 vec_encoding. Remove swap_operand and need_vrex.
2053 (extra_symbol_chars): Add '}'.
2054 (md_begin): Mark '}' with LEX_BEGIN_NAME. Allow '}' in
2055 mnemonic.
2056 (build_vex_prefix): Don't use 2-byte VEX encoding with
2057 {vex3}. Check dir_encoding and load.
2058 (parse_insn): Check pseudo prefixes. Set dir_encoding.
2059 (VEX_check_operands): Likewise.
2060 (match_template): Check dir_encoding and load.
2061 (parse_real_register): Set vec_encoding instead of need_vrex.
2062 (parse_register): Likewise.
2063 * doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
2064 {vex2}, {vex3} and {evex}. Remove ".s", ".d8" and ".d32"
2065 * testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
2066 * testsuite/gas/i386/pseudos.d: New file.
2067 * testsuite/gas/i386/pseudos.s: Likewise.
2068 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
2069 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
2070
4b8b687e
PB
20712017-03-08 Peter Bergner <bergner@vnet.ibm.com>
2072
2073 * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
2074 (objdump): Use the -Mpower8 option.
2075
1437d063
PB
20762017-03-08 Peter Bergner <bergner@vnet.ibm.com>
2077
2078 * testsuite/gas/ppc/power9.d <lnia> New test.
2079 * testsuite/gas/ppc/power9.s: Likewise.
2080
ea86f534
AM
20812017-03-07 Alan Modra <amodra@gmail.com>
2082
2083 * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
2084
2b841ec2
AM
20852017-03-07 Tobin C. Harding <me@tobin.cc>
2086 Alan Modra <amodra@gmail.com>
2087
2088 * doc/as.texinfo (2byte, 4byte, 8byte): Document.
2089 * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
2090
603555e5
L
20912017-03-06 H.J. Lu <hongjiu.lu@intel.com>
2092
2093 * config/tc-i386.c (cpu_arch): Add .cet.
2094 * doc/c-i386.texi: Document cet.
2095 * testsuite/gas/i386/cet-intel.d: New file.
2096 * testsuite/gas/i386/cet.d: Likewise.
2097 * testsuite/gas/i386/cet.s: Likewise.
2098 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
2099 * testsuite/gas/i386/x86-64-cet.d: Likewise.
2100 * testsuite/gas/i386/x86-64-cet.s: Likewise.
2101 * testsuite/gas/i386/i386.exp: Run Intel CET tests.
2102
1cccfb31
L
21032017-03-06 H.J. Lu <hongjiu.lu@intel.com>
2104
2105 * testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment.
2106 * testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
2107
ea0de82e
AM
21082017-03-06 Alan Modra <amodra@gmail.com>
2109
2110 * dw2gencfi.c (encoding_size): Return unsigned int.
2111 (emit_expr_encoded): Assert size matches reloc bitsize.
2112 (output_fde): Use unsigned for offset_size and addr_size. Set
2113 addr_size earlier and use in place of constant 4 and uses of
2114 DWARF2_FDE_RELOC_SIZE. Assert it matches reloc bitsize.
2115
9e1a8675
AM
21162017-03-06 Alan Modra <amodra@gmail.com>
2117
2118 * dw2gencfi.c: Wrap overlong lines. Add parens for emacs
2119 auto reformat. Formatting and whitespace fixes.
2120
49fced12
MW
21212017-03-05 Mark Wielaard <mark@klomp.org>
2122
2123 * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_strp instead of
2124 DW_FORM_string for DW_AT_name, DW_AT_comp_dir and DW_AT_producer.
2125 (out_debug_info): Accept symbols to name, comp_dir and producer in
2126 the .debug_str section and emit those offsets not full strings.
2127 (out_debug_str): New function that outputs the strings for name,
2128 comp_dir and producer in .debug_str and generates symbols to those
2129 strings.
2130 (out_debug_line): Create a .debug_str section if necessary and call
2131 out_debug_str before calling out_debug_info.
2132 * testsuite/gas/aarch64/dwarf.d: Add extra section symbol to expected
2133 output.
2134
9875b365
MR
21352017-03-02 Maciej W. Rozycki <macro@imgtec.com>
2136
2137 * write.c (relax_segment) <rs_org>: Only bail out if the fixed
2138 part of the frag has overrun the location requested.
2139
2140 * testsuite/gas/all/org-1.d: New test.
2141 * testsuite/gas/all/org-2.d: New test.
2142 * testsuite/gas/all/org-3.d: New test.
2143 * testsuite/gas/all/org-4.d: New test.
2144 * testsuite/gas/all/org-5.d: New test.
2145 * testsuite/gas/all/org-6.d: New test.
2146 * testsuite/gas/all/org-1.l: New stderr output.
2147 * testsuite/gas/all/org-2.l: New stderr output.
2148 * testsuite/gas/all/org-3.l: New stderr output.
2149 * testsuite/gas/all/org-1.s: New test source.
2150 * testsuite/gas/all/org-2.s: New test source.
2151 * testsuite/gas/all/org-3.s: New test source.
2152 * testsuite/gas/all/org-4.s: New test source.
2153 * testsuite/gas/all/org-5.s: New test source.
2154 * testsuite/gas/all/org-6.s: New test source.
2155 * testsuite/gas/all/gas.exp: Run the new tests.
2156
2157 * testsuite/gas/mips/org-1.d: New test.
2158 * testsuite/gas/mips/org-2.d: New test.
2159 * testsuite/gas/mips/org-3.d: New test.
2160 * testsuite/gas/mips/org-4.d: New test.
2161 * testsuite/gas/mips/org-5.d: New test.
2162 * testsuite/gas/mips/org-6.d: New test.
2163 * testsuite/gas/mips/org-7.d: New test.
2164 * testsuite/gas/mips/org-8.d: New test.
2165 * testsuite/gas/mips/org-9.d: New test.
2166 * testsuite/gas/mips/org-10.d: New test.
2167 * testsuite/gas/mips/org-11.d: New test.
2168 * testsuite/gas/mips/org-12.d: New test.
2169 * testsuite/gas/mips/org-1.l: New stderr output.
2170 * testsuite/gas/mips/org-4.l: New stderr output.
2171 * testsuite/gas/mips/org-5.l: New stderr output.
2172 * testsuite/gas/mips/org-6.l: New stderr output.
2173 * testsuite/gas/mips/org-10.l: New stderr output.
2174 * testsuite/gas/mips/org-1.s: New test source.
2175 * testsuite/gas/mips/org-2.s: New test source.
2176 * testsuite/gas/mips/org-3.s: New test source.
2177 * testsuite/gas/mips/org-4.s: New test source.
2178 * testsuite/gas/mips/org-5.s: New test source.
2179 * testsuite/gas/mips/org-6.s: New test source.
2180 * testsuite/gas/mips/org-7.s: New test source.
2181 * testsuite/gas/mips/org-8.s: New test source.
2182 * testsuite/gas/mips/org-9.s: New test source.
2183 * testsuite/gas/mips/org-10.s: New test source.
2184 * testsuite/gas/mips/org-11.s: New test source.
2185 * testsuite/gas/mips/org-12.s: New test source.
2186 * testsuite/gas/mips/mips.exp: Run the new tests.
2187
01cca2f9
SN
21882017-03-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
2189
2190 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
2191
15c7c1d8
JB
21922017-02-28 Jan Beulich <jbeulich@suse.com>
2193
2194 * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
2195 VPCMPESTR{I,M}.
2196 * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
2197 * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
2198 of PCMPESTR{I,M}.
2199 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
2200 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
2201 * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Likewise.
2202 * testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d: Likewise.
2203 * testsuite/gas/i386/ilp32/x86-64-sse4_2.d: Likewise.
2204 * testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
2205 * testsuite/gas/i386/x86-64-avx.d: Likewise.
2206 * testsuite/gas/i386/x86-64-sse2avx.d: Likewise.
2207 * testsuite/gas/i386/x86-64-sse4_2-intel.d: Likewise.
2208 * testsuite/gas/i386/x86-64-sse4_2.d: Likewise.
2209
4ef97a1b
AM
22102017-02-28 Alan Modra <amodra@gmail.com>
2211
2212 * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
2213
7ba71655
AM
22142017-02-28 Alan Modra <amodra@gmail.com>
2215
2216 * config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
2217 (md_apply_fix): Remove fx_subsy check. Move code converting to
2218 pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA. Remove code
2219 emiiting errors on seeing fx_pcrel set on unexpected relocs, as
2220 that is done now by the generic code via..
2221 * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
2222 (TC_VALIDATE_FIX_SUB): Define.
2223
0e392101
MR
22242017-02-28 Maciej W. Rozycki <macro@imgtec.com>
2225
2226 * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
2227 * testsuite/gas/mips/jalr4.d: Adjust accordingly. Remove MIPSr6
2228 encoding patterns.
2229 * testsuite/gas/mips/jalr4-n64.d: Likewise.
2230 * testsuite/gas/mips/mipsr6@jalr4.d: New test.
2231 * testsuite/gas/mips/mipsr6@jalr4-n32.d: New test.
2232 * testsuite/gas/mips/mipsr6@jalr4-n64.d: New test.
2233
dd803a24
AM
22342017-02-25 Alan Modra <amodra@gmail.com>
2235
2236 * testsuite/gas/elf/strtab.s: Don't put directives on first
2237 column or continuation with labels not in first column.
2238
582e12bf
RS
22392017-02-24 Richard Sandiford <richard.sandiford@arm.com>
2240
2241 * doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
2242 * config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
2243 to be used with SVE registers.
2244 (parse_operands): Handle new SVE operands.
2245 (aarch64_features): Make "sve" require F16 rather than FP. Also
2246 require COMPNUM.
2247 * testsuite/gas/aarch64/sve.s: Add tests for new instructions.
2248 Include compnum tests.
2249 * testsuite/gas/aarch64/sve.d: Update accordingly.
2250 * testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
2251 * testsuite/gas/aarch64/sve-invalid.l: Update accordingly. Also
2252 update expected output for new FMOV and MOV alternatives.
2253
f482d304
RS
22542017-02-24 Richard Sandiford <richard.sandiford@arm.com>
2255
2256 * doc/c-aarch64.texi: Add a "compnum" entry.
2257 * config/tc-aarch64.c (aarch64_features): Likewise,
2258 * testsuite/gas/aarch64/advsimd-compnum.s: New test.
2259 * testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
2260
7db2c588
JB
22612017-02-24 Jan Beulich <jbeulich@suse.com>
2262
2263 * testsuite/gas/i386/opcode.s: Add alternative TEST forms.
2264 * testsuite/gas/i386/x86-64-opcode.s: Likewise.
2265 * testsuite/gas/i386/opcode.d: Adjust accordingly.
2266 * testsuite/gas/i386/opcode-intel.d: Likewise.
2267 * testsuite/gas/i386/x86-64-opcode.d: Likewise.
2268 * testsuite/gas/i386/ilp32/x86-64-opcode.d: Likewise.
2269
1b3cee56
SL
22702017-02-24 Sheldon Lobo <sheldon.lobo@oracle.com>
2271
2272 Test cases for the architecture level aware SPARC ASI work.
2273 * gas/testsuite/gas/sparc/sparc.exp: 2 new tests
2274 * gas/testsuite/gas/sparc/asi-bump-warn.s: New test
2275 * gas/testsuite/gas/sparc/asi-bump-warn.l: Likewise
2276 * gas/testsuite/gas/sparc/asi-arch-error.s: Likewise
2277 * gas/testsuite/gas/sparc/asi-arch-error.l: Likewise
2278
c1556ecd
MR
22792017-02-23 Maciej W. Rozycki <macro@imgtec.com>
2280
2281 * testsuite/gas/mips/jalr4.d: New test.
2282 * testsuite/gas/mips/jalr4-n32.d: New test.
2283 * testsuite/gas/mips/jalr4-n64.d: New test.
2284 * testsuite/gas/mips/jalr4.s: New test source.
2285 * testsuite/gas/mips/mips.exp: Run the new tests.
2286
1e9d41d4
SL
22872017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
2288
2289 Add support for associating SPARC ASIs with an architecture level.
2290 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
2291
946416fc
JB
22922017-02-23 Jan Beulich <jbeulich@suse.com>
2293
2294 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
2295 of symbols as expression.
2296
22972017-02-23 Jan Beulich <jbeulich@suse.com>
4c5b8d1e
JB
2298
2299 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.d: Add 32- and 16-
2300 bit GPR forms of BNDCL, BNDCU, and BNDCN. Add RSP-as-index
2301 Intel syntax forms of BNDMK, BNDSTX, and BNDLDX.
2302 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust.
2303
5ff6a06c
MR
23042017-02-22 Maciej W. Rozycki <macro@imgtec.com>
2305
2306 * ecoff.c (ecoff_directive_end) [md_flush_pending_output]: Call
2307 `md_flush_pending_output'.
2308 * config/tc-mips.c (s_mips_end) [md_flush_pending_output]: Call
2309 `md_flush_pending_output' unconditionally.
2310 * testsuite/gas/mips/debug-label-end-1.d: New test.
2311 * testsuite/gas/mips/debug-label-end-2.d: New test.
2312 * testsuite/gas/mips/debug-label-end-3.d: New test.
2313 * testsuite/gas/mips/debug-label-end.s: New test source.
2314 * testsuite/gas/mips/mips.exp: Run the new tests.
2315
25890fc2
HPN
23162017-02-22 Hans-Peter Nilsson <hp@axis.com>
2317
2318 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
2319 targets yielding an error message matching "too complex".
2320
5ffbd927
NC
23212017-02-22 Nick Clifton <nickc@redhat.com>
2322
2323 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
2324
b0c53498
JB
23252017-02-21 Jan Beulich <jbeulich@suse.com>
2326
2327 * expr.c (operand): Handle missing operand to .startof.() and
2328 .sizeof.().
2329 * testsuite/gas/all/err-sizeof.s: New.
2330
ece5dcc1
AM
23312017-02-20 Alan Modra <amodra@gmail.com>
2332
2333 PR 21118
2334 * NEWS: Revise powerpc register check.
2335 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
2336 register expression" a warning.
2337
37f9ec62
MR
23382017-02-17 Maciej W. Rozycki <macro@imgtec.com>
2339
2340 * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
2341 * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
2342 * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
2343 * testsuite/gas/mips/aent-2.d: New test.
2344 * testsuite/gas/mips/aent-mdebug.d: New test.
2345 * testsuite/gas/mips/aent-mdebug-2.d: New test.
2346 * testsuite/gas/mips/mips.exp: Run the new tests.
2347
773fb663
RS
23482017-02-15 Richard Sandiford <richard.sandiford@arm.com>
2349
2350 * testsuite/gas/aarch64/sve-sysreg.s,
2351 testsuite/gas/aarch64/sve-sysreg.d,
2352 testsuite/gas/aarch64/sve-sysreg-invalid.d,
2353 testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
2354
7a2114e7
RS
23552017-02-15 Richard Sandiford <richard.sandiford@arm.com>
2356
2357 * doc/c-aarch64.texi: Fix sve entry.
2358
cc07cda6
CZ
23592017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
2360
2361 * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
2362 information from input expression.
2363 (assemble_insn): Make sure pcrel is correctly set.
2364 (arc_pcrel_adjust): Compensate for PCL rounding.
2365 * testsuite/gas/arc/relax-add01.d: New file.
2366 * testsuite/gas/arc/relax-add01.s: Likewise.
2367 * testsuite/gas/arc/relax-add02.d: Likewise.
2368 * testsuite/gas/arc/relax-add02.s: Likewise.
2369 * testsuite/gas/arc/relax-add03.d: Likewise.
2370 * testsuite/gas/arc/relax-add03.s: Likewise.
2371 * testsuite/gas/arc/relax-add04.d: Likewise.
2372 * testsuite/gas/arc/relax-add04.s: Likewise.
2373 * testsuite/gas/arc/relax-ld01.d: Likewise.
2374 * testsuite/gas/arc/relax-ld01.s: Likewise.
2375 * testsuite/gas/arc/relax-ld02.d: Likewise.
2376 * testsuite/gas/arc/relax-ld02.s: Likewise.
2377 * testsuite/gas/arc/relax-mov01.d: Likewise.
2378 * testsuite/gas/arc/relax-mov01.s: Likewise.
2379 * testsuite/gas/arc/relax-mov02.d: Likewise.
2380 * testsuite/gas/arc/relax-mov02.s: Likewise.
2381 * testsuite/gas/arc/relax-mpy01.d: Likewise.
2382 * testsuite/gas/arc/relax-mpy01.s: Likewise.
2383 * testsuite/gas/arc/relax-sub01.d: Likewise.
2384 * testsuite/gas/arc/relax-sub01.s: Likewise.
2385 * testsuite/gas/arc/relax-sub02.d: Likewise.
2386 * testsuite/gas/arc/relax-sub02.s: Likewise.
2387 * testsuite/gas/arc/relax-sub03.d: Likewise.
2388 * testsuite/gas/arc/relax-sub03.s: Likewise.
2389 * testsuite/gas/arc/relax-sub04.d: Likewise.
2390 * testsuite/gas/arc/relax-sub04.s: Likewise.
2391
66a5a740
VG
23922017-02-09 Vineet Gupta <vgupta@synopsys.com>
2393
2394 * testsuite/gas/arc/st.d: Update for 0xe having a name now
2395
7e0de605
AM
23962017-02-14 Alan Modra <amodra@gmail.com>
2397
2398 PR 21118
2399 * NEWS: Mention powerpc register checks.
2400 * config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
2401 (pre_defined_registers): Delete fpscr and pmr entries. Set
2402 register type in flags.
2403 (cr_names): Set type in flags.
2404 (reg_name_search): Return pointer to struct pd_reg rather than value.
2405 (register_name): Adjust to suit. Set X_md from flags.
2406 (ppc_parse_name): Likewise.
2407 (ppc_optimize_expr): New function.
2408 (md_assemble): Verify expresion reg flags match operand.
2409 * config/tc-ppc.h (md_optimize_expr): Define.
2410 (ppc_optimize_expr): Declare.
2411
606a935e
AM
24122017-02-14 Alan Modra <amodra@gmail.com>
2413
2414 * testsuite/gas/ppc/cell.s: Correct invalid registers.
2415 * testsuite/gas/ppc/vle-simple-1.s: Likewise.
2416 * testsuite/gas/ppc/vle-simple-2.s: Likewise.
2417
3c6452ae
TP
24182017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2419
2420 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
2421 syntax.
2422 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
2423 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
2424
dce75bf9
NP
24252017-02-10 Nicholas Piggin <npiggin@gmail.com>
2426
2427 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
2428
73201331
MR
24292017-02-02 Maciej W. Rozycki <macro@imgtec.com>
2430
2431 * doc/as.texinfo (Overview): Select MIPS options for man page
2432 inclusion.
2433
8b10b0b3
MR
24342017-01-30 Maciej W. Rozycki <macro@imgtec.com>
2435
2436 * config/tc-mips.c (mips_ignore_branch_isa): New variable.
2437 (options): Add OPTION_IGNORE_BRANCH_ISA and
2438 OPTION_NO_IGNORE_BRANCH_ISA enum values.
2439 (md_longopts): Add "mignore-branch-isa" and
2440 "mno-ignore-branch-isa" options.
2441 (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
2442 OPTION_NO_IGNORE_BRANCH_ISA.
2443 (fix_bad_cross_mode_branch_p): Return FALSE if
2444 `mips_ignore_branch_isa' has been set.
2445 (md_show_usage): Add `-mignore-branch-isa' and
2446 `-mno-ignore-branch-isa'.
2447
2448 * doc/as.texinfo (Target MIPS options): Add
2449 `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
2450 (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
2451 * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
2452 `-mno-ignore-branch-isa' options.
2453
2454 * testsuite/gas/mips/branch-local-ignore-2.d: New test.
2455 * testsuite/gas/mips/branch-local-ignore-3.d: New test.
2456 * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
2457 * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
2458 * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
2459 * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
2460 * testsuite/gas/mips/mips.exp: Run the new tests.
2461
7795a8f8
MR
24622017-01-30 Maciej W. Rozycki <macro@imgtec.com>
2463
2464 * testsuite/gas/mips/branch-local-2.d: New test.
2465 * testsuite/gas/mips/branch-local-3.d: New test.
2466 * testsuite/gas/mips/branch-local-n32-2.d: New test.
2467 * testsuite/gas/mips/branch-local-n32-3.d: New test.
2468 * testsuite/gas/mips/branch-local-n64-2.d: New test.
2469 * testsuite/gas/mips/branch-local-n64-3.d: New test.
2470 * testsuite/gas/mips/mips.exp: Fold corresponding list tests
2471 into the new tests.
2472
8ec5cf65
AD
24732017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
2474
2475 PR 21056
2476 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
2477 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
2478
de514cf3
SH
24792017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
2480
2481 * configure.tgt (aarch64*-*-rtems*): Remove.
2482 (bfin-*-rtems*): Likewise.
2483 (h8300-*-rtems*): Likewise.
2484 (i386-*-rtems*): Likewise.
2485 (m32c-*-rtems*): Likewise.
2486 (m32r-*-rtems*): Likewise.
2487 (m68k-*-rtems*): Likewise.
2488 (mips-*-rtems*): Likewise.
2489 (nios2-*-rtems*): Likewise.
2490 (ppc-*-rtems*): Likewise.
2491 (sh-*-rtems*): Likewise.
2492 (sparc64-*-rtems*): Likewise.
2493 (sparc-*-rtems*): Likewise.
2494 (*-*-rtems*) Use ELF format.
2495
3e97ba8a
SH
24962017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
2497
2498 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
2499
850d84f6
SH
25002017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
2501
2502 * configure.tgt (sh-*-rtemscoff*): Remove.
2503
666c6aff
SH
25042017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
2505
2506 * configure.tgt (riscv*-*-*): Remove em=linux.
2507
33eaf5de
NC
25082017-01-23 Sebastian Rasmussen <sebras@gmail.com>
2509
2510 PR gas/21072
2511 * asintl.h: Fix spelling mistakes and typos.
2512 * atof-generic.c: Likewise.
2513 * bit_fix.h: Likewise.
2514 * config/atof-ieee.c: Likewise.
2515 * config/bfin-defs.h: Likewise.
2516 * config/bfin-parse.y: Likewise.
2517 * config/obj-coff-seh.h: Likewise.
2518 * config/obj-coff.c: Likewise.
2519 * config/obj-evax.c: Likewise.
2520 * config/obj-macho.c: Likewise.
2521 * config/rx-parse.y: Likewise.
2522 * config/tc-aarch64.c: Likewise.
2523 * config/tc-alpha.c: Likewise.
2524 * config/tc-arc.c: Likewise.
2525 * config/tc-arm.c: Likewise.
2526 * config/tc-avr.c: Likewise.
2527 * config/tc-bfin.c: Likewise.
2528 * config/tc-cr16.c: Likewise.
2529 * config/tc-cris.c: Likewise.
2530 * config/tc-crx.c: Likewise.
2531 * config/tc-d10v.c: Likewise.
2532 * config/tc-d30v.c: Likewise.
2533 * config/tc-dlx.c: Likewise.
2534 * config/tc-epiphany.c: Likewise.
2535 * config/tc-frv.c: Likewise.
2536 * config/tc-hppa.c: Likewise.
2537 * config/tc-i370.c: Likewise.
2538 * config/tc-i386-intel.c: Likewise.
2539 * config/tc-i386.c: Likewise.
2540 * config/tc-i960.c: Likewise.
2541 * config/tc-ia64.c: Likewise.
2542 * config/tc-m32r.c: Likewise.
2543 * config/tc-m68hc11.c: Likewise.
2544 * config/tc-m68k.c: Likewise.
2545 * config/tc-mcore.c: Likewise.
2546 * config/tc-mep.c: Likewise.
2547 * config/tc-mep.h: Likewise.
2548 * config/tc-metag.c: Likewise.
2549 * config/tc-microblaze.c: Likewise.
2550 * config/tc-mips.c: Likewise.
2551 * config/tc-mmix.c: Likewise.
2552 * config/tc-mn10200.c: Likewise.
2553 * config/tc-mn10300.c: Likewise.
2554 * config/tc-msp430.c: Likewise.
2555 * config/tc-msp430.h: Likewise.
2556 * config/tc-nds32.c: Likewise.
2557 * config/tc-nds32.h: Likewise.
2558 * config/tc-nios2.c: Likewise.
2559 * config/tc-nios2.h: Likewise.
2560 * config/tc-ns32k.c: Likewise.
2561 * config/tc-pdp11.c: Likewise.
2562 * config/tc-ppc.c: Likewise.
2563 * config/tc-pru.c: Likewise.
2564 * config/tc-rx.c: Likewise.
2565 * config/tc-s390.c: Likewise.
2566 * config/tc-score.c: Likewise.
2567 * config/tc-score7.c: Likewise.
2568 * config/tc-sh.c: Likewise.
2569 * config/tc-sh64.c: Likewise.
2570 * config/tc-sparc.c: Likewise.
2571 * config/tc-tic4x.c: Likewise.
2572 * config/tc-tic54x.c: Likewise.
2573 * config/tc-v850.c: Likewise.
2574 * config/tc-vax.c: Likewise.
2575 * config/tc-visium.c: Likewise.
2576 * config/tc-xgate.c: Likewise.
2577 * config/tc-xtensa.c: Likewise.
2578 * config/tc-z80.c: Likewise.
2579 * config/tc-z8k.c: Likewise.
2580 * config/te-vms.c: Likewise.
2581 * config/xtensa-relax.c: Likewise.
2582 * doc/as.texinfo: Likewise.
2583 * doc/c-arm.texi: Likewise.
2584 * doc/c-hppa.texi: Likewise.
2585 * doc/c-i370.texi: Likewise.
2586 * doc/c-i386.texi: Likewise.
2587 * doc/c-m32r.texi: Likewise.
2588 * doc/c-m68k.texi: Likewise.
2589 * doc/c-mmix.texi: Likewise.
2590 * doc/c-msp430.texi: Likewise.
2591 * doc/c-nds32.texi: Likewise.
2592 * doc/c-ns32k.texi: Likewise.
2593 * doc/c-riscv.texi: Likewise.
2594 * doc/c-rx.texi: Likewise.
2595 * doc/c-s390.texi: Likewise.
2596 * doc/c-tic6x.texi: Likewise.
2597 * doc/c-tilegx.texi: Likewise.
2598 * doc/c-tilepro.texi: Likewise.
2599 * doc/c-v850.texi: Likewise.
2600 * doc/c-xgate.texi: Likewise.
2601 * doc/c-xtensa.texi: Likewise.
2602 * dwarf2dbg.c: Likewise.
2603 * ecoff.c: Likewise.
2604 * itbl-ops.c: Likewise.
2605 * listing.c: Likewise.
2606 * macro.c: Likewise.
2607 * po/gas.pot: Likewise.
2608 * read.c: Likewise.
2609 * struc-symbol.h: Likewise.
2610 * symbols.h: Likewise.
2611 * testsuite/gas/arc/relocs-errors.err: Likewise.
2612 * write.c: Likewise.
2613
8069955e
NC
26142017-01-23 Nick Clifton <nickc@redhat.com>
2615
2616 * po/sv.po: Updated Swedish translation.
2617
9d46ce34
NC
26182017-01-20 Nick Clifton <nickc@redhat.com>
2619
2620 * config/tc-i386.c (parse_operands): Check for operand overflow
2621 before setting the unspecified bit.
2622
9e009953
MR
26232017-01-18 Maciej W. Rozycki <macro@imgtec.com>
2624
2625 PR gas/20649
2626 * config/tc-mips.c (pic_need_relax): Don't check for linkonce
2627 symbols, remove the `segtype' parameter.
2628 (mips_frob_file, md_estimate_size_before_relax): Adjust
2629 accordingly.
2630 (s_is_linkonce): Add an explanatory comment.
2631 * testsuite/gas/mips/comdat-reloc.d: New test.
2632 * testsuite/gas/mips/comdat-reloc.s: New test source.
2633 * testsuite/gas/mips/mips.exp: Run the new test.
2634
c13a63b0
SN
26352017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
2636
2637 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
2638 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
2639
2cedb9eb
BR
26402017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
2641
2642 PR 21059
2643 * config/bfin-lex.l: Support processing with flex 2.6.3.
2644 * itbl-lex.l: Likewise.
2645
1ec4b9f2
NS
26462017-01-18 Nathan Sidwell <nathan@acm.org>
2647
2648 * as.h (gas_assert): Use abort.
2649 (as_assert): Remove.
2650 (signal_init): Declare.
2651 * as.c (main): Call signal_init.
2652 * messages.c: #include <signal.h>
2653 (as_assert): Delete.
2654 (as_abort): Allow NULL FILE.
2655 (signal_crash): New.
2656 (signal_init): Register fatal signal handlers.
2657 * configure.ac: Check for strsignal.
2658 * config.in: Rebuilt.
2659 * configure: Rebuilt.
2660
01fabda4 26612017-01-17 Nick Clifton <nickc@redhat.com>
6aa1df2d
NC
2662
2663 * po/sv.po: Updated Swedish translation.
2664
620214f7
IT
26652017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2666
2667 * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
2668 (cpu_noarch): Add noavx512_vpopcntdq.
2669 * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
2670 * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
2671 * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
2672 * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
2673 * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
2674 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
2675 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
2676 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
2677
1181551e
NC
26782017-01-12 Nick Clifton <nickc@redhat.com>
2679
2680 * read.c (temp_ilp): New function. Installs a temporary input
2681 line pointer.
2682 (restore_ilp): New function. Restores the original input line
2683 pointer.
2684 * read.h (temp_ilp): Prototype.
2685 (restore_ilp): Prototype.
2686 * stabs.c (dot_func_p): Use bfd_boolean type.
2687 (generate_asm_file): Use temp_ilp and restore_ilp.
2688 (stabs_generate_asm_lineno): Likewise.
2689 (stabs_generate_asm_endfunc): Likewise.
2690
f2e2d2f5
JS
26912017-01-11 Jeremy Soller <jackpot51@gmail.com>
2692
2693 * configure.tgt: Add entry for i386-redox.
2694
07e8e623
NC
26952017-01-10 Nick Clifton <nickc@redhat.com>
2696
2697 * po/sv.po: Updated Swedish translation.
2698
1a94eb29
TG
26992017-01-10 Tristan Gingold <gingold@adacore.com>
2700
2701 * testsuite/gas/all/sleb128-8.d: Adjust test.
2702 * testsuite/gas/all/gas.exp (test_cond): Likewise.
2703
74def31d
TG
27042017-01-10 Tristan Gingold <gingold@adacore.com>
2705
2706 * read.c (emit_leb128_expr): Extended unsigned big number for
2707 sleb128.
2708 * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
2709 * testsuite/gas/all/sleb128.d: New test.
2710 * testsuite/gas/all/sleb128.s: New test source.
2711
a5ec5e3f
AW
27122017-01-09 Andrew Waterman <andrew@sifive.com>
2713
2714 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
2715 against constants.
2716 (md_apply_fix): Mark relocations against constants as "done."
2717
e294484e
AW
27182017-01-09 Andrew Waterman <andrew@sifive.com>
2719
2720 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
2721 against constants.
2722 (md_apply_fix): Mark relocations against constants as "done."
2723
6ec11ab9
PD
27242017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
2725 Kito Cheng <kito.cheng@gmail.com>
2726
2727 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
2728 Removed.
2729 (SDATA_START_SYMBOLS): Likewise.
2730
20b52c88
NC
27312017-01-09 Nick Clifton <nickc@redhat.com>
2732
2733 * po/sv.po: New Swedish translation.
2734 * configure.ac (ALL_LINGUAS): Add sv.
2735 * configure: Regenerate.
2736
01156111
AW
27372017-01-09 Andrew Waterman <andrew@sifive.com>
2738
2739 * config/tc-riscv.c (relaxed_branch_length): Use the long
2740 sequence when the target is a weak symbol.
2741
d74d4880
SN
27422017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2743
2744 * config/tc-aarch64.c (aarch64_features): Add rcpc.
2745 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
2746 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
2747 * testsuite/gas/aarch64/ldst-rcpc.d: This.
2748 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
2749 * testsuite/gas/aarch64/ldst-rcpc.s: This.
2750 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
2751
10ab38d9
NJ
27522017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
2753
2754 PR gas/20992
2755 * configure.tgt: Treat sparcv9 as sparc64.
2756
cc917fd9
KC
27572017-01-03 Kito Cheng <kito.cheng@gmail.com>
2758
2759 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
2760 extension.
2761 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
2762 enabled and no other ABI is specified.
2763
ddb2c6fd
DD
27642017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
2765
2766 * config/tc-pru.c (md_number_to_chars): Fix parameter to be
2767 valueT, as declared in tc.h.
2768 (md_apply_fix): Fix to work on 32-bit hosts.
2769
2571583a
AM
27702017-01-02 Alan Modra <amodra@gmail.com>
2771
2772 Update year range in copyright notice of all files.
2773
5c1ad6b5 2774For older changes see ChangeLog-2016
3499769a 2775\f
5c1ad6b5 2776Copyright (C) 2017 Free Software Foundation, Inc.
3499769a
AM
2777
2778Copying and distribution of this file, with or without modification,
2779are permitted in any medium without royalty provided the copyright
2780notice and this notice are preserved.
2781
2782Local Variables:
2783mode: change-log
2784left-margin: 8
2785fill-column: 74
2786version-control: never
2787End:
This page took 0.223656 seconds and 4 git commands to generate.