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