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