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