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