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