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