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