MIPS: Fix XPA base and Virtualization ASE instruction handling
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
9785fc2a
MR
12017-06-30 Maciej W. Rozycki <macro@imgtec.com>
2 Andrew Bennett <andrew.bennett@imgtec.com>
3
4 * config/tc-mips.c (mips_set_ase): Handle the ASE_XPA_VIRT flag.
5 * testsuite/gas/mips/xpa.d: Remove `xpa' from `-M' in `objdump'
6 flags. Add `-mvirt' to `as' flags.
7 * testsuite/gas/mips/xpa-err.d: New test.
8 * testsuite/gas/mips/xpa-virt-err.d: New test.
9 * testsuite/gas/mips/xpa-err.l: New stderr output.
10 * testsuite/gas/mips/xpa-virt-err.l: New stderr output.
11 * testsuite/gas/mips/xpa-err.s: New test source.
12 * testsuite/gas/mips/xpa-virt-err.s: New test source.
13 * testsuite/gas/mips/mips.exp: Run the new tests.
14
60804c53
MR
152017-06-29 Maciej W. Rozycki <macro@imgtec.com>
16
17 * testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: Adjust for the
18 ASE_MIPS16E2_MT flag disassembler fix.
19 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e2-mt-sub.d:
20 Likewise.
21
92cebb3d
MR
222017-06-29 Maciej W. Rozycki <macro@imgtec.com>
23
24 * config/tc-mips.c (mips_set_ase): Clear the ASE_MIPS16E2_MT
25 flag before recalculating.
26 * testsuite/gas/mips/mips16e2-mt-err.d: New test.
27 * testsuite/gas/mips/mips16e2-mt-err.l: New stderr output.
28 * testsuite/gas/mips/mips16e2-mt-err.s: New test source.
29 * testsuite/gas/mips/mips.exp: Run the new test.
30
65a55fbb
TC
312017-06-28 Tamar Christina <tamar.christina@arm.com>
32
33 * config/tc-aarch64.c (aarch64_reg_parse_32_64): Accept 4B.
34 (aarch64_features): Added dotprod.
35 * doc/c-aarch64.texi: Added dotprod.
36 * testsuite/gas/aarch64/dotproduct.d: New.
37 * testsuite/gas/aarch64/dotproduct.s: New.
38
c604a79a
JW
392017-06-28 Jiong Wang <jiong.wang@arm.com>
40
41 * config/tc-arm.c (fpu_neon_ext_dotprod): New variable.
42 (neon_scalar_for_mul): Improve comments.
43 (do_neon_dotproduct): New function to encode Dot Product instructions.
44 (do_neon_dotproduct_s): Wrapper function for signed Dot Product
45 instructions.
46 (do_neon_dotproduct_u): Wrapper function for unsigned Dot Product
47 instructions.
48 (insns): New entries for vsdot and vudot.
49 (arm_extensions): New entry for "dotprod".
50 * doc/c-arm.texi: Document new "dotprod" extension.
51 * testsuite/gas/arm/dotprod.s: New test source.
52 * testsuite/gas/arm/dotprod-illegal.s: New test source.
53 * testsuite/gas/arm/dotprod.d: New test.
54 * testsuite/gas/arm/dotprod-thumb2.d: New test.
55 * testsuite/gas/arm/dotprod-illegal.d: New test.
56 * testsuite/gas/arm/dotprod-legacy-arch.d: New test.
57 * testsuite/gas/arm/dotprod-illegal.l: New error file.
58 * testsuite/gas/arm/dotprod-legacy-arch.l: New error file.
59
819e1f86
MR
602017-06-28 Maciej W. Rozycki <macro@imgtec.com>
61
62 * testsuite/gas/mips/elf_mach_interaptiv-mr2.d: New test.
63 * testsuite/gas/mips/save-err.d: New test.
64 * testsuite/gas/mips/save-sub.d: New test.
65 * testsuite/gas/mips/interaptiv-mr2@save.d: New test.
66 * testsuite/gas/mips/mips1@save-sub.d: New test.
67 * testsuite/gas/mips/mips2@save-sub.d: New test.
68 * testsuite/gas/mips/mips3@save-sub.d: New test.
69 * testsuite/gas/mips/mips4@save-sub.d: New test.
70 * testsuite/gas/mips/mips5@save-sub.d: New test.
71 * testsuite/gas/mips/mips32@save-sub.d: New test.
72 * testsuite/gas/mips/mips64@save-sub.d: New test.
73 * testsuite/gas/mips/mips16@save-sub.d: New test.
74 * testsuite/gas/mips/mips16e@save-sub.d: New test.
75 * testsuite/gas/mips/r3000@save-sub.d: New test.
76 * testsuite/gas/mips/r3900@save-sub.d: New test.
77 * testsuite/gas/mips/r4000@save-sub.d: New test.
78 * testsuite/gas/mips/vr5400@save-sub.d: New test.
79 * testsuite/gas/mips/interaptiv-mr2@save-sub.d: New test.
80 * testsuite/gas/mips/sb1@save-sub.d: New test.
81 * testsuite/gas/mips/octeon2@save-sub.d: New test.
82 * testsuite/gas/mips/octeon3@save-sub.d: New test.
83 * testsuite/gas/mips/xlr@save-sub.d: New test.
84 * testsuite/gas/mips/r5900@save-sub.d: New test.
85 * testsuite/gas/mips/mips16e2-copy.d: New test.
86 * testsuite/gas/mips/mips16e2-copy-err.d: New test.
87 * testsuite/gas/mips/save.d: Remove `MIPS16e' from the `name'
88 option. Adjust for trailing padding change.
89 * testsuite/gas/mips/mips16e2-copy-err.l: New stderr output.
90 * testsuite/gas/mips/save-sub.s: New test source.
91 * testsuite/gas/mips/mips16e2-copy.s: New test source.
92 * testsuite/gas/mips/mips16e2-copy-err.s: New test source.
93 * testsuite/gas/mips/save.s: Update description, change trailing
94 padding and remove trailing white space.
95 * testsuite/gas/mips/mips.exp: Expand `save' and `save-err'
96 tests across the regular MIPS interAptiv MR2 architecture. Run
97 the new tests.
98
c7d289d1
MR
992017-06-28 Maciej W. Rozycki <macro@imgtec.com>
100
101 * testsuite/gas/mips/mips.exp (interaptiv-mr2): New architecture.
102 (mips16e2-interaptiv-mr2): Likewise.
103 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro.d: New
104 test.
105 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-t.d:
106 New test.
107 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-e.d:
108 New test.
109 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-t.d:
110 New test.
111 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-e.d:
112 New test.
113 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64.d: New
114 test.
115 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-sub.d: New
116 test.
117 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-sub.d: New
118 test.
119 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64-sub.d:
120 New test.
121 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e2-mt-sub.d:
122 New test.
123 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-asmacro.d:
124 New test.
125 * testsuite/gas/mips/interaptiv-mr2@mcu.d: New test.
126 * testsuite/gas/mips/interaptiv-mr2@isa-override-1.d: New test.
127 * testsuite/gas/mips/interaptiv-mr2@isa-override-2.d: New test.
128 * testsuite/gas/mips/attr-gnu-4-5.d: Ignore any number of ASE
129 flag lines present rather than just one.
130 * testsuite/gas/mips/attr-gnu-4-6.d: Likewise.
131 * testsuite/gas/mips/attr-gnu-4-7.d: Likewise.
132 * testsuite/gas/mips/attr-none-o32-fp64-nooddspreg.d: Likewise.
133 * testsuite/gas/mips/attr-none-o32-fp64.d: Likewise.
134 * testsuite/gas/mips/attr-none-o32-fpxx.d: Likewise.
135 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro.l: New
136 stderr output.
137 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-t.l:
138 New stderr output.
139 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-e.l:
140 New stderr output.
141 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-t.l:
142 New stderr output.
143 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-e.l:
144 New stderr output.
145 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-sub.l: New
146 stderr output.
147 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-sub.l: New
148 stderr output.
149 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64-sub.l:
150 New stderr output.
151 * testsuite/gas/mips/interaptiv-mr2@isa-override-1.l: New stderr
152 output.
153 * testsuite/gas/mips/interaptiv-mr2@isa-override-2.l: New stderr
154 output.
155
38bf472a
MR
1562017-06-28 Maciej W. Rozycki <macro@imgtec.com>
157 Matthew Fortune <matthew.fortune@imgtec.com>
158
159 * config/tc-mips.c (validate_mips_insn): Handle
160 OP_SAVE_RESTORE_LIST specially.
161 (mips_encode_save_restore, mips16_encode_save_restore): New
162 functions.
163 (match_save_restore_list_operand): Factor out SAVE/RESTORE
164 operand insertion into the instruction word or halfword to these
165 new functions.
166 (mips_cpu_info_table): Add "interaptiv-mr2" entry.
167
168 * doc/c-mips.texi (MIPS Options): Add `interaptiv-mr2' to the
169 `-march=' argument list.
170
79cb3f75
MR
1712017-06-27 Maciej W. Rozycki <macro@imgtec.com>
172
173 * testsuite/gas/mips/mips16e-save.d: Rename to...
174 * testsuite/gas/mips/save.d: ... this.
175 * testsuite/gas/mips/mips16e-save-err.d: Update the
176 `error-output' option and rename to...
177 * testsuite/gas/mips/save-err.d: ... this.
178 * testsuite/gas/mips/mips16e-save-err.l: Rename to...
179 * testsuite/gas/mips/save-err.l: ... this.
180 * testsuite/gas/mips/mips16e-save.s: Rename to...
181 * testsuite/gas/mips/save.s: ... this.
182 * testsuite/gas/mips/mips16e-save-err.s: Rename to...
183 * testsuite/gas/mips/save-err.s: ... this.
184 * testsuite/gas/mips/mips.exp: Rename `mips16e-save' and
185 `mips16e-save-err' invocations to `save' and `save-err'
186 respectively and reorder these tests away from MIPS16 tests.
187
b0bd097e
MR
1882017-06-27 Maciej W. Rozycki <macro@imgtec.com>
189
190 * testsuite/gas/mips/mips16e-save.d: Remove `-mmips:isa32
191 -mmips:16' from `objdump' flags and `-march=mips32 -mips16' from
192 `as' flags.
193 * testsuite/gas/mips/mips16e-save-err.d: Remove `-march=mips32'
194 from `as' flags.
195 * testsuite/gas/mips/mips16e-save.s: Remove the `.set mips16'
196 pseudo-op.
197 * testsuite/gas/mips/mips16e-save-err.s: Likewise.
198 * testsuite/gas/mips/mips.exp: Run SAVE/RESTORE tests across all
199 MIPS16e architectures.
200
2438385a
MR
2012017-06-27 Maciej W. Rozycki <macro@imgtec.com>
202
203 * testsuite/gas/mips/mips16e-save-err.d: New test.
204 * gas/testsuite/gas/mips/mips.exp: Fold `mips16e-save-err' list
205 test into the new test.
206
daba08c9
MR
2072017-06-27 Maciej W. Rozycki <macro@imgtec.com>
208
209 * testsuite/gas/mips/mips16e-save.d: Capitalize the `name'
210 option.
211
a6cbf936
KLC
2122017-06-26 Kuan-Lin Chen <rufus@andestech.com>
213
214 * config/tc-riscv.c (md_apply_fix) [BFD_RELOC_32]: Convert to a
215 R_RISCV_32_PCREL relocation.
216
a3aea05a
L
2172017-06-26 H.J. Lu <hongjiu.lu@intel.com>
218
219 PR gas/21661
220 * config/obj-elf.c (obj_elf_symver): Don't allow .symver with
221 common symbol.
222 (elf_frob_symbol): Likewise.
223 * testsuite/gas/elf/elf.exp: Run pr21661.
224 * testsuite/gas/elf/pr21661.d: New file.
225 * testsuite/gas/elf/pr21661.s: Likewise.
226
49fa50ef
NC
2272017-06-26 Nick Clifton <nickc@redhat.com>
228
229 * config/tc-arm.c (fpu_any): Only define for ELF based targets.
230
cf9bdae9 2312017-06-26 Claudiu Zissulescu <claziss@synopsys.com>
232
233 * /config/tc-arc.c (is_br_jmp_insn_p): Update macro with known
234 instructions to be accounted as jumps.
235 (assemble_insn): Check for limms into the delay slots. Emit an
236 error if so.
237 * testsuite/gas/arc/asm-errors-3.d: New file.
238 * testsuite/gas/arc/asm-errors-3.err: Likewise.
239 * testsuite/gas/arc/asm-errors-3.s: Likewise.
240
0cda1e19
TP
2412017-06-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
242
243 * NEWS: Mention support of ARM Cortex-R52 processor.
244 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-R52 processor.
245 * doc/c-arm.texi: Mention support for -mcpu=cortex-r52.
246
ced40572
TP
2472017-06-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
248
249 * NEWS: Mention support for ARMv8-R architecture.
250 * config/tc-arm.c (arm_archs): Add entry for ARMv8-R.
251 (arm_extensions): Restrict pan, ras and rdma extension to
252 ARMv8-A and make crypto, fp and simd extensions available to
253 ARMv8-R.
254 (cpu_arch_ver): Add entry for ARMv8-R.
255 (aeabi_set_public_attributes): Update gas_assert for Tag_DIV_use
256 logic.
257 * testsuite/gas/arm/armv8-a+fp.s: Rename into ...
258 * testsuite/gas/arm/armv8-ar+fp.s: This. Remove .arch directive.
259 * testsuite/gas/arm/armv8-a+fp.d: Specify source to assemble and
260 architecture to assemble for.
261 * testsuite/gas/arm/armv8-r+fp.d: New.
262 * testsuite/gas/arm/armv8-a+simd.s: Rename into ...
263 * testsuite/gas/arm/armv8-ar+simd.s: This. Remove .arch directive.
264 * testsuite/gas/arm/armv8-a+simd.d: Specify source to assemble and
265 architecture to assemble for.
266 * testsuite/gas/arm/armv8-r+simd.d: New.
267 * testsuite/gas/arm/armv8-a-bad.s: Rename into ...
268 * testsuite/gas/arm/armv8-ar-bad.s: This. Remove .arch directive.
269 * testsuite/gas/arm/armv8-a-bad.l: Rename into ...
270 * testsuite/gas/arm/armv8-ar-bad.l: This. Decrement line number by 1.
271 * testsuite/gas/arm/armv8-a-bad.d: Specify source to assemble,
272 architecture to assemble for and adjust error output file.
273 * testsuite/gas/arm/armv8-r-bad.d: New.
274 * testsuite/gas/arm/armv8-a-barrier.s: Rename into ...
275 * testsuite/gas/arm/armv8-ar-barrier.s: This.
276 * testsuite/gas/arm/armv8-a-barrier-arm.d: Adjust source.
277 * testsuite/gas/arm/armv8-a-barrier-thumb.d: Likewise.
278 * testsuite/gas/arm/armv8-r-barrier-arm.d: New.
279 * testsuite/gas/arm/armv8-r-barrier-thumb.d: New.
280 * testsuite/gas/arm/armv8-a-it-bad.s: Rename into ...
281 * testsuite/gas/arm/armv8-ar-it-bad.s: This. Remove .arch directive.
282 * testsuite/gas/arm/armv8-a-it-bad.l: Rename into ...
283 * testsuite/gas/arm/armv8-ar-it-bad.l: This. Decrement line number
284 by 1.
285 * testsuite/gas/arm/armv8-a-it-bad.d: Specify source to assemble,
286 architecture to assemble for and adjust error output file.
287 * testsuite/gas/arm/armv8-r-it-bad.d: New.
288 * testsuite/gas/arm/armv8-a.s: Rename into ...
289 * testsuite/gas/arm/armv8-ar.s: This. Remove .arch directive.
290 * testsuite/gas/arm/armv8-a.d: Specify source to assemble and
291 architecture to assemble for.
292 * testsuite/gas/arm/armv8-r.d: New.
293 * testsuite/gas/arm/attr-march-armv8-r+crypto.d: New.
294 * testsuite/gas/arm/attr-march-armv8-r+fp.d: New.
295 * testsuite/gas/arm/attr-march-armv8-r+simd.d: New.
296 * testsuite/gas/arm/attr-march-armv8-r.d: New.
297 * testsuite/gas/arm/crc32.s: Rename into ...
298 * testsuite/gas/arm/crc32-armv8-ar.s: This.
299 * testsuite/gas/arm/crc32.d: Rename into ...
300 * testsuite/gas/arm/crc32-armv8-a.d: This. Specify source to assemble.
301 * testsuite/gas/arm/crc32-armv8-r.d: New.
302 * testsuite/gas/arm/crc32-bad.s: Rename into ...
303 * testsuite/gas/arm/crc32-armv8-ar-bad.s: This.
304 * testsuite/gas/arm/crc32-bad.d: Rename into ...
305 * testsuite/gas/arm/crc32-armv8-a-bad.d: This. Specify source to
306 assemble.
307 * testsuite/gas/arm/crc32-armv8-r-bad.d: New.
308 * testsuite/gas/arm/mask_1.s: Rename into ...
309 * testsuite/gas/arm/mask_1-armv8-ar.s: This.
310 * testsuite/gas/arm/mask_1.d: Rename into ...
311 * testsuite/gas/arm/mask_1-armv8-a.d: This. Specify source to
312 assemble.
313 * testsuite/gas/arm/mask_1-armv8-r.d: new.
314
173205ca
TP
3152017-06-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
316
317 * config/tc-arm.c (arm_ext_v6m): Delete.
318 (arm_ext_v7m): Delete.
319 (arm_ext_m): Remove ARM_EXT_OS from the set of feature defined M
320 profile.
321 (arm_arch_v6m_only): Delete.
322 (do_t_swi): Remove special case for ARMv6S-M.
323 (md_assemble): Display error message previously in do_t_swi when
324 SVC is not available.
325 (insns): Guard swi and svc by arm_ext_os for Thumb mode.
326 (aeabi_set_public_attributes): Remove special case for ARMv6S-M.
327
94f78a77
AW
3282017-05-11 Andrew Waterman <andrew@sifive.com>
329
330 * config/tc-riscv.c (riscv_ip): Changes as_warn to as_bad for improper
331 shift amounts.
332
e7d39ed3
NC
3332017-06-22 Nick Clifton <nickc@redhat.com>
334
335 * config/tc-arm.c (arm_ext_v7m): Add ATTRIBUTE_UNUSED.
336
2c6b98ea
TP
3372017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
338
339 * config/tc-arm.c (fpu_any): Defined from FPU_ANY.
340 (cpu_arch_ver): Add all architectures and sort by release date.
341 (have_ext_for_needed_feat_p): New.
342 (get_aeabi_cpu_arch_from_fset): New.
343 (aeabi_set_public_attributes): Call above function to determine
344 Tag_CPU_arch and Tag_CPU_arch_profile values. Adapt Tag_ARM_ISA_use
345 and Tag_THUMB_ISA_use selection logic to check absence of feature bit
346 accordingly.
347 * testsuite/gas/arm/attr-march-armv1.d: Fix expected Tag_CPU_arch build
348 attribute value.
349 * testsuite/gas/arm/attr-march-armv2.d: Likewise.
350 * testsuite/gas/arm/attr-march-armv2a.d: Likewise.
351 * testsuite/gas/arm/attr-march-armv2s.d: Likewise.
352 * testsuite/gas/arm/attr-march-armv3.d: Likewise.
353 * testsuite/gas/arm/attr-march-armv3m.d: Likewise.
354 * testsuite/gas/arm/pr12198-2.d: Likewise.
355
2234eee6
L
3562017-06-21 H.J. Lu <hongjiu.lu@intel.com>
357
358 * testsuite/gas/i386/cet-intel.d: Updated.
359 * testsuite/gas/i386/cet.d: Likewise.
360 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
361 * testsuite/gas/i386/x86-64-cet.d: Likewise.
362 * testsuite/gas/i386/cet.s: Update incsspd and setssbsy tests.
363 * testsuite/gas/i386/x86-64-cet.s: Likewise.
364
c2f76402
L
3652017-06-21 H.J. Lu <hongjiu.lu@intel.com>
366
367 * testsuite/gas/i386/cet-intel.d: Updated.
368 * testsuite/gas/i386/cet.d: Likewise.
369 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
370 * testsuite/gas/i386/x86-64-cet.d: Likewise.
371 * testsuite/gas/i386/cet.s: Replace savessp with saveprevssp.
372 * testsuite/gas/i386/x86-64-cet.s: Likewise.
373
9fef80d6
L
3742017-06-21 H.J. Lu <hongjiu.lu@intel.com>
375
376 * config/tc-i386.c (md_assemble): Update NOTRACK prefix check.
377 * testsuite/gas/i386/notrack-intel.d: Updated.
378 * testsuite/gas/i386/notrack.d: Likewise.
379 * testsuite/gas/i386/notrackbad.l: Likewise.
380 * testsuite/gas/i386/x86-64-notrack-intel.d: Likewise.
381 * testsuite/gas/i386/x86-64-notrack.d: Likewise.
382 * testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
383 * testsuite/gas/i386/notrack.s: Add NOTRACK prefix tests with
384 memory indirect branch.
385 * testsuite/gas/i386/x86-64-notrack.s: Likewise.
386 * testsuite/gas/i386/notrackbad.s: Remove memory indirect branch
387 with NOTRACK prefix.
388 * testsuite/gas/i386/x86-64-notrackbad.s: Likewise.
389
3d030cdb
TP
3902017-06-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
391
392 * config/tc-arm.c (arm_extensions): New duplicate idiv entry to enable
393 Thumb division for ARMv7 architecture.
394 (arm_parse_extension): Document expected behavior for duplicate
395 entries.
396 (s_arm_arch_extension): Likewise.
397 * testsuite/gas/arm/forbid-armv7-idiv-ext.d: New test.
398 * testsuite/gas/arm/forbid-armv7-idiv-ext.l: New expected output for
399 above test.
400
54bab281
TP
4012017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
402
403 * config/tc-arm.c (aeabi_set_public_attributes): Populate flags from
404 feature bits used or selected_cpu depending on whether a CPU was
405 selected by the user.
406
6c290d53
TP
4072017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
408
409 * config/tc-arm.c (aeabi_set_public_attributes): Test *mcpu_ext_opt to
410 decide whether to set Tag_DSP_extension build attribute value. Remove
411 now useless arm_arch variable.
412
c168ce07
TP
4132017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
414
415 * config/tc-arm.c (dyn_mcpu_ext_opt): New static variable.
416 (dyn_march_ext_opt): Likewise.
417 (md_begin): Copy extension feature bits alongside architecture ones.
418 Merge extensions feature bits in selected_cpu and cpu_variant if there
419 is some.
420 (arm_parse_extension): Pass architecture and extension feature bits in
421 separate parameters, with architecture bits being read only. Update
422 **opt_p directly rather than *ext_set and initialize it if needed.
423 (arm_parse_cpu): Stop merging architecture and extension feature bits
424 and instead use mcpu_cpu_opt and dyn_mcpu_ext_opt to memorize them
425 respectively. Adapt to change in parameters of arm_parse_extension.
426 (arm_parse_arch): Adapt to change in parameters of arm_parse_extension.
427 (aeabi_set_attribute_string): Make function static.
428 (arm_md_post_relax): New function.
429 (s_arm_cpu): Stop merging architecture and extension feature bits and
430 instead use mcpu_cpu_opt and dyn_mcpu_ext_opt to memorize them
431 respectively. Merge extension feature bits in cpu_variant
432 if there is any.
433 (s_arm_arch): Reset extension feature bit. Set selected_cpu from
434 *mcpu_cpu_opt and cpu_variant from selected_cpu and *mfpu_opt for
435 consistency with s_arm_cpu.
436 (s_arm_arch_extension): Update *dyn_mcpu_ext_opt rather than
437 selected_cpu, allocating it before hand if needed. Set selected_cpu
438 from it and then cpu_variant.
439 (s_arm_fpu): Merge *mcpu_ext_opt feature bits if any in cpu_variant.
440 * config/tc-arm.h (md_post_relax_hook): Set to arm_md_post_relax.
441 (aeabi_set_public_attributes): Delete external declaration.
442 (arm_md_post_relax): Declare externally.
443
996b5569
TP
4442017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
445
446 * config/tc-arm.c (struct arm_cpu_option_table): New ext field.
447 (ARM_CPU_OPT): Add parameter to set new ext field and reorder canonical
448 name field just after the name field.
449 (arm_cpus): Move extension feature bit from value field to ext field,
450 reorder parameter according to changes in ARM_CPU_OPT and reindent.
451 (arm_parse_cpu): Point mcpu_cpu_opt to a bitfield merging the value and
452 ext field from the selected arm_cpus entry.
453 (s_arm_cpu): Likewise.
454
1e292627
JG
4552017-06-21 James Greenhalgh <james.greenhalgh@arm.com>
456
457 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a55 and cortex-a75.
458 * doc/c-aarch64.texi (-mcpu): Document cortex-a55 and cortex-a75.
459
8cac017d
L
4602017-06-15 H.J. Lu <hongjiu.lu@intel.com>
461
462 PR binutils/21594
463 * testsuite/gas/i386/mpx.s: Add 2 tests with invalid bnd
464 register.
465 * testsuite/gas/i386/x86-64-mpx.s: Likewise.
466 * testsuite/gas/i386/mpx.d: Updated.
467 * testsuite/gas/i386/x86-64-mpx.d: Likewise.
468
f7e16c2a
MF
4692017-06-14 Max Filippov <jcmvbkbc@gmail.com>
470
471 * config/tc-xtensa.c (density_supported, xtensa_fetch_width,
472 absolute_literals_supported): Leave definitions uninitialized.
473 (directive_state): Leave entries for directive_density and
474 directive_absolute_literals initialized to false.
475 (xg_init_global_config, xtensa_init): New functions.
476 * config/tc-xtensa.h (TARGET_BYTES_BIG_ENDIAN): Define as 0.
477 (HOST_SPECIAL_INIT): New definition.
478 (xtensa_init): New declaration.
479
62e20ed4
MC
4802017-06-07 Michael Collison <michael.collison@arm.com>
481
482 * config/tc-aarch64.c (reg_entry_reg_names): Add IP0,
483 IP1, FP, and LR as register aliases of register 16, 17, 29
484 and 30 respectively.
485 * testsuite/gas/aarch64/diagnostic.l: Remove diagnostic
486 prohibiting register 'lr' which is now an alias.
487 * testsuite/gas/aarch64/diagnostic.s: Remove instruction
488 utilizing register 'lr' which is now an alias.
489
5c8ed6a4
JW
4902017-06-06 Jiong Wang <jiong.wang@arm.com>
491
492 * config/tc-arm.c (reject_bad_reg): Allow REG_SP on ARMv8-A.
493 (parse_operands): Allow REG_SP for OP_oRRnpcsp and OP_RRnpcsp on
494 ARMv8-A.
495 (do_co_reg): Allow REG_SP for Rd on ARMv8-A.
496 (do_t_add_sub): Likewise.
497 (do_t_mov_cmp): Likewise.
498 (do_t_tb): Likewise.
499 * testsuite/gas/arm/ld-sp-warn.l: Delete the warning on REG_SP as Rt for
500 ldrsb.
501 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.d: New test.
502 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: New test.
503 * testsuite/gas/arm/sp-pc-validations-bad-t.d: Specifies -march=armv7-a.
504 * testsuite/gas/arm/sp-pc-validations-bad-t.s: Remove ".arch armv7-a".
505 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v7.d: New test.
506 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v7.l: New test.
507 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v8.d: New test.
508 * testsuite/gas/arm/sp-usage-thumb2-relax.s: New test.
509 * testsuite/gas/arm/strex-bad-t.d: Specifies -march=armv7-a.
510
61756f84
JW
5112017-06-05 Jim Wilson <jim.wilson@linaro.org>
512
513 * config/tc-arm.c (arm_cpus): Delete falkor and qdf24xx entries.
514 * doc/c-arm.texi (-mcpu): Likewise.
515
940171d0
AK
5162017-05-30 Anton Kolesov <anton.kolesov@synopsys.com>
517
518 * config/tc-arc.c (cpu_types): Include arc-cpu.def
519
6e92fed5
L
5202017-05-23 H.J. Lu <hongjiu.lu@intel.com>
521
522 * gas/testsuite/gas/i386/notrackbad.l: Updated for non-ELF
523 targets.
524 * gas/testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
525
6e3f3473 5262017-05-23 Claudiu Zissulescu <claziss@synopsys.com>
527
528 * config/tc-arc.c (md_apply_fix): Use as_bad_where.
529 (assemble_insn): Use as_bad.
530
04ef582a
L
5312017-05-22 H.J. Lu <hongjiu.lu@intel.com>
532
533 * config/tc-i386.c (REX_PREFIX): Changed to 7.
534 (NOTRACK_PREFIX): New.
535 (MAX_PREFIXES): Changed to 8.
536 (_i386_insn): Add notrack_prefix.
537 (PREFIX_GROUP): Add PREFIX_DS.
538 (add_prefix): Return PREFIX_DS for DS_PREFIX_OPCODE.
539 (md_assemble): Check if NOTRACK prefix is supported.
540 (parse_insn): Set notrack_prefix and issue an error for
541 other prefixes after NOTRACK prefix.
542 * testsuite/gas/i386/i386.exp: Run tests for NOTRACK prefix.
543 * testsuite/gas/i386/notrack-intel.d: New file.
544 * testsuite/gas/i386/notrack.d: Likewise.
545 * testsuite/gas/i386/notrack.s: Likewise.
546 * testsuite/gas/i386/notrackbad.l: Likewise.
547 * testsuite/gas/i386/notrackbad.s: Likewise.
548 * testsuite/gas/i386/x86-64-notrack-intel.d: Likewise.
549 * testsuite/gas/i386/x86-64-notrack.d: Likewise.
550 * testsuite/gas/i386/x86-64-notrack.s: Likewise.
551 * testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
552 * testsuite/gas/i386/x86-64-notrackbad.s: Likewise.
553
3c0367d0
JW
5542017-05-22 Jiong Wang <jiong.wang@arm.com>
555
556 * configure.tgt: Set "arch" to "aarch64" if ${cpu} equals "aarch64".
557 Recognize the new triplet name aarch64*-linux-gnu_ilp32.
558 * configure.ac: Output DEFAULT_ARCH macro for AArch64.
559 * configure: Regenerate.
560 * config/tc-aarch64.h (aarch64_after_parse_args): New declaration.
561 (md_after_parse_args): New define.
562 * config/tc-aarch64.c (aarch64_abi_type): New enumeration
563 AARCH64_ABI_NONE.
564 (DEFAULT_ARCH): New define.
565 (aarch64_abi): Set default value to AARCH64_ABI_NONE.
566 (aarch64_after_parse_args): New function.
567
64517994
JM
5682017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
569
570 * config/tc-sparc.c (sparc_arch_table): Entries for `sparc6',
571 `v9m8' and `v8plusm8'.
572 (sparc_md_end): Handle SPARC_OPCODE_ARCH_M8.
573 (get_hwcap_name): Support the M8 hardware capabilities.
574 (sparc_ip): Handle new operand types.
575 * doc/c-sparc.texi (Sparc-Opts): Document -Av9m8, -Av8plusm8 and
576 -Asparc6, and the corresponding -xarch aliases.
577 * testsuite/gas/sparc/sparc6.s: New file.
578 * testsuite/gas/sparc/sparc6.d: Likewise.
579 * testsuite/gas/sparc/sparc6-diag.s: Likewise.
580 * testsuite/gas/sparc/sparc6-diag.l: Likewise.
581 * testsuite/gas/sparc/fpcmpshl.s: Likewise.
582 * testsuite/gas/sparc/fpcmpshl.d: Likewise.
583 * testsuite/gas/sparc/fpcmpshl-diag.s: Likewise.
584 * testsuite/gas/sparc/fpcmpshl-diag.l: Likewise.
585 * testsuite/gas/sparc/ldm-stm.s: Likewise.
586 * testsuite/gas/sparc/ldm-stm.d: Likewise.
587 * testsuite/gas/sparc/ldm-stm-diag.s: Likewise.
588 * testsuite/gas/sparc/ldm-stm-diag.l: Likewise.
589 * testsuite/gas/sparc/ldmf-stmf.s: Likewise.
590 * testsuite/gas/sparc/ldmf-stmf.d: Likewise.
591 * testsuite/gas/sparc/ldmf-stmf-diag.s: Likewise.
592 * testsuite/gas/sparc/ldmf-stmf-diag.l: Likewise.
593 * testsuite/gas/sparc/on.s: Likewise.
594 * testsuite/gas/sparc/on.d: Likewise.
595 * testsuite/gas/sparc/on-diag.s: Likewise.
596 * testsuite/gas/sparc/on-diag.l: Likewise.
597 * testsuite/gas/sparc/rle.s: Likewise.
598 * testsuite/gas/sparc/rle.d: Likewise.
599 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run new tests.
600 * testsuite/gas/sparc/rdasr.s: Add test for RDENTROPY.
601 * testsuite/gas/sparc/rdasr.d: Likewise.
602
ae0264a6
JM
6032017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
604
605 * testsuite/gas/sparc/call-relax.d: Support 32-bit targets.
606 * testsuite/gas/sparc/sparc.exp (gas_64_check): Use -64 to
607 run asi-bump-warn.
608
f4203b2b
JL
6092017-05-19 Georg-Johann Lay <avr@gjlay.de>
610
611 PR ld/21472
612 * config/tc-avr.c (mcu_types): Add entries for: attiny416,
613 attiny417, attiny816, attiny817.
614
535b785f
AM
6152017-05-18 Alan Modra <amodra@gmail.com>
616
617 * config/tc-aarch64.c: Don't compare booleans against TRUE or FALSE.
618 * config/tc-hppa.c: Likewise.
619 * config/tc-mips.c: Likewise.
620 * config/tc-score7.c: Likewise.
621
91cb9803
AM
6222017-05-16 Alan Modra <amodra@gmail.com>
623
624 * write.c (GENERIC_FORCE_RELOCATION_LOCAL): Define.
625 (TC_FORCE_RELOCATION_LOCAL): Use it.
626 (GENERIC_FORCE_RELOCATION_SUB_SAME): Define.
627 (TC_FORCE_RELOCATION_SUB_SAME): Use it.
628 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL,
629 TC_FORCE_RELOCATION_SUB_SAME): Use GENERIC defines.
630 * config/tc-aarch64.h: Similarly.
631 * config/tc-avr.h: Similarly.
632 * config/tc-cris.h: Similarly.
633 * config/tc-i386.h: Similarly.
634 * config/tc-i960.h: Similarly.
635 * config/tc-ia64.h: Similarly.
636 * config/tc-microblaze.h: Similarly.
637 * config/tc-mips.h: Similarly.
638 * config/tc-msp430.h: Similarly.
639 * config/tc-nds32.h: Similarly.
640 * config/tc-pru.h: Similarly.
641 * config/tc-riscv.h: Similarly.
642 * config/tc-rl78.h: Similarly.
643 * config/tc-s390.h: Similarly.
644 * config/tc-sh.h: Similarly.
645 * config/tc-sh64.h: Similarly.
646 * config/tc-sparc.h: Similarly.
647 * config/tc-xtensa.h: Similarly.
648 * config/tc-mn10300.h: Similarly.
649 (GENERIC_FORCE_RELOCATION_LOCAL): Define.
650 * config/tc-msp430.c (msp430_force_relocation_local): Modify to
651 be addition to rather than replacement of standard
652 TC_FORCE_RELOCATION_LOCAL.
653
52a86f84
NC
6542017-05-15 Nick Clifton <nickc@redhat.com>
655
656 PR gas/21458
657 * config/tc-arm.c (do_adr): If the ADR involves a thumb function
658 symbol, ensure that the T bit will be set.
659 (do_adrl): Likewise.
660 (do_t_adr): Likewise.
661 * testsuite/gas/arm/pr21458.s: New test.
662 * testsuite/gas/arm/pr21458.d: New test driver.
663
b32465c9
MR
6642017-05-15 Maciej W. Rozycki <macro@imgtec.com>
665
666 * testsuite/gas/mips/mips16-pcrel-1.d: Remove `-mips3' from `as'
667 flags.
668 * testsuite/gas/mips/mips16-pcrel-pic-1.d: Likewise.
669 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
670 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
671 * testsuite/gas/mips/mips16-pcrel-n64-0.d: Likewise.
672 * testsuite/gas/mips/mips16-pcrel-n64-1.d: Likewise.
673 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
674 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
675 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: Likewise.
676 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: Likewise.
677 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Likewise.
678 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Likewise.
679 * testsuite/gas/mips/mips16-pcrel-addend-4.d: Likewise.
680 * testsuite/gas/mips/mips16-pcrel-addend-5.d: Likewise.
681 * testsuite/gas/mips/mips16-pcrel-addend-6.d: Likewise.
682 * testsuite/gas/mips/mips16-pcrel-addend-7.d: Likewise.
683 * testsuite/gas/mips/mips16-pcrel-addend-9.d: Likewise.
684 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: Likewise.
685 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: Likewise.
686 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: Likewise.
687 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d:
688 Likewise.
689 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d:
690 Likewise.
691 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: Likewise.
692 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: Likewise.
693 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: Likewise.
694 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: Likewise.
695 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: Likewise.
696 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: Likewise.
697 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: Likewise.
698 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: Likewise.
699 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: Likewise.
700 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: Likewise.
701 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: Likewise.
702 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d:
703 Likewise.
704 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d:
705 Likewise.
706 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d:
707 Likewise.
708 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d:
709 Likewise.
710 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d:
711 Likewise.
712 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d:
713 Likewise.
714 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
715 Likewise.
716 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
717 Likewise.
718 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: New test.
719 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: New test.
720 * testsuite/gas/mips/mips16e2@mips16-pcrel-2.d: New test.
721 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: New test.
722 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: New test.
723 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d: New
724 test.
725 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d: New
726 test.
727 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: New test.
728 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: New test.
729 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-2.d: New test.
730 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-3.d: New test.
731 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-6.d: New test.
732 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-7.d: New test.
733 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-2.d: New test.
734 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-3.d: New test.
735 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-6.d: New test.
736 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-7.d: New test.
737 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-8.d: New test.
738 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-9.d: New test.
739 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-8.d: New
740 test.
741 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-9.d: New
742 test.
743 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-8.d:
744 New test.
745 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-9.d:
746 New test.
747 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute.d: New test.
748 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-1.d: New
749 test.
750 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-2.d: New
751 test.
752 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-3.d: New
753 test.
754 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-4.d: New
755 test.
756 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-5.d: New
757 test.
758 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-6.d: New
759 test.
760 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-7.d: New
761 test.
762 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-4.d: New
763 test.
764 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-6.d: New
765 test.
766 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-4.d: New
767 test.
768 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-6.d: New
769 test.
770 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-4.d:
771 New test.
772 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-6.d:
773 New test.
774 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-4.d:
775 New test.
776 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-6.d:
777 New test.
778 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-4.d:
779 New test.
780 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-6.d:
781 New test.
782 * testsuite/gas/mips/mips16-pcrel-1.l: Adjust line numbers.
783 * testsuite/gas/mips/mips16-pcrel-1.s: Adjust for alignment
784 preservation between MIPS16 and MIPS16e2 code.
785 * testsuite/gas/mips/mips.exp: Run MIPS16 relaxation tests over
786 all MIPS16 architectures.
787
3f3467ff
MR
7882017-05-15 Maciej W. Rozycki <macro@imgtec.com>
789
790 * testsuite/gas/mips/mips16e2.d: New test.
791 * testsuite/gas/mips/mips16e2-mt.d: New test.
792 * testsuite/gas/mips/mips16e2-sub.d: New test.
793 * testsuite/gas/mips/mips16e2@mips16e2-sub.d: New test.
794 * testsuite/gas/mips/mips16e2-mt-sub.d: New test.
795 * testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: New test.
796 * testsuite/gas/mips/mips16e2-hilo.d: New test.
797 * testsuite/gas/mips/mips16e2-hilo-n32.d: New test.
798 * testsuite/gas/mips/mips16e2-reloc-error.d: New test.
799 * testsuite/gas/mips/mips16e2-imm-error.d: New test.
800 * testsuite/gas/mips/elf_ase_mips16e2.d: New test.
801 * testsuite/gas/mips/elf_ase_mips16e2-2.d: New test.
802 * testsuite/gas/mips/elf-rel9-mips16e2.d: New test.
803 * testsuite/gas/mips/mips16e2-lui.d: New test.
804 * testsuite/gas/mips/mips16e2@mips32r2-sync.d: New test.
805 * testsuite/gas/mips/mips16e2@mips32r2-sync-1.d: New test.
806 * testsuite/gas/mips/mips16e2@lui-2.d: New test.
807 * testsuite/gas/mips/mips16e2-reloc-error.l: New stderr output.
808 * testsuite/gas/mips/mips16e2-imm-error.l: New stderr output.
809 * testsuite/gas/mips/mips16e2@lui-2.l: New stderr output.
810 * testsuite/gas/mips/mips16e2.s: New test source.
811 * testsuite/gas/mips/mips16e2-mt.s: New test source.
812 * testsuite/gas/mips/mips16e2-sub.s: New test source.
813 * testsuite/gas/mips/mips16e2-mt-sub.s: New test source.
814 * testsuite/gas/mips/mips16e2-hilo.s: New test source.
815 * testsuite/gas/mips/mips16e2-reloc-error.s: New test source.
816 * testsuite/gas/mips/mips16e2-imm-error.s: New test source.
817 * testsuite/gas/mips/elf-rel9-mips16e2.s: New test source.
818 * testsuite/gas/mips/mips16e2-lui.s: New test source.
819 * testsuite/gas/mips/mips.exp: Expand `mips32r2-sync',
820 `mips32r2-sync-1', `lui-1' and `lui-2' tests across MIPS16e2
821 architectures. Run the new tests.
822
70ab592f
MR
8232017-05-15 Maciej W. Rozycki <macro@imgtec.com>
824
825 * testsuite/gas/mips/mips.exp (run_dump_test_arch): Add
826 `mips16e2@' prefix.
827 (run_list_test_arch): Likewise.
828 (mips16e2-32, mips16e2-64): New architectures.
829 * testsuite/gas/mips/mips16e2-32@mips16-macro.d: New test.
830 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.d: New test.
831 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.d: New test.
832 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.d: New test.
833 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.d: New test.
834 * testsuite/gas/mips/mips16e2-32@mips16e-64.d: New test.
835 * testsuite/gas/mips/mips16e2-32@mips16-sub.d: New test.
836 * testsuite/gas/mips/mips16e2-32@mips16e-64-sub.d: New test.
837 * testsuite/gas/mips/mips16e2@relax-swap3.d: New test.
838 * testsuite/gas/mips/mips16-32@mips16-asmacro.d: Remove `source'
839 tag. Add `-I$srcdir/$subdir' to `as' flags.
840 * testsuite/gas/mips/mips16-64@mips16-asmacro.d: Likewise.
841 * testsuite/gas/mips/mips16e2-32@mips16-macro.l: New stderr
842 output.
843 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.l: New stderr
844 output.
845 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.l: New stderr
846 output.
847 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.l: New stderr
848 output.
849 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.l: New stderr
850 output.
851 * testsuite/gas/mips/mips16-sub.s: Add `.set nomips16e2'.
852 * testsuite/gas/mips/mips16e-sub.s: Likewise.
853 * testsuite/gas/mips/mips16e-64-sub.s: Likewise.
854 * testsuite/gas/mips/mips16-asmacro.s: Remove `.set mips32'.
855 * testsuite/gas/mips/mips16-32@mips16-asmacro.s: New test
856 source.
857 * testsuite/gas/mips/mips16-64@mips16-asmacro.s: New test
858 source.
859
25499ac7
MR
8602017-05-15 Maciej W. Rozycki <macro@imgtec.com>
861 Matthew Fortune <matthew.fortune@imgtec.com>
862 Andrew Bennett <andrew.bennett@imgtec.com>
863
864 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `e2' flag.
865 (RELAX_MIPS16_E2): New macro.
866 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO)
867 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
868 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
869 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
870 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
871 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
872 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED, RELAX_MIPS16_MACRO)
873 (RELAX_MIPS16_MARK_MACRO, RELAX_MIPS16_CLEAR_MACRO): Shift bits.
874 (mips16_immed_extend): New prototype.
875 (options): Add OPTION_MIPS16E2 and OPTION_NO_MIPS16E2 enum
876 values.
877 (md_longopts): Add "mmips16e2" and "mno-mips16e2" options.
878 (mips_ases): Add "mips16e2" entry.
879 (mips_set_ase): Handle MIPS16e2 ASE.
880 (insn_insert_operand): Explicitly handle immediates with MIPS16
881 instructions that require 32-bit encoding.
882 (is_opcode_valid_16): Pass enabled ASE bitmask on to
883 `opcode_is_member'.
884 (validate_mips_insn): Explicitly handle immediates with MIPS16
885 instructions that require 32-bit encoding.
886 (operand_reg_mask) <OP_REG28>: Add handler.
887 (match_reg28_operand): New function.
888 (match_operand) <OP_REG28>: Add handler.
889 (append_insn): Pass ASE_MIPS16E2 setting to RELAX_MIPS16_ENCODE.
890 (match_mips16_insn): Handle MIPS16 instructions that require
891 32-bit encoding and `V' and `u' operand codes.
892 (mips16_ip): Allow any characters except from `.' in opcodes.
893 (mips16_immed_extend): Handle 9-bit immediates. Do not shuffle
894 immediates whose width is not one of these listed.
895 (md_estimate_size_before_relax): Handle MIPS16e2 relaxation.
896 (mips_relax_frag): Likewise.
897 (md_convert_frag): Likewise.
898 (mips_convert_ase_flags): Handle MIPS16e2 ASE.
899
900 * doc/as.texinfo (Target MIPS options): Add `-mmips16e2' and
901 `-mno-mips16e2' options.
902 (-mmips16e2, -mno-mips16e2): New options.
903 * doc/c-mips.texi (MIPS Options): Add `-mmips16e2' and
904 `-mno-mips16e2' options.
905 (MIPS ASE Instruction Generation Overrides): Add `.set mips16e2'
906 and `.set nomips16e2'.
907
20c59b84
MR
9082017-05-15 Maciej W. Rozycki <macro@imgtec.com>
909
910 * config/tc-mips.c (match_int_operand): Call
911 `match_out_of_range' before returning failure for 0x8000-0xffff
912 values conditionally allowed.
913
602b88e3
MR
9142017-05-15 Maciej W. Rozycki <macro@imgtec.com>
915
916 * config/tc-mips.c (match_int_operand): Call
917 `match_not_constant' before returning failure for a non-constant
918 16-bit immediate conditionally allowed.
919
c96425c5
MR
9202017-05-15 Maciej W. Rozycki <macro@imgtec.com>
921
922 * config/tc-mips.c (match_const_int): Call `match_out_of_range'
923 rather than `match_not_constant' for unrelocated operands
924 retrieved as an `O_big' expression.
925 (match_int_operand): Call `match_out_of_range' for relocatable
926 operands retrieved as an `O_big' expression.
927 (match_mips16_insn): Call `match_out_of_range' for relaxable
928 operands retrieved as an `O_big' expression.
929 * testsuite/gas/mips/addiu-error.d: New test.
930 * testsuite/gas/mips/mips16@addiu-error.d: New test.
931 * testsuite/gas/mips/micromips@addiu-error.d: New test.
932 * testsuite/gas/mips/break-error.d: New test.
933 * testsuite/gas/mips/lui-1.l: Adjust error message.
934 * testsuite/gas/mips/addiu-error.l: New stderr output.
935 * testsuite/gas/mips/mips16@addiu-error.l: New stderr output.
936 * testsuite/gas/mips/micromips@addiu-error.l: New stderr output.
937 * testsuite/gas/mips/break-error.l: New stderr output.
938 * testsuite/gas/mips/addiu-error.s: New test source.
939 * testsuite/gas/mips/break-error.s: New test source.
940 * testsuite/gas/mips/mips.exp: Run the new tests.
941
1a7bf198
MR
9422017-05-15 Maciej W. Rozycki <macro@imgtec.com>
943
944 * config/tc-mips.c (match_mips16_insn): Remove the explicit
945 OT_INTEGER check before the `match_expression' call.
946 * testsuite/gas/mips/mips16-insn-e.l: Adjust messages.
947 * testsuite/gas/mips/mips16-32@mips16-insn-e.l: Likewise.
948 * testsuite/gas/mips/mips16-64@mips16-insn-e.l: Likewise.
949 * testsuite/gas/mips/mips16e-32@mips16-insn-e.l: Likewise.
950 * testsuite/gas/mips/mips16-reg-error.d: New test.
951 * testsuite/gas/mips/mips16-reg-error.l: New stderr output.
952 * testsuite/gas/mips/mips16-reg-error.s: New test source.
953 * testsuite/gas/mips/mips.exp: Run the new test.
954
e295202f
MR
9552017-05-15 Maciej W. Rozycki <macro@imgtec.com>
956
957 * config/tc-mips.c (match_mips16_insn): Call
958 `match_not_constant' for a disallowed relocation operation.
959 * testsuite/gas/mips/mips16-reloc-error.d: New test.
960 * testsuite/gas/mips/mips16-reloc-error.l: New stderr output.
961 * testsuite/gas/mips/mips16-reloc-error.s: New test source.
962 * testsuite/gas/mips/mips.exp: Run the new test.
963
c76081bc
MR
9642017-05-15 Maciej W. Rozycki <macro@imgtec.com>
965
966 * testsuite/gas/mips/lui-1.d: New test.
967 * testsuite/gas/mips/lui-2.d: New test.
968 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
969 into the new tests.
970
a54d5f8b
MR
9712017-05-15 Maciej W. Rozycki <macro@imgtec.com>
972
973 * config/tc-mips.c (match_const_int): Update description.
974
32035f51
MR
9752017-05-15 Maciej W. Rozycki <macro@imgtec.com>
976
977 * doc/as.texinfo (-mips16, -no-mips16): Refer to `.module
978 mips16' rather than `.set mips16'.
979 (-mmicromips, -mno-micromips): Refer to `.module micromips' and
980 `.module nomicromips' rather than `.set micromips' and `.set
981 nomicromips'.
982 (-msmartmips, -mno-smartmips): Refer to `.module smartmips'
983 rather than `.set smartmips'.
984 * doc/c-mips.texi (MIPS Options): Refer to `.module mips16',
985 `.module micromips', `.module nomicromips' and `.module
986 smartmips' rather than `.set mips16', `.set micromips', `.set
987 nomicromips' and `.set smartmips' respectively.
988
be3f1006
MR
9892017-05-12 Maciej W. Rozycki <macro@imgtec.com>
990 Matthew Fortune <matthew.fortune@imgtec.com>
991
992 * config/tc-mips.c (mips_percent_op): Add "%gprel".
993 (mips16_percent_op): Add "%gp_rel".
994 * testsuite/gas/mips/elf-rel8.s:: Add `%gprel' forms.
995 * testsuite/gas/mips/elf-rel8-mips16.s: Add `%gp_rel' forms.
996 * testsuite/gas/mips/elf-rel8.d: Adjust accordingly.
997 * testsuite/gas/mips/elf-rel8-mips16.d: Likewise.
998
a4f89915
MR
9992017-05-12 Maciej W. Rozycki <macro@imgtec.com>
1000
1001 * testsuite/gas/mips/mips16.d: Adjust BREAK disassembly.
1002 * testsuite/gas/mips/mips16-64@mips16.d: Likewise.
1003 * testsuite/gas/mips/mips16-64.d: Likewise.
1004 * testsuite/gas/mips/mips16-64@mips16-64.d: Likewise.
1005 * testsuite/gas/mips/mips16-macro.d: Likewise.
1006 * testsuite/gas/mips/mips16-64@mips16-macro.d: Likewise.
1007 * testsuite/gas/mips/mips16-sub.d: Likewise.
1008 * testsuite/gas/mips/mips16-32@mips16-sub.d: Likewise.
1009
99e2d67a
MR
10102017-05-11 Maciej W. Rozycki <macro@imgtec.com>
1011
1012 * testsuite/gas/mips/mips32r2-sync-1.d: New test.
1013 * testsuite/gas/mips/micromips@mips32r2-sync-1.d: New test.
1014 * testsuite/gas/mips/mips.exp: Run the new tests.
1015
7f401e84
MR
10162017-05-10 Maciej W. Rozycki <macro@imgtec.com>
1017
1018 * testsuite/gas/mips/isa-override-2.d: New test.
1019 * testsuite/gas/mips/mips1@isa-override-2.d: New test.
1020 * testsuite/gas/mips/r3000@isa-override-2.d: New test.
1021 * testsuite/gas/mips/r3900@isa-override-2.d: New test.
1022 * testsuite/gas/mips/mips2@isa-override-2.d: New test.
1023 * testsuite/gas/mips/mips32@isa-override-2.d: New test.
1024 * testsuite/gas/mips/mips32r2@isa-override-2.d: New test.
1025 * testsuite/gas/mips/mips32r3@isa-override-2.d: New test.
1026 * testsuite/gas/mips/mips32r5@isa-override-2.d: New test.
1027 * testsuite/gas/mips/mips32r6@isa-override-2.d: New test.
1028 * testsuite/gas/mips/octeon3@isa-override-2.d: New test.
1029 * testsuite/gas/mips/r3000@isa-override-2.l: Remove list test.
1030 * testsuite/gas/mips/mips1@isa-override-2.s: Remove test source.
1031 * testsuite/gas/mips/r3000@isa-override-2.s: Remove test source.
1032 * testsuite/gas/mips/r3900@isa-override-2.s: Remove test source.
1033 * testsuite/gas/mips/mips2@isa-override-2.s: Remove test source.
1034 * testsuite/gas/mips/mips32@isa-override-2.s: Remove test
1035 source.
1036 * testsuite/gas/mips/mips32r2@isa-override-2.s: Remove test
1037 source.
1038 * testsuite/gas/mips/mips32r3@isa-override-2.s: Remove test
1039 source.
1040 * testsuite/gas/mips/mips32r5@isa-override-2.s: Remove test
1041 source.
1042 * testsuite/gas/mips/mips32r6@isa-override-2.s: Remove test
1043 source.
1044 * testsuite/gas/mips/octeon3@isa-override-2.s: Remove test
1045 source.
1046 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
1047 into the new tests.
1048
9fc18134
MR
10492017-05-10 Maciej W. Rozycki <macro@imgtec.com>
1050
1051 * testsuite/gas/mips/mips16e-sub.d: Correct test name.
1052 * testsuite/gas/mips/mips16-32@mips16e-sub.d: Likewise.
1053 * testsuite/gas/mips/mips16-64@mips16e-sub.d: Likewise.
1054 * testsuite/gas/mips/mips16e-64-sub.d: Likewise.
1055 * testsuite/gas/mips/mips16-32@mips16e-64-sub.d: Likewise.
1056 * testsuite/gas/mips/mips16-64@mips16e-64-sub.d: Likewise.
1057 * testsuite/gas/mips/mips16e-32@mips16e-64-sub.d: Likewise.
1058
f78c0b91
MR
10592017-05-10 Maciej W. Rozycki <macro@imgtec.com>
1060
1061 * testsuite/gas/mips/mips16-macro.l: Remove list test.
1062
58667758
MR
10632017-05-10 Maciej W. Rozycki <macro@imgtec.com>
1064
1065 * testsuite/gas/mips/r3900@ecoff@ld.d: Remove test.
1066 * testsuite/gas/mips/mips2@ecoff@ld.d: Remove test.
1067 * testsuite/gas/mips/mips32@ecoff@ld.d: Remove test.
1068 * testsuite/gas/mips/mips32r2@ecoff@ld.d: Remove test.
1069 * testsuite/gas/mips/r3900@ecoff@ld-forward.d: Remove test.
1070 * testsuite/gas/mips/mips2@ecoff@ld-forward.d: Remove test.
1071 * testsuite/gas/mips/mips32@ecoff@ld-forward.d: Remove test.
1072 * testsuite/gas/mips/mips32r2@ecoff@ld-forward.d: Remove test.
1073 * testsuite/gas/mips/mips1@ecoff@sd.d: Remove test.
1074 * testsuite/gas/mips/r3000@ecoff@sd.d: Remove test.
1075 * testsuite/gas/mips/r3900@ecoff@sd.d: Remove test.
1076 * testsuite/gas/mips/mips2@ecoff@sd.d: Remove test.
1077 * testsuite/gas/mips/mips32@ecoff@sd.d: Remove test.
1078 * testsuite/gas/mips/mips32r2@ecoff@sd.d: Remove test.
1079 * testsuite/gas/mips/mips1@ecoff@sd-forward.d: Remove test.
1080 * testsuite/gas/mips/r3000@ecoff@sd-forward.d: Remove test.
1081 * testsuite/gas/mips/r3900@ecoff@sd-forward.d: Remove test.
1082 * testsuite/gas/mips/mips2@ecoff@sd-forward.d: Remove test.
1083 * testsuite/gas/mips/mips32@ecoff@sd-forward.d: Remove test.
1084 * testsuite/gas/mips/mips32r2@ecoff@sd-forward.d: Remove test.
1085
53a346d8
CZ
10862017-05-10 Claudiu Zissulescu <claziss@synopsys.com>
1087
1088 * testsuite/gas/arc/attr-arc600.d: New file.
1089 * testsuite/gas/arc/attr-arc600_mul32x16.d: Likewise.
1090 * testsuite/gas/arc/attr-arc600_norm.d: Likewise.
1091 * testsuite/gas/arc/attr-arc601.d: Likewise.
1092 * testsuite/gas/arc/attr-arc601_mul32x16.d: Likewise.
1093 * testsuite/gas/arc/attr-arc601_mul64.d: Likewise.
1094 * testsuite/gas/arc/attr-arc601_norm.d: Likewise.
1095 * testsuite/gas/arc/attr-arc700.d: Likewise.
1096 * testsuite/gas/arc/attr-arcem.d: Likewise.
1097 * testsuite/gas/arc/attr-archs.d: Likewise.
1098 * testsuite/gas/arc/attr-autodetect-1.d: Likewise.
1099 * testsuite/gas/arc/attr-autodetect-1.s: Likewise.
1100 * testsuite/gas/arc/attr-cpu-a601.d: Likewise.
1101 * testsuite/gas/arc/attr-cpu-a601.s: Likewise.
1102 * testsuite/gas/arc/attr-cpu-a700.d: Likewise.
1103 * testsuite/gas/arc/attr-cpu-a700.s: Likewise.
1104 * testsuite/gas/arc/attr-cpu-em.d: Likewise.
1105 * testsuite/gas/arc/attr-cpu-em.s: Likewise.
1106 * testsuite/gas/arc/attr-cpu-hs.d: Likewise.
1107 * testsuite/gas/arc/attr-cpu-hs.s: Likewise.
1108 * testsuite/gas/arc/attr-em.d: Likewise.
1109 * testsuite/gas/arc/attr-em4.d: Likewise.
1110 * testsuite/gas/arc/attr-em4_dmips.d: Likewise.
1111 * testsuite/gas/arc/attr-em4_fpuda.d: Likewise.
1112 * testsuite/gas/arc/attr-em4_fpus.d: Likewise.
1113 * testsuite/gas/arc/attr-hs.d: Likewise.
1114 * testsuite/gas/arc/attr-hs34.d: Likewise.
1115 * testsuite/gas/arc/attr-hs38.d: Likewise.
1116 * testsuite/gas/arc/attr-hs38_linux.d: Likewise.
1117 * testsuite/gas/arc/attr-mul64.d: Likewise.
1118 * testsuite/gas/arc/attr-name.d: Likewise.
1119 * testsuite/gas/arc/attr-name.s: Likewise.
1120 * testsuite/gas/arc/attr-nps400.d: Likewise.
1121 * testsuite/gas/arc/attr-override-mcpu.d: Likewise.
1122 * testsuite/gas/arc/attr-override-mcpu.s
1123 * testsuite/gas/arc/attr-quarkse_em.d: Likewise.
1124 * testsuite/gas/arc/blank.s: Likewise.
1125 * testsuite/gas/elf/section2.e-arc: Likewise.
1126 * testsuite/gas/arc/cpu-pseudop-1.d: Update test.
1127 * testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
1128 * testsuite/gas/arc/nps400-0.d: Likewise.
1129 * testsuite/gas/elf/elf.exp: Set target_machine for ARC.
1130 * config/tc-arc.c (opcode/arc-attrs.h): Include.
1131 (ARC_GET_FLAG, ARC_SET_FLAG, streq): Define.
1132 (arc_attribute): Declare new function.
1133 (md_pseudo_table): Add arc_attribute.
1134 (cpu_types): Rename default cpu features.
1135 (selected_cpu): Set the default OSABI flag.
1136 (mpy_option): New variable.
1137 (pic_option): Likewise.
1138 (sda_option): Likewise.
1139 (tls_option): Likewise.
1140 (feature_type, feature_list): Remove.
1141 (arc_initial_eflag): Likewise.
1142 (attributes_set_explicitly): New variable.
1143 (arc_check_feature): Check also for the conflicting features.
1144 (arc_select_cpu): Refactor assignment of selected_cpu.eflags.
1145 (arc_option): Remove setting of private flags and architecture.
1146 (check_cpu_feature): Refactor feature names.
1147 (autodetect_attributes): New function.
1148 (assemble_tokens): Use above function.
1149 (md_parse_option): Refactor feature names.
1150 (arc_attribute): New function.
1151 (arc_set_attribute_int): Likewise.
1152 (arc_set_attribute_string): Likewise.
1153 (arc_stralloc): Likewise.
1154 (arc_set_public_attributes): Likewise.
1155 (arc_md_end): Likewise.
1156 (arc_copy_symbol_attributes): Likewise.
1157 (rc_convert_symbolic_attribute): Likewise.
1158 * config/tc-arc.h (md_end): Define.
1159 (CONVERT_SYMBOLIC_ATTRIBUTE): Likewise.
1160 (TC_COPY_SYMBOL_ATTRIBUTES): Likewise.
1161 * doc/c-arc.texi: Document ARC object attributes.
1162
8507b6e7
MR
11632017-05-03 Maciej W. Rozycki <macro@imgtec.com>
1164
1165 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `pic', `sym32' and
1166 `nomacro' flags.
1167 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO):
1168 New macros.
1169 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
1170 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
1171 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
1172 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
1173 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
1174 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): Shift bits.
1175 (RELAX_MIPS16_MACRO, RELAX_MIPS16_MARK_MACRO)
1176 (RELAX_MIPS16_CLEAR_MACRO): New macros.
1177 (append_insn): Pass `mips_pic', HAVE_32BIT_SYMBOLS and
1178 `mips_opts.warn_about_macros' settings to RELAX_MIPS16_ENCODE.
1179 (mips16_macro_frag): New function.
1180 (md_estimate_size_before_relax): Handle HI16/LO16 relaxation.
1181 (mips_relax_frag): Likewise.
1182 (md_convert_frag): Likewise.
1183
1184 * testsuite/gas/mips/mips16@relax-swap3.d: Remove error output,
1185 add dump patterns.
1186 * testsuite/gas/mips/mips16e@relax-swap3.d: New test
1187 subarchitecture.
1188 * testsuite/gas/mips/micromips@relax-swap3.d: Remove trailing
1189 NOP padding.
1190 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: Remove error
1191 output, add dump patterns.
1192 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: Remove error
1193 output, add dump patterns.
1194 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Remove error
1195 output, add dump patterns.
1196 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Remove error
1197 output, add dump patterns.
1198 * testsuite/gas/mips/mips16-pcrel-addend-2.d: Remove error
1199 output, add dump patterns.
1200 * testsuite/gas/mips/mips16-pcrel-addend-3.d: Remove error
1201 output, add dump patterns.
1202 * testsuite/gas/mips/mips16-pcrel-absolute.d: Remove error
1203 output, add dump patterns.
1204 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: Remove error
1205 output, add dump patterns.
1206 * testsuite/gas/mips/mips16@relax-swap3.l: Remove file.
1207 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: Remove file.
1208 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: Remove file.
1209 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: Remove file.
1210 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: Remove file.
1211 * testsuite/gas/mips/mips16-pcrel-addend-2.l: Remove file.
1212 * testsuite/gas/mips/mips16-pcrel-addend-3.l: Remove file.
1213 * testsuite/gas/mips/mips16-pcrel-absolute.l: Remove file.
1214 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: Remove file.
1215 * testsuite/gas/mips/relax-swap3.s: Adjust trailing padding.
1216
1217 * testsuite/gas/mips/mips16-pcrel-0.d: New test.
1218 * testsuite/gas/mips/mips16-pcrel-1.d: New test.
1219 * testsuite/gas/mips/mips16-pcrel-2.d: New test.
1220 * testsuite/gas/mips/mips16-pcrel-3.d: New test.
1221 * testsuite/gas/mips/mips16-pcrel-4.d: New test.
1222 * testsuite/gas/mips/mips16-pcrel-5.d: New test.
1223 * testsuite/gas/mips/mips16-pcrel-pic-0.d: New test.
1224 * testsuite/gas/mips/mips16-pcrel-pic-1.d: New test.
1225 * testsuite/gas/mips/mips16-pcrel-n32-0.d: New test.
1226 * testsuite/gas/mips/mips16-pcrel-n32-1.d: New test.
1227 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: New test.
1228 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: New test.
1229 * testsuite/gas/mips/mips16-pcrel-n64-0.d: New test.
1230 * testsuite/gas/mips/mips16-pcrel-n64-1.d: New test.
1231 * testsuite/gas/mips/mips16-pcrel-delay-0.d: New test.
1232 * testsuite/gas/mips/mips16-pcrel-delay-1.d: New test.
1233 * testsuite/gas/mips/mips16-pcrel-addend-4.d: New test.
1234 * testsuite/gas/mips/mips16-pcrel-addend-5.d: New test.
1235 * testsuite/gas/mips/mips16-pcrel-addend-6.d: New test.
1236 * testsuite/gas/mips/mips16-pcrel-addend-7.d: New test.
1237 * testsuite/gas/mips/mips16-pcrel-addend-8.d: New test.
1238 * testsuite/gas/mips/mips16-pcrel-addend-9.d: New test.
1239 * testsuite/gas/mips/mips16-pcrel-addend-pic-8.d: New test.
1240 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: New test.
1241 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: New test.
1242 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: New test.
1243 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d: New test.
1244 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d: New test.
1245 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: New test.
1246 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: New test.
1247 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: New test.
1248 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: New test.
1249 * testsuite/gas/mips/mips16-pcrel-absolute-4.d: New test.
1250 * testsuite/gas/mips/mips16-pcrel-absolute-5.d: New test.
1251 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: New test.
1252 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: New test.
1253 * testsuite/gas/mips/mips16-pcrel-absolute-pic-4.d: New test.
1254 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: New test.
1255 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: New test.
1256 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: New test.
1257 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: New test.
1258 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: New test.
1259 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d: New
1260 test.
1261 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d: New
1262 test.
1263 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d: New
1264 test.
1265 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d: New
1266 test.
1267 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d: New
1268 test.
1269 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d: New
1270 test.
1271 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
1272 New test.
1273 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
1274 New test.
1275 * testsuite/gas/mips/mips16-pcrel-0.l: New stderr output.
1276 * testsuite/gas/mips/mips16-pcrel-1.l: New stderr output.
1277 * testsuite/gas/mips/mips16-pcrel-2.l: New stderr output.
1278 * testsuite/gas/mips/mips16-pcrel-3.l: New stderr output.
1279 * testsuite/gas/mips/mips16-pcrel-4.l: New stderr output.
1280 * testsuite/gas/mips/mips16-pcrel-5.l: New stderr output.
1281 * testsuite/gas/mips/mips16-pcrel-delay-0.l: New stderr output.
1282 * testsuite/gas/mips/mips16-pcrel-delay-1.l: New stderr output.
1283 * testsuite/gas/mips/mips16-pcrel-addend-8.l: New stderr output.
1284 * testsuite/gas/mips/mips16-pcrel-addend-9.l: New stderr output.
1285 * testsuite/gas/mips/mips16-pcrel-absolute-4.l: New stderr
1286 output.
1287 * testsuite/gas/mips/mips16-pcrel-absolute-6.l: New stderr
1288 output.
1289 * testsuite/gas/mips/mips16-pcrel-0.s: New test source.
1290 * testsuite/gas/mips/mips16-pcrel-1.s: New test source.
1291 * testsuite/gas/mips/mips16-pcrel-2.s: New test source.
1292 * testsuite/gas/mips/mips16-pcrel-3.s: New test source.
1293 * testsuite/gas/mips/mips16-pcrel-4.s: New test source.
1294 * testsuite/gas/mips/mips16-pcrel-5.s: New test source.
1295 * testsuite/gas/mips/mips16-pcrel-delay-0.s: New test source.
1296 * testsuite/gas/mips/mips16-pcrel-delay-1.s: New test source.
1297 * testsuite/gas/mips/mips16-pcrel-addend-4.s: New test source.
1298 * testsuite/gas/mips/mips16-pcrel-addend-5.s: New test source.
1299 * testsuite/gas/mips/mips16-pcrel-addend-6.s: New test source.
1300 * testsuite/gas/mips/mips16-pcrel-addend-7.s: New test source.
1301 * testsuite/gas/mips/mips16-pcrel-addend-8.s: New test source.
1302 * testsuite/gas/mips/mips16-pcrel-addend-9.s: New test source.
1303 * testsuite/gas/mips/mips16-pcrel-absolute-2.s: New test.
1304 * testsuite/gas/mips/mips16-pcrel-absolute-3.s: New test.
1305 * testsuite/gas/mips/mips16-pcrel-absolute-4.s: New test.
1306 * testsuite/gas/mips/mips16-pcrel-absolute-5.s: New test.
1307 * testsuite/gas/mips/mips16-pcrel-absolute-6.s: New test.
1308 * testsuite/gas/mips/mips16-pcrel-absolute-7.s: New test.
1309 * testsuite/gas/mips/mips.exp: Run the new tests.
1310
e78bb25c
NC
13112017-05-03 Nick Clifton <nickc@redhat.com>
1312
1313 PR gas/20941
1314 * symbols.c (snapshot_symbol): Handle the case where
1315 resolve_expression returns a local symbol.
1316
82d808ed
MR
13172017-05-02 Maciej W. Rozycki <macro@imgtec.com>
1318
1319 * config/tc-mips.c (append_insn): Call `symbol_append' for any
1320 expression symbol created for MIPS16 relaxation.
1321 (match_mips16_insn): Don't encode a constant value as an
1322 immediate with a PC-relative operand.
1323
1324 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: New test.
1325 * testsuite/gas/mips/mips16-branch-absolute-1.d: New test.
1326 * testsuite/gas/mips/mips16-branch-absolute-2.d: New test.
1327 * testsuite/gas/mips/mips16-branch-absolute-addend-1.d: New
1328 test.
1329 * testsuite/gas/mips/mips16-branch-absolute-n32-1.d: New test.
1330 * testsuite/gas/mips/mips16-branch-absolute-n32-2.d: New test.
1331 * testsuite/gas/mips/mips16-branch-absolute-addend-n32-1.d: New
1332 test.
1333 * testsuite/gas/mips/mips16-branch-absolute-n64-1.d: New test.
1334 * testsuite/gas/mips/mips16-branch-absolute-n64-2.d: New test.
1335 * testsuite/gas/mips/mips16-branch-absolute-addend-n64-1.d: New
1336 test.
1337 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: New stderr
1338 output.
1339 * testsuite/gas/mips/mips16-pcrel-absolute-1.s: New test source.
1340 * testsuite/gas/mips/mips16-branch-absolute-1.s: New test
1341 source.
1342 * testsuite/gas/mips/mips16-branch-absolute-2.s: New test
1343 source.
1344 * testsuite/gas/mips/mips16-branch-absolute-addend-1.s: New test
1345 source.
1346 * testsuite/gas/mips/mips.exp: Run the new tests.
1347
14f72d45
MR
13482017-04-27 Maciej W. Rozycki <macro@imgtec.com>
1349
1350 * config/tc-mips.c (mips16_pcrel_val): New function, factored
1351 out from...
1352 (mips16_extended_frag): ... here.
1353 (md_convert_frag): Use `mips16_pcrel_val' rather than repeated
1354 code in MIPS16 relaxation, with `stretch' hardcoded to 0.
1355
1425c41d
MR
13562017-04-27 Maciej W. Rozycki <macro@imgtec.com>
1357
1358 * config/tc-mips.c (RELAX_MIPS16_LONG_BRANCH): Rename to...
1359 (RELAX_MIPS16_ALWAYS_EXTENDED): ... this.
1360 (RELAX_MIPS16_MARK_LONG_BRANCH): Rename to...
1361 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED): ... this.
1362 (RELAX_MIPS16_CLEAR_LONG_BRANCH): Rename to...
1363 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): ... this.
1364 (mips16_extended_frag): Adjust accordingly.
1365
f2d830a5
AM
13662017-04-27 Alan Modra <amodra@gmail.com>
1367
1368 * symbols.c (S_FORCE_RELOC): Separate section and symbol tests.
1369
ce8ad872
MR
13702017-04-26 Maciej W. Rozycki <macro@imgtec.com>
1371
1372 * config/tc-mips.c (RELAX_ENCODE): Add `PIC' flag.
1373 (RELAX_PIC): New macro.
1374 (RELAX_USE_SECOND, RELAX_SECOND_LONGER, RELAX_NOMACRO)
1375 (RELAX_DELAY_SLOT, RELAX_DELAY_SLOT_16BIT)
1376 (RELAX_DELAY_SLOT_SIZE_FIRST, RELAX_DELAY_SLOT_SIZE_SECOND):
1377 Shift bits.
1378 (RELAX_BRANCH_ENCODE): Add `pic' flag.
1379 (RELAX_BRANCH_UNCOND, RELAX_BRANCH_LIKELY, RELAX_BRANCH_LINK)
1380 (RELAX_BRANCH_TOOFAR): Shift bits.
1381 (RELAX_BRANCH_PIC): New macro.
1382 (RELAX_MICROMIPS_ENCODE): Add `pic' flag.
1383 (RELAX_MICROMIPS_PIC): New macro.
1384 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
1385 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_NODS)
1386 (RELAX_MICROMIPS_RELAX32): Shift bits.
1387 (relax_close_frag): Pass `mips_pic' setting to RELAX_ENCODE.
1388 (append_insn): Pass `mips_pic' setting to RELAX_BRANCH_ENCODE
1389 and RELAX_MICROMIPS_ENCODE, and record it in `fx_tcbit2' of the
1390 first fixup created.
1391 (md_apply_fix) <BFD_RELOC_16_PCREL_S2>: Use `fx_tcbit2' of the
1392 fixup processed rather than `mips_pic' in choosing to relax an
1393 out of range branch to a jump.
1394 (relaxed_branch_length): Use the `pic' flag of the relaxed frag
1395 rather than `mips_pic'.
1396 (relaxed_micromips_32bit_branch_length): Likewise.
1397 (md_estimate_size_before_relax): Likewise.
1398 (md_convert_frag): Likewise.
1399
1400 * testsuite/gas/mips/option-pic-relax-0.d: New test.
1401 * testsuite/gas/mips/option-pic-relax-1.d: New test.
1402 * testsuite/gas/mips/option-pic-relax-2.d: New test.
1403 * testsuite/gas/mips/option-pic-relax-3.d: New test.
1404 * testsuite/gas/mips/option-pic-relax-3a.d: New test.
1405 * testsuite/gas/mips/option-pic-relax-4.d: New test.
1406 * testsuite/gas/mips/option-pic-relax-5.d: New test.
1407 * testsuite/gas/mips/option-pic-relax-2.l: New stderr output.
1408 * testsuite/gas/mips/option-pic-relax-3.l: New stderr output.
1409 * testsuite/gas/mips/option-pic-relax-4.l: New stderr output.
1410 * testsuite/gas/mips/option-pic-relax-5.l: New stderr output.
1411 * testsuite/gas/mips/option-pic-relax-0.s: New test source.
1412 * testsuite/gas/mips/option-pic-relax-1.s: New test source.
1413 * testsuite/gas/mips/option-pic-relax-2.s: New test source.
1414 * testsuite/gas/mips/option-pic-relax-3.s: New test source.
1415 * testsuite/gas/mips/option-pic-relax-4.s: New test source.
1416 * testsuite/gas/mips/option-pic-relax-5.s: New test source.
1417 * testsuite/gas/mips/mips.exp: Run the new tests.
1418
126124cc
CZ
14192017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
1420
1421 * testsuite/gas/arc/leave_enter.d: Update test.
1422 * testsuite/gas/arc/leave_enter.s: Likewise.
1423
be6a24d8
CZ
14242017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
1425
1426 * testsuite/gas/arc/b.d: Update test.
1427 * testsuite/gas/arc/noargs_hs.d: Likewise.
1428
adc1273c
MR
14292017-04-25 Maciej W. Rozycki <macro@imgtec.com>
1430
1431 * config/tc-mips.c (md_convert_frag): Correct
1432 BFD_RELOC_MIPS16_16_PCREL_S1 fixup size.
1433 * testsuite/gas/mips/mips16-branch-addend-4.d: New test.
1434 * testsuite/gas/mips/mips16-branch-addend-5.d: New test.
1435 * testsuite/gas/mips/mips16-branch-addend-5.l: New stderr
1436 output.
1437 * testsuite/gas/mips/mips16-branch-addend-4.s: New test source.
1438 * testsuite/gas/mips/mips16-branch-addend-5.s: New test source.
1439 * testsuite/gas/mips/mips.exp: Run the new tests.
1440
d28b6364
JM
14412017-04-25 Jose E. Marchesi <jose.marchesi@oracle.com>
1442
1443 PR gas/21407
1444 * config/tc-sparc.c (md_apply_fix): Do not transform `call'
1445 instructions into branch instructions in fixups generating
1446 additional relocations.
1447 * testsuite/gas/sparc/call-relax.s: New file.
1448 * testsuite/gas/sparc/call-relax.d: Likewise.
1449 * testsuite/gas/sparc/call-relax-aout.d: Likewise.
1450 * testsuite/gas/sparc/sparc.exp: Test call-relax and call-relax-aout.
1451
53445554
TP
14522017-04-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
1453
1454 * config/tc-arm.c (move_or_literal_pool): Remove code generating MOVS.
1455 Forbid MOV.W and MOVW if destination is SP or PC.
1456 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.s: Explain
1457 expectation of LDR not generating a MOVS for low registers and small
1458 constants. Add tests of MOVW generation.
1459 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Update
1460 expected disassembly.
1461
a8cc8a54
AM
14622017-04-22 Alan Modra <amodra@gmail.com>
1463
1464 * testsuite/gas/ppc/vle.s: Format. Add se_rfgi and e_sc.
1465 * testsuite/gas/ppc/vle.d: Update.
1466
792f174f
NC
14672017-04-21 Nick Clifton <nickc@redhat.com>
1468
1469 PR binutils/21380
1470 * testsuite/gas/aarch64/illegal-3.s: New file.
1471 * testsuite/gas/aarch64/illegal-3.d: New file.
1472
ef85eab0
AM
14732017-04-11 Alan Modra <amodra@gmail.com>
1474
1475 * config/tc-ppc.c (md_show_usage): Delete mention of -mhtm.
1476 * testsuite/gas/ppc/htm.d: Pass -mpower8 and -Mpower8.
1477
947fa914
MF
14782017-04-10 Max Filippov <jcmvbkbc@gmail.com>
1479
1480 * config/tc-xtensa.c (xtensa_maybe_create_literal_pool_frag):
1481 Initialize lps->frag_count with auto_litpool_limit.
1482 (xg_promote_candidate_litpool): New function.
1483 (xtensa_move_literals): Extract candidate litpool promotion code
1484 into separate function. Call it for all possible found
1485 candidates.
1486 (xtensa_switch_to_literal_fragment): Drop 'recursive' flag and
1487 call to xtensa_mark_literal_pool_location that it guards.
1488 Replace it with call to xtensa_maybe_create_literal_pool_frag.
1489 Initialize pool_location with created literal pool candidate.
1490 * testsuite/gas/xtensa/all.exp: Add new tests.
1491 * testsuite/gas/xtensa/auto-litpools-first1.d: New test results.
1492 * testsuite/gas/xtensa/auto-litpools-first1.s: New test.
1493 * testsuite/gas/xtensa/auto-litpools-first2.d: New test results.
1494 * testsuite/gas/xtensa/auto-litpools-first2.s: New test.
1495 * testsuite/gas/xtensa/auto-litpools.d: Fix offsets changed due
1496 to additional jump instruction.
1497
ac8f0f72
AM
14982017-04-07 Alan Modra <amodra@gmail.com>
1499
1500 * testsuite/gas/ppc/altivec2.s: Delete E6500 vector insns.
1501 * testsuite/gas/ppc/altivec2.d: Adjust to suit.
1502
498e3442
AM
15032017-04-07 Alan Modra <amodra@gmail.com>
1504
1505 * testsuite/gas/elf/section12a.d: Don't expect alignment of 1
1506 for .mbind.text.
1507
62ecb94c
PC
15082017-04-06 Pip Cet <pipcet@gmail.com>
1509
1510 * testsuite/gas/wasm32/allinsn.d: Adjust test for disassembler
1511 changes.
1512 * testsuite/gas/wasm32/disass.d: New test.
1513 * testsuite/gas/wasm32/disass.s: New test.
1514 * testsuite/gas/wasm32/disass-2.d: New test.
1515 * testsuite/gas/wasm32/disass-2.s: New test.
1516 * testsuite/gas/wasm32/reloc.d: Adjust test for changed reloc
1517 names.
1518 * testsuite/gas/wasm32/reloc.s: Update test for changed assembler
1519 syntax.
1520 * testsuite/gas/wasm32/wasm32.exp: Run new tests. Expect allinsn
1521 test to succeed.
1522
a91e1603
L
15232017-04-04 H.J. Lu <hongjiu.lu@intel.com>
1524
1525 * NEWS: Mention support for ELF SHF_GNU_MBIND.
1526 * config/obj-elf.c (section_match): New.
1527 (get_section): Match both sh_info and group name.
1528 (obj_elf_change_section): Add argument for sh_info. Pass both
1529 sh_info and group name to get_section. Issue an error for
1530 SHF_GNU_MBIND section without SHF_ALLOC. Set sh_info.
1531 (obj_elf_parse_section_letters): Set SHF_GNU_MBIND for 'd'.
1532 (obj_elf_section): Support SHF_GNU_MBIND section info.
1533 * config/obj-elf.h (obj_elf_change_section): Add argument for
1534 sh_info.
1535 * config/tc-arm.c (start_unwind_section): Pass 0 as sh_info to
1536 obj_elf_change_section.
1537 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1538 * config/tc-microblaze.c (microblaze_s_data): Likewise.
1539 (microblaze_s_sdata): Likewise.
1540 (microblaze_s_rdata): Likewise.
1541 (microblaze_s_bss): Likewise.
1542 * config/tc-mips.c (s_change_section): Likewise.
1543 * config/tc-msp430.c (msp430_profiler): Likewise.
1544 * config/tc-rx.c (parse_rx_section): Likewise.
1545 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
1546 * doc/as.texinfo: Document 'd' for SHF_GNU_MBIND.
1547 * testsuite/gas/elf/elf.exp: Run section12a, section12b and
1548 section13.
1549 * testsuite/gas/elf/section10.d: Updated.
1550 * testsuite/gas/elf/section10.s: Likewise.
1551 * testsuite/gas/elf/section12.s: New file.
1552 * testsuite/gas/elf/section12a.d: Likewise.
1553 * testsuite/gas/elf/section12b.d: Likewise.
1554 * testsuite/gas/elf/section13.l: Likewise.
1555 * testsuite/gas/elf/section13.d: Likewise.
1556 * testsuite/gas/elf/section13.s: Likewise.
1557
c41cf6fd
PD
15582017-04-03 Palmer Dabbelt <palmer@dabbelt.com>
1559
1560 * config/tc-riscv.c (riscv_clear_subsets): Cast argument to free to
1561 avoid const warnings.
1562
fecb9c46
PD
15632017-03-30 Palmer Dabbelt <palmer@dabbelt.com>
1564
1565 * config/tc-riscv.c (riscv_clear_subsets): New function.
1566 (riscv_add_subset): Call riscv_clear_subsets and riscv_set_rvc to
1567 clear RVC when it's been previously set.
1568
dc1e4d6d
NC
15692017-03-31 Nick Clifton <nickc@redhat.com>
1570
1571 PR gas/21333
1572 * config/tc-s390.c (tc_s390_fix_adjustable): Allow non pc-relative
1573 fixups in mergeable sections to be adjusted.
1574
f96bd6c2
PC
15752017-03-30 Pip Cet <pipcet@gmail.com>
1576
1577 * config/tc-wasm32.h: New file: Add WebAssembly assembler target.
1578 * config/tc-wasm32.c: New file: Add WebAssembly assembler target.
1579 * Makefile.am: Add WebAssembly assembler target.
1580 * configure.tgt: Add WebAssembly assembler target.
1581 * doc/c-wasm32.texi: New file: Start documenting WebAssembly
1582 assembler.
1583 * doc/all.texi: Define WASM32.
1584 * doc/as.texinfo: Add WebAssembly entries.
1585 * NEWS: Mention the new support.
1586 * Makefile.in: Regenerate.
1587 * po/gas.pot: Regenerate.
1588 * po/POTFILES.in: Regenerate.
1589 * testsuite/gas/wasm32: New directory.
1590 * testsuite/gas/wasm32/allinsn.d: New file.
1591 * testsuite/gas/wasm32/allinsn.s: New file.
1592 * testsuite/gas/wasm32/illegal.l: New file.
1593 * testsuite/gas/wasm32/illegal.s: New file.
1594 * testsuite/gas/wasm32/illegal-2.l: New file.
1595 * testsuite/gas/wasm32/illegal-2.s: New file.
1596 * testsuite/gas/wasm32/illegal-3.l: New file.
1597 * testsuite/gas/wasm32/illegal-3.s: New file.
1598 * testsuite/gas/wasm32/illegal-4.l: New file.
1599 * testsuite/gas/wasm32/illegal-4.s: New file.
1600 * testsuite/gas/wasm32/illegal-5.l: New file.
1601 * testsuite/gas/wasm32/illegal-5.s: New file.
1602 * testsuite/gas/wasm32/illegal-6.l: New file.
1603 * testsuite/gas/wasm32/illegal-6.s: New file.
1604 * testsuite/gas/wasm32/illegal-7.l: New file.
1605 * testsuite/gas/wasm32/illegal-7.s: New file.
1606 * testsuite/gas/wasm32/illegal-8.l: New file.
1607 * testsuite/gas/wasm32/illegal-8.s: New file.
1608 * testsuite/gas/wasm32/illegal-9.l: New file.
1609 * testsuite/gas/wasm32/illegal-9.s: New file.
1610 * testsuite/gas/wasm32/illegal-10.l: New file.
1611 * testsuite/gas/wasm32/illegal-10.s: New file.
1612 * testsuite/gas/wasm32/illegal-11.l: New file.
1613 * testsuite/gas/wasm32/illegal-11.s: New file.
1614 * testsuite/gas/wasm32/illegal-12.l: New file.
1615 * testsuite/gas/wasm32/illegal-12.s: New file.
1616 * testsuite/gas/wasm32/illegal-13.l: New file.
1617 * testsuite/gas/wasm32/illegal-13.s: New file.
1618 * testsuite/gas/wasm32/illegal-14.l: New file.
1619 * testsuite/gas/wasm32/illegal-14.s: New file.
1620 * testsuite/gas/wasm32/illegal-15.l: New file.
1621 * testsuite/gas/wasm32/illegal-15.s: New file.
1622 * testsuite/gas/wasm32/illegal-16.l: New file.
1623 * testsuite/gas/wasm32/illegal-16.s: New file.
1624 * testsuite/gas/wasm32/illegal-17.l: New file.
1625 * testsuite/gas/wasm32/illegal-17.s: New file.
1626 * testsuite/gas/wasm32/illegal-18.l: New file.
1627 * testsuite/gas/wasm32/illegal-18.s: New file.
1628 * testsuite/gas/wasm32/illegal-19.l: New file.
1629 * testsuite/gas/wasm32/illegal-19.s: New file.
1630 * testsuite/gas/wasm32/illegal-20.l: New file.
1631 * testsuite/gas/wasm32/illegal-20.s: New file.
1632 * testsuite/gas/wasm32/illegal-21.l: New file.
1633 * testsuite/gas/wasm32/illegal-21.s: New file.
1634 * testsuite/gas/wasm32/illegal-22.l: New file.
1635 * testsuite/gas/wasm32/illegal-22.s: New file.
1636 * testsuite/gas/wasm32/illegal-24.l: New file.
1637 * testsuite/gas/wasm32/illegal-24.s: New file.
1638 * testsuite/gas/wasm32/illegal-25.l: New file.
1639 * testsuite/gas/wasm32/illegal-25.s: New file.
1640 * testsuite/gas/wasm32/reloc.d: New file.
1641 * testsuite/gas/wasm32/reloc.s: New file.
1642 * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly
1643 architecture.
1644
52be03fd
AM
16452017-03-29 Alan Modra <amodra@gmail.com>
1646
1647 * config/tc-ppc.c (md_parse_option): Reject -mraw.
1648
9b753937
AM
16492017-03-27 Alan Modra <amodra@gmail.com>
1650
1651 PR 21303
1652 * testsuite/gas/ppc/pr21303.d,
1653 * testsuite/gas/ppc/pr21303.s: New test
1654 * testsuite/gas/ppc/ppc.exp: Run it.
1655
c0c31e91
RZ
16562017-03-27 Rinat Zelig <rinat@mellanox.com>
1657
1658 * testsuite/gas/arc/nps400-12.s: New file.
1659 * testsuite/gas/arc/nps400-12.d: New file.
1660
62785b09
TP
16612017-03-24 Thomas preud'homme <thomas.preudhomme@arm.com>
1662
1663 * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
1664 CPU_DEFAULT is defined.
1665
19683c04
PD
16662017-03-21 Palmer Dabbbelt <palmer@dabbelt.com>
1667
1668 * config/tc-riscv.c (md_show_usage): Remode defuct -m32, -m64,
1669 -msoft-float, -mhard-float, -mno-rvc, and -mrvc options; and don't
1670 print an invalid default ISA string.
1671 * doc/c-riscv.texi (OPTIONS): Add -fpic and -fno-pic options.
1672
24e5b4e6
MF
16732017-03-22 Max Filippov <jcmvbkbc@gmail.com>
1674
1675 * config/tc-xtensa.c (xtensa_relax_frag): Change fx_size of the
1676 reassigned fixup to size of jump instruction (3) and fx_r_type
1677 to BFD_RELOC_XTENSA_SLOT0_OP, as there's only one slot.
1678 (add_jump_to_trampoline): Search
1679 origfrag->tc_frag_data.slot_symbols for the slot with non-NULL
1680 symbol and use that slot instead of slot 0.
1681
2253c8f0
AK
16822017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1683
1684 * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
1685 from cpu_table. Remove vx2, and novx2 from cpu_flags.
1686
645d3342
RZ
16872017-03-21 Rinat Zelig <rinat@mellanox.com>
1688
1689 * testsuite/gas/arc/nps400-11.s: New file.
1690 * testsuite/gas/arc/nps400-11.d: New file.
1691
e406e428
NC
16922017-03-20 Nick Clifton <nickc@redhat.com>
1693
1694 * doc/as.texinfo (2byte): Note that if no expressions are present
1695 the directive does nothing. Emphasize that the output is
1696 unaligned, and that this can have an effect on the relocations
1697 generated.
1698 (4byte): Simplify description. Refer back to the 2byte
1699 description.
1700 (8byte): Likewise.
1701
d5e0ba9c
RE
17022017-03-20 Richard Earnshaw <rearnsha@arm.com>
1703
1704 * config/tc-arm.c (arm_fpus): Note entires that should not be
1705 documented.
1706 * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
1707 neon-fp16. Fix spelling error.
1708
d3375ddd
RE
17092017-03-20 Richard Earnshaw <rearnsha@arm.com>
1710
1711 * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
1712
2c52e2e8
RZ
17132017-03-16 Rinat Zelig <rinat@mellanox.com>
1714
1715 * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
1716 specially for ARCv2.
1717
b416fe87
KC
17182017-03-14 Kito Cheng <kito.cheng@gmail.com>
1719
1720 * config/tc-riscv.c (validate_riscv_insn): Add 'o' RVC immediate
1721 encoding format, which can accept 0-valued immediates.
1722 (riscv_ip): Likewise.
1723
7cb7b948
NC
17242017-03-15 Nick Clifton <nickc@redhat.com>
1725
1726 * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
1727 warning about discarding a const qualifier.
1728
d47c3ff7
KLC
17292017-03-02 Kuan-Lin Chen <rufus@andestech.com>
1730
1731 * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
1732
2aece2ba
KLC
17332017-03-02 Kuan-Lin Chen <rufus@andestech.com>
1734
1735 * config/tc-riscv.c (md_apply_fix): Set fx_frag and
1736 fx_next->fx_frag for CFA_advance_loc relocations.
1737
c1b465c9
KLC
17382017-03-02 Kuan-Lin Chen <rufus@andestech.com>
1739
1740 * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
1741 for CFA relocations.
1742
f955cccf
NC
17432017-03-13 Nick Clifton <nickc@redhat.com>
1744
1745 PR binutils/21202
1746 * config/tc-aarch64.c (reloc_table): Rename
1747 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC to
1748 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12. Rname
1749 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC to
1750 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
1751 (md_apply_fix): Likewise.
1752 (aarch64_force_relocation): Likewise.
1753 * testsuite/gas/aarch64/tls.d: Update regexp.
1754
8b1e5da1
NC
17552017-03-10 Tobin C. Harding <me@tobin.cc>
1756 Nick Clifton <nickc@redhat.com>
1757
1758 * doc/as.texinfo (2byte): Tidy up wording. Add note that
1759 overlarge values will produce a warning message and be trunacted.
1760 (4byte): Likewise.
1761
86fa6981
L
17622017-03-09 H.J. Lu <hongjiu.lu@intel.com>
1763
1764 * config/tc-i386.c (_i386_insn): Add dir_encoding and
1765 vec_encoding. Remove swap_operand and need_vrex.
1766 (extra_symbol_chars): Add '}'.
1767 (md_begin): Mark '}' with LEX_BEGIN_NAME. Allow '}' in
1768 mnemonic.
1769 (build_vex_prefix): Don't use 2-byte VEX encoding with
1770 {vex3}. Check dir_encoding and load.
1771 (parse_insn): Check pseudo prefixes. Set dir_encoding.
1772 (VEX_check_operands): Likewise.
1773 (match_template): Check dir_encoding and load.
1774 (parse_real_register): Set vec_encoding instead of need_vrex.
1775 (parse_register): Likewise.
1776 * doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
1777 {vex2}, {vex3} and {evex}. Remove ".s", ".d8" and ".d32"
1778 * testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
1779 * testsuite/gas/i386/pseudos.d: New file.
1780 * testsuite/gas/i386/pseudos.s: Likewise.
1781 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
1782 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
1783
4b8b687e
PB
17842017-03-08 Peter Bergner <bergner@vnet.ibm.com>
1785
1786 * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
1787 (objdump): Use the -Mpower8 option.
1788
1437d063
PB
17892017-03-08 Peter Bergner <bergner@vnet.ibm.com>
1790
1791 * testsuite/gas/ppc/power9.d <lnia> New test.
1792 * testsuite/gas/ppc/power9.s: Likewise.
1793
ea86f534
AM
17942017-03-07 Alan Modra <amodra@gmail.com>
1795
1796 * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
1797
2b841ec2
AM
17982017-03-07 Tobin C. Harding <me@tobin.cc>
1799 Alan Modra <amodra@gmail.com>
1800
1801 * doc/as.texinfo (2byte, 4byte, 8byte): Document.
1802 * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
1803
603555e5
L
18042017-03-06 H.J. Lu <hongjiu.lu@intel.com>
1805
1806 * config/tc-i386.c (cpu_arch): Add .cet.
1807 * doc/c-i386.texi: Document cet.
1808 * testsuite/gas/i386/cet-intel.d: New file.
1809 * testsuite/gas/i386/cet.d: Likewise.
1810 * testsuite/gas/i386/cet.s: Likewise.
1811 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
1812 * testsuite/gas/i386/x86-64-cet.d: Likewise.
1813 * testsuite/gas/i386/x86-64-cet.s: Likewise.
1814 * testsuite/gas/i386/i386.exp: Run Intel CET tests.
1815
1cccfb31
L
18162017-03-06 H.J. Lu <hongjiu.lu@intel.com>
1817
1818 * testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment.
1819 * testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
1820
ea0de82e
AM
18212017-03-06 Alan Modra <amodra@gmail.com>
1822
1823 * dw2gencfi.c (encoding_size): Return unsigned int.
1824 (emit_expr_encoded): Assert size matches reloc bitsize.
1825 (output_fde): Use unsigned for offset_size and addr_size. Set
1826 addr_size earlier and use in place of constant 4 and uses of
1827 DWARF2_FDE_RELOC_SIZE. Assert it matches reloc bitsize.
1828
9e1a8675
AM
18292017-03-06 Alan Modra <amodra@gmail.com>
1830
1831 * dw2gencfi.c: Wrap overlong lines. Add parens for emacs
1832 auto reformat. Formatting and whitespace fixes.
1833
49fced12
MW
18342017-03-05 Mark Wielaard <mark@klomp.org>
1835
1836 * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_strp instead of
1837 DW_FORM_string for DW_AT_name, DW_AT_comp_dir and DW_AT_producer.
1838 (out_debug_info): Accept symbols to name, comp_dir and producer in
1839 the .debug_str section and emit those offsets not full strings.
1840 (out_debug_str): New function that outputs the strings for name,
1841 comp_dir and producer in .debug_str and generates symbols to those
1842 strings.
1843 (out_debug_line): Create a .debug_str section if necessary and call
1844 out_debug_str before calling out_debug_info.
1845 * testsuite/gas/aarch64/dwarf.d: Add extra section symbol to expected
1846 output.
1847
9875b365
MR
18482017-03-02 Maciej W. Rozycki <macro@imgtec.com>
1849
1850 * write.c (relax_segment) <rs_org>: Only bail out if the fixed
1851 part of the frag has overrun the location requested.
1852
1853 * testsuite/gas/all/org-1.d: New test.
1854 * testsuite/gas/all/org-2.d: New test.
1855 * testsuite/gas/all/org-3.d: New test.
1856 * testsuite/gas/all/org-4.d: New test.
1857 * testsuite/gas/all/org-5.d: New test.
1858 * testsuite/gas/all/org-6.d: New test.
1859 * testsuite/gas/all/org-1.l: New stderr output.
1860 * testsuite/gas/all/org-2.l: New stderr output.
1861 * testsuite/gas/all/org-3.l: New stderr output.
1862 * testsuite/gas/all/org-1.s: New test source.
1863 * testsuite/gas/all/org-2.s: New test source.
1864 * testsuite/gas/all/org-3.s: New test source.
1865 * testsuite/gas/all/org-4.s: New test source.
1866 * testsuite/gas/all/org-5.s: New test source.
1867 * testsuite/gas/all/org-6.s: New test source.
1868 * testsuite/gas/all/gas.exp: Run the new tests.
1869
1870 * testsuite/gas/mips/org-1.d: New test.
1871 * testsuite/gas/mips/org-2.d: New test.
1872 * testsuite/gas/mips/org-3.d: New test.
1873 * testsuite/gas/mips/org-4.d: New test.
1874 * testsuite/gas/mips/org-5.d: New test.
1875 * testsuite/gas/mips/org-6.d: New test.
1876 * testsuite/gas/mips/org-7.d: New test.
1877 * testsuite/gas/mips/org-8.d: New test.
1878 * testsuite/gas/mips/org-9.d: New test.
1879 * testsuite/gas/mips/org-10.d: New test.
1880 * testsuite/gas/mips/org-11.d: New test.
1881 * testsuite/gas/mips/org-12.d: New test.
1882 * testsuite/gas/mips/org-1.l: New stderr output.
1883 * testsuite/gas/mips/org-4.l: New stderr output.
1884 * testsuite/gas/mips/org-5.l: New stderr output.
1885 * testsuite/gas/mips/org-6.l: New stderr output.
1886 * testsuite/gas/mips/org-10.l: New stderr output.
1887 * testsuite/gas/mips/org-1.s: New test source.
1888 * testsuite/gas/mips/org-2.s: New test source.
1889 * testsuite/gas/mips/org-3.s: New test source.
1890 * testsuite/gas/mips/org-4.s: New test source.
1891 * testsuite/gas/mips/org-5.s: New test source.
1892 * testsuite/gas/mips/org-6.s: New test source.
1893 * testsuite/gas/mips/org-7.s: New test source.
1894 * testsuite/gas/mips/org-8.s: New test source.
1895 * testsuite/gas/mips/org-9.s: New test source.
1896 * testsuite/gas/mips/org-10.s: New test source.
1897 * testsuite/gas/mips/org-11.s: New test source.
1898 * testsuite/gas/mips/org-12.s: New test source.
1899 * testsuite/gas/mips/mips.exp: Run the new tests.
1900
01cca2f9
SN
19012017-03-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1902
1903 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
1904
15c7c1d8
JB
19052017-02-28 Jan Beulich <jbeulich@suse.com>
1906
1907 * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
1908 VPCMPESTR{I,M}.
1909 * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
1910 * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
1911 of PCMPESTR{I,M}.
1912 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
1913 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
1914 * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Likewise.
1915 * testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d: Likewise.
1916 * testsuite/gas/i386/ilp32/x86-64-sse4_2.d: Likewise.
1917 * testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
1918 * testsuite/gas/i386/x86-64-avx.d: Likewise.
1919 * testsuite/gas/i386/x86-64-sse2avx.d: Likewise.
1920 * testsuite/gas/i386/x86-64-sse4_2-intel.d: Likewise.
1921 * testsuite/gas/i386/x86-64-sse4_2.d: Likewise.
1922
4ef97a1b
AM
19232017-02-28 Alan Modra <amodra@gmail.com>
1924
1925 * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
1926
7ba71655
AM
19272017-02-28 Alan Modra <amodra@gmail.com>
1928
1929 * config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
1930 (md_apply_fix): Remove fx_subsy check. Move code converting to
1931 pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA. Remove code
1932 emiiting errors on seeing fx_pcrel set on unexpected relocs, as
1933 that is done now by the generic code via..
1934 * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
1935 (TC_VALIDATE_FIX_SUB): Define.
1936
0e392101
MR
19372017-02-28 Maciej W. Rozycki <macro@imgtec.com>
1938
1939 * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
1940 * testsuite/gas/mips/jalr4.d: Adjust accordingly. Remove MIPSr6
1941 encoding patterns.
1942 * testsuite/gas/mips/jalr4-n64.d: Likewise.
1943 * testsuite/gas/mips/mipsr6@jalr4.d: New test.
1944 * testsuite/gas/mips/mipsr6@jalr4-n32.d: New test.
1945 * testsuite/gas/mips/mipsr6@jalr4-n64.d: New test.
1946
dd803a24
AM
19472017-02-25 Alan Modra <amodra@gmail.com>
1948
1949 * testsuite/gas/elf/strtab.s: Don't put directives on first
1950 column or continuation with labels not in first column.
1951
582e12bf
RS
19522017-02-24 Richard Sandiford <richard.sandiford@arm.com>
1953
1954 * doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
1955 * config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
1956 to be used with SVE registers.
1957 (parse_operands): Handle new SVE operands.
1958 (aarch64_features): Make "sve" require F16 rather than FP. Also
1959 require COMPNUM.
1960 * testsuite/gas/aarch64/sve.s: Add tests for new instructions.
1961 Include compnum tests.
1962 * testsuite/gas/aarch64/sve.d: Update accordingly.
1963 * testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
1964 * testsuite/gas/aarch64/sve-invalid.l: Update accordingly. Also
1965 update expected output for new FMOV and MOV alternatives.
1966
f482d304
RS
19672017-02-24 Richard Sandiford <richard.sandiford@arm.com>
1968
1969 * doc/c-aarch64.texi: Add a "compnum" entry.
1970 * config/tc-aarch64.c (aarch64_features): Likewise,
1971 * testsuite/gas/aarch64/advsimd-compnum.s: New test.
1972 * testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
1973
7db2c588
JB
19742017-02-24 Jan Beulich <jbeulich@suse.com>
1975
1976 * testsuite/gas/i386/opcode.s: Add alternative TEST forms.
1977 * testsuite/gas/i386/x86-64-opcode.s: Likewise.
1978 * testsuite/gas/i386/opcode.d: Adjust accordingly.
1979 * testsuite/gas/i386/opcode-intel.d: Likewise.
1980 * testsuite/gas/i386/x86-64-opcode.d: Likewise.
1981 * testsuite/gas/i386/ilp32/x86-64-opcode.d: Likewise.
1982
1b3cee56
SL
19832017-02-24 Sheldon Lobo <sheldon.lobo@oracle.com>
1984
1985 Test cases for the architecture level aware SPARC ASI work.
1986 * gas/testsuite/gas/sparc/sparc.exp: 2 new tests
1987 * gas/testsuite/gas/sparc/asi-bump-warn.s: New test
1988 * gas/testsuite/gas/sparc/asi-bump-warn.l: Likewise
1989 * gas/testsuite/gas/sparc/asi-arch-error.s: Likewise
1990 * gas/testsuite/gas/sparc/asi-arch-error.l: Likewise
1991
c1556ecd
MR
19922017-02-23 Maciej W. Rozycki <macro@imgtec.com>
1993
1994 * testsuite/gas/mips/jalr4.d: New test.
1995 * testsuite/gas/mips/jalr4-n32.d: New test.
1996 * testsuite/gas/mips/jalr4-n64.d: New test.
1997 * testsuite/gas/mips/jalr4.s: New test source.
1998 * testsuite/gas/mips/mips.exp: Run the new tests.
1999
1e9d41d4
SL
20002017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
2001
2002 Add support for associating SPARC ASIs with an architecture level.
2003 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
2004
946416fc
JB
20052017-02-23 Jan Beulich <jbeulich@suse.com>
2006
2007 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
2008 of symbols as expression.
2009
20102017-02-23 Jan Beulich <jbeulich@suse.com>
4c5b8d1e
JB
2011
2012 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.d: Add 32- and 16-
2013 bit GPR forms of BNDCL, BNDCU, and BNDCN. Add RSP-as-index
2014 Intel syntax forms of BNDMK, BNDSTX, and BNDLDX.
2015 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust.
2016
5ff6a06c
MR
20172017-02-22 Maciej W. Rozycki <macro@imgtec.com>
2018
2019 * ecoff.c (ecoff_directive_end) [md_flush_pending_output]: Call
2020 `md_flush_pending_output'.
2021 * config/tc-mips.c (s_mips_end) [md_flush_pending_output]: Call
2022 `md_flush_pending_output' unconditionally.
2023 * testsuite/gas/mips/debug-label-end-1.d: New test.
2024 * testsuite/gas/mips/debug-label-end-2.d: New test.
2025 * testsuite/gas/mips/debug-label-end-3.d: New test.
2026 * testsuite/gas/mips/debug-label-end.s: New test source.
2027 * testsuite/gas/mips/mips.exp: Run the new tests.
2028
25890fc2
HPN
20292017-02-22 Hans-Peter Nilsson <hp@axis.com>
2030
2031 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
2032 targets yielding an error message matching "too complex".
2033
5ffbd927
NC
20342017-02-22 Nick Clifton <nickc@redhat.com>
2035
2036 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
2037
b0c53498
JB
20382017-02-21 Jan Beulich <jbeulich@suse.com>
2039
2040 * expr.c (operand): Handle missing operand to .startof.() and
2041 .sizeof.().
2042 * testsuite/gas/all/err-sizeof.s: New.
2043
ece5dcc1
AM
20442017-02-20 Alan Modra <amodra@gmail.com>
2045
2046 PR 21118
2047 * NEWS: Revise powerpc register check.
2048 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
2049 register expression" a warning.
2050
37f9ec62
MR
20512017-02-17 Maciej W. Rozycki <macro@imgtec.com>
2052
2053 * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
2054 * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
2055 * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
2056 * testsuite/gas/mips/aent-2.d: New test.
2057 * testsuite/gas/mips/aent-mdebug.d: New test.
2058 * testsuite/gas/mips/aent-mdebug-2.d: New test.
2059 * testsuite/gas/mips/mips.exp: Run the new tests.
2060
773fb663
RS
20612017-02-15 Richard Sandiford <richard.sandiford@arm.com>
2062
2063 * testsuite/gas/aarch64/sve-sysreg.s,
2064 testsuite/gas/aarch64/sve-sysreg.d,
2065 testsuite/gas/aarch64/sve-sysreg-invalid.d,
2066 testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
2067
7a2114e7
RS
20682017-02-15 Richard Sandiford <richard.sandiford@arm.com>
2069
2070 * doc/c-aarch64.texi: Fix sve entry.
2071
cc07cda6
CZ
20722017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
2073
2074 * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
2075 information from input expression.
2076 (assemble_insn): Make sure pcrel is correctly set.
2077 (arc_pcrel_adjust): Compensate for PCL rounding.
2078 * testsuite/gas/arc/relax-add01.d: New file.
2079 * testsuite/gas/arc/relax-add01.s: Likewise.
2080 * testsuite/gas/arc/relax-add02.d: Likewise.
2081 * testsuite/gas/arc/relax-add02.s: Likewise.
2082 * testsuite/gas/arc/relax-add03.d: Likewise.
2083 * testsuite/gas/arc/relax-add03.s: Likewise.
2084 * testsuite/gas/arc/relax-add04.d: Likewise.
2085 * testsuite/gas/arc/relax-add04.s: Likewise.
2086 * testsuite/gas/arc/relax-ld01.d: Likewise.
2087 * testsuite/gas/arc/relax-ld01.s: Likewise.
2088 * testsuite/gas/arc/relax-ld02.d: Likewise.
2089 * testsuite/gas/arc/relax-ld02.s: Likewise.
2090 * testsuite/gas/arc/relax-mov01.d: Likewise.
2091 * testsuite/gas/arc/relax-mov01.s: Likewise.
2092 * testsuite/gas/arc/relax-mov02.d: Likewise.
2093 * testsuite/gas/arc/relax-mov02.s: Likewise.
2094 * testsuite/gas/arc/relax-mpy01.d: Likewise.
2095 * testsuite/gas/arc/relax-mpy01.s: Likewise.
2096 * testsuite/gas/arc/relax-sub01.d: Likewise.
2097 * testsuite/gas/arc/relax-sub01.s: Likewise.
2098 * testsuite/gas/arc/relax-sub02.d: Likewise.
2099 * testsuite/gas/arc/relax-sub02.s: Likewise.
2100 * testsuite/gas/arc/relax-sub03.d: Likewise.
2101 * testsuite/gas/arc/relax-sub03.s: Likewise.
2102 * testsuite/gas/arc/relax-sub04.d: Likewise.
2103 * testsuite/gas/arc/relax-sub04.s: Likewise.
2104
66a5a740
VG
21052017-02-09 Vineet Gupta <vgupta@synopsys.com>
2106
2107 * testsuite/gas/arc/st.d: Update for 0xe having a name now
2108
7e0de605
AM
21092017-02-14 Alan Modra <amodra@gmail.com>
2110
2111 PR 21118
2112 * NEWS: Mention powerpc register checks.
2113 * config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
2114 (pre_defined_registers): Delete fpscr and pmr entries. Set
2115 register type in flags.
2116 (cr_names): Set type in flags.
2117 (reg_name_search): Return pointer to struct pd_reg rather than value.
2118 (register_name): Adjust to suit. Set X_md from flags.
2119 (ppc_parse_name): Likewise.
2120 (ppc_optimize_expr): New function.
2121 (md_assemble): Verify expresion reg flags match operand.
2122 * config/tc-ppc.h (md_optimize_expr): Define.
2123 (ppc_optimize_expr): Declare.
2124
606a935e
AM
21252017-02-14 Alan Modra <amodra@gmail.com>
2126
2127 * testsuite/gas/ppc/cell.s: Correct invalid registers.
2128 * testsuite/gas/ppc/vle-simple-1.s: Likewise.
2129 * testsuite/gas/ppc/vle-simple-2.s: Likewise.
2130
3c6452ae
TP
21312017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2132
2133 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
2134 syntax.
2135 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
2136 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
2137
dce75bf9
NP
21382017-02-10 Nicholas Piggin <npiggin@gmail.com>
2139
2140 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
2141
73201331
MR
21422017-02-02 Maciej W. Rozycki <macro@imgtec.com>
2143
2144 * doc/as.texinfo (Overview): Select MIPS options for man page
2145 inclusion.
2146
8b10b0b3
MR
21472017-01-30 Maciej W. Rozycki <macro@imgtec.com>
2148
2149 * config/tc-mips.c (mips_ignore_branch_isa): New variable.
2150 (options): Add OPTION_IGNORE_BRANCH_ISA and
2151 OPTION_NO_IGNORE_BRANCH_ISA enum values.
2152 (md_longopts): Add "mignore-branch-isa" and
2153 "mno-ignore-branch-isa" options.
2154 (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
2155 OPTION_NO_IGNORE_BRANCH_ISA.
2156 (fix_bad_cross_mode_branch_p): Return FALSE if
2157 `mips_ignore_branch_isa' has been set.
2158 (md_show_usage): Add `-mignore-branch-isa' and
2159 `-mno-ignore-branch-isa'.
2160
2161 * doc/as.texinfo (Target MIPS options): Add
2162 `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
2163 (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
2164 * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
2165 `-mno-ignore-branch-isa' options.
2166
2167 * testsuite/gas/mips/branch-local-ignore-2.d: New test.
2168 * testsuite/gas/mips/branch-local-ignore-3.d: New test.
2169 * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
2170 * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
2171 * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
2172 * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
2173 * testsuite/gas/mips/mips.exp: Run the new tests.
2174
7795a8f8
MR
21752017-01-30 Maciej W. Rozycki <macro@imgtec.com>
2176
2177 * testsuite/gas/mips/branch-local-2.d: New test.
2178 * testsuite/gas/mips/branch-local-3.d: New test.
2179 * testsuite/gas/mips/branch-local-n32-2.d: New test.
2180 * testsuite/gas/mips/branch-local-n32-3.d: New test.
2181 * testsuite/gas/mips/branch-local-n64-2.d: New test.
2182 * testsuite/gas/mips/branch-local-n64-3.d: New test.
2183 * testsuite/gas/mips/mips.exp: Fold corresponding list tests
2184 into the new tests.
2185
8ec5cf65
AD
21862017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
2187
2188 PR 21056
2189 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
2190 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
2191
de514cf3
SH
21922017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
2193
2194 * configure.tgt (aarch64*-*-rtems*): Remove.
2195 (bfin-*-rtems*): Likewise.
2196 (h8300-*-rtems*): Likewise.
2197 (i386-*-rtems*): Likewise.
2198 (m32c-*-rtems*): Likewise.
2199 (m32r-*-rtems*): Likewise.
2200 (m68k-*-rtems*): Likewise.
2201 (mips-*-rtems*): Likewise.
2202 (nios2-*-rtems*): Likewise.
2203 (ppc-*-rtems*): Likewise.
2204 (sh-*-rtems*): Likewise.
2205 (sparc64-*-rtems*): Likewise.
2206 (sparc-*-rtems*): Likewise.
2207 (*-*-rtems*) Use ELF format.
2208
3e97ba8a
SH
22092017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
2210
2211 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
2212
850d84f6
SH
22132017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
2214
2215 * configure.tgt (sh-*-rtemscoff*): Remove.
2216
666c6aff
SH
22172017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
2218
2219 * configure.tgt (riscv*-*-*): Remove em=linux.
2220
33eaf5de
NC
22212017-01-23 Sebastian Rasmussen <sebras@gmail.com>
2222
2223 PR gas/21072
2224 * asintl.h: Fix spelling mistakes and typos.
2225 * atof-generic.c: Likewise.
2226 * bit_fix.h: Likewise.
2227 * config/atof-ieee.c: Likewise.
2228 * config/bfin-defs.h: Likewise.
2229 * config/bfin-parse.y: Likewise.
2230 * config/obj-coff-seh.h: Likewise.
2231 * config/obj-coff.c: Likewise.
2232 * config/obj-evax.c: Likewise.
2233 * config/obj-macho.c: Likewise.
2234 * config/rx-parse.y: Likewise.
2235 * config/tc-aarch64.c: Likewise.
2236 * config/tc-alpha.c: Likewise.
2237 * config/tc-arc.c: Likewise.
2238 * config/tc-arm.c: Likewise.
2239 * config/tc-avr.c: Likewise.
2240 * config/tc-bfin.c: Likewise.
2241 * config/tc-cr16.c: Likewise.
2242 * config/tc-cris.c: Likewise.
2243 * config/tc-crx.c: Likewise.
2244 * config/tc-d10v.c: Likewise.
2245 * config/tc-d30v.c: Likewise.
2246 * config/tc-dlx.c: Likewise.
2247 * config/tc-epiphany.c: Likewise.
2248 * config/tc-frv.c: Likewise.
2249 * config/tc-hppa.c: Likewise.
2250 * config/tc-i370.c: Likewise.
2251 * config/tc-i386-intel.c: Likewise.
2252 * config/tc-i386.c: Likewise.
2253 * config/tc-i960.c: Likewise.
2254 * config/tc-ia64.c: Likewise.
2255 * config/tc-m32r.c: Likewise.
2256 * config/tc-m68hc11.c: Likewise.
2257 * config/tc-m68k.c: Likewise.
2258 * config/tc-mcore.c: Likewise.
2259 * config/tc-mep.c: Likewise.
2260 * config/tc-mep.h: Likewise.
2261 * config/tc-metag.c: Likewise.
2262 * config/tc-microblaze.c: Likewise.
2263 * config/tc-mips.c: Likewise.
2264 * config/tc-mmix.c: Likewise.
2265 * config/tc-mn10200.c: Likewise.
2266 * config/tc-mn10300.c: Likewise.
2267 * config/tc-msp430.c: Likewise.
2268 * config/tc-msp430.h: Likewise.
2269 * config/tc-nds32.c: Likewise.
2270 * config/tc-nds32.h: Likewise.
2271 * config/tc-nios2.c: Likewise.
2272 * config/tc-nios2.h: Likewise.
2273 * config/tc-ns32k.c: Likewise.
2274 * config/tc-pdp11.c: Likewise.
2275 * config/tc-ppc.c: Likewise.
2276 * config/tc-pru.c: Likewise.
2277 * config/tc-rx.c: Likewise.
2278 * config/tc-s390.c: Likewise.
2279 * config/tc-score.c: Likewise.
2280 * config/tc-score7.c: Likewise.
2281 * config/tc-sh.c: Likewise.
2282 * config/tc-sh64.c: Likewise.
2283 * config/tc-sparc.c: Likewise.
2284 * config/tc-tic4x.c: Likewise.
2285 * config/tc-tic54x.c: Likewise.
2286 * config/tc-v850.c: Likewise.
2287 * config/tc-vax.c: Likewise.
2288 * config/tc-visium.c: Likewise.
2289 * config/tc-xgate.c: Likewise.
2290 * config/tc-xtensa.c: Likewise.
2291 * config/tc-z80.c: Likewise.
2292 * config/tc-z8k.c: Likewise.
2293 * config/te-vms.c: Likewise.
2294 * config/xtensa-relax.c: Likewise.
2295 * doc/as.texinfo: Likewise.
2296 * doc/c-arm.texi: Likewise.
2297 * doc/c-hppa.texi: Likewise.
2298 * doc/c-i370.texi: Likewise.
2299 * doc/c-i386.texi: Likewise.
2300 * doc/c-m32r.texi: Likewise.
2301 * doc/c-m68k.texi: Likewise.
2302 * doc/c-mmix.texi: Likewise.
2303 * doc/c-msp430.texi: Likewise.
2304 * doc/c-nds32.texi: Likewise.
2305 * doc/c-ns32k.texi: Likewise.
2306 * doc/c-riscv.texi: Likewise.
2307 * doc/c-rx.texi: Likewise.
2308 * doc/c-s390.texi: Likewise.
2309 * doc/c-tic6x.texi: Likewise.
2310 * doc/c-tilegx.texi: Likewise.
2311 * doc/c-tilepro.texi: Likewise.
2312 * doc/c-v850.texi: Likewise.
2313 * doc/c-xgate.texi: Likewise.
2314 * doc/c-xtensa.texi: Likewise.
2315 * dwarf2dbg.c: Likewise.
2316 * ecoff.c: Likewise.
2317 * itbl-ops.c: Likewise.
2318 * listing.c: Likewise.
2319 * macro.c: Likewise.
2320 * po/gas.pot: Likewise.
2321 * read.c: Likewise.
2322 * struc-symbol.h: Likewise.
2323 * symbols.h: Likewise.
2324 * testsuite/gas/arc/relocs-errors.err: Likewise.
2325 * write.c: Likewise.
2326
8069955e
NC
23272017-01-23 Nick Clifton <nickc@redhat.com>
2328
2329 * po/sv.po: Updated Swedish translation.
2330
9d46ce34
NC
23312017-01-20 Nick Clifton <nickc@redhat.com>
2332
2333 * config/tc-i386.c (parse_operands): Check for operand overflow
2334 before setting the unspecified bit.
2335
9e009953
MR
23362017-01-18 Maciej W. Rozycki <macro@imgtec.com>
2337
2338 PR gas/20649
2339 * config/tc-mips.c (pic_need_relax): Don't check for linkonce
2340 symbols, remove the `segtype' parameter.
2341 (mips_frob_file, md_estimate_size_before_relax): Adjust
2342 accordingly.
2343 (s_is_linkonce): Add an explanatory comment.
2344 * testsuite/gas/mips/comdat-reloc.d: New test.
2345 * testsuite/gas/mips/comdat-reloc.s: New test source.
2346 * testsuite/gas/mips/mips.exp: Run the new test.
2347
c13a63b0
SN
23482017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
2349
2350 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
2351 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
2352
2cedb9eb
BR
23532017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
2354
2355 PR 21059
2356 * config/bfin-lex.l: Support processing with flex 2.6.3.
2357 * itbl-lex.l: Likewise.
2358
1ec4b9f2
NS
23592017-01-18 Nathan Sidwell <nathan@acm.org>
2360
2361 * as.h (gas_assert): Use abort.
2362 (as_assert): Remove.
2363 (signal_init): Declare.
2364 * as.c (main): Call signal_init.
2365 * messages.c: #include <signal.h>
2366 (as_assert): Delete.
2367 (as_abort): Allow NULL FILE.
2368 (signal_crash): New.
2369 (signal_init): Register fatal signal handlers.
2370 * configure.ac: Check for strsignal.
2371 * config.in: Rebuilt.
2372 * configure: Rebuilt.
2373
01fabda4 23742017-01-17 Nick Clifton <nickc@redhat.com>
6aa1df2d
NC
2375
2376 * po/sv.po: Updated Swedish translation.
2377
620214f7
IT
23782017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2379
2380 * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
2381 (cpu_noarch): Add noavx512_vpopcntdq.
2382 * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
2383 * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
2384 * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
2385 * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
2386 * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
2387 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
2388 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
2389 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
2390
1181551e
NC
23912017-01-12 Nick Clifton <nickc@redhat.com>
2392
2393 * read.c (temp_ilp): New function. Installs a temporary input
2394 line pointer.
2395 (restore_ilp): New function. Restores the original input line
2396 pointer.
2397 * read.h (temp_ilp): Prototype.
2398 (restore_ilp): Prototype.
2399 * stabs.c (dot_func_p): Use bfd_boolean type.
2400 (generate_asm_file): Use temp_ilp and restore_ilp.
2401 (stabs_generate_asm_lineno): Likewise.
2402 (stabs_generate_asm_endfunc): Likewise.
2403
f2e2d2f5
JS
24042017-01-11 Jeremy Soller <jackpot51@gmail.com>
2405
2406 * configure.tgt: Add entry for i386-redox.
2407
07e8e623
NC
24082017-01-10 Nick Clifton <nickc@redhat.com>
2409
2410 * po/sv.po: Updated Swedish translation.
2411
1a94eb29
TG
24122017-01-10 Tristan Gingold <gingold@adacore.com>
2413
2414 * testsuite/gas/all/sleb128-8.d: Adjust test.
2415 * testsuite/gas/all/gas.exp (test_cond): Likewise.
2416
74def31d
TG
24172017-01-10 Tristan Gingold <gingold@adacore.com>
2418
2419 * read.c (emit_leb128_expr): Extended unsigned big number for
2420 sleb128.
2421 * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
2422 * testsuite/gas/all/sleb128.d: New test.
2423 * testsuite/gas/all/sleb128.s: New test source.
2424
a5ec5e3f
AW
24252017-01-09 Andrew Waterman <andrew@sifive.com>
2426
2427 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
2428 against constants.
2429 (md_apply_fix): Mark relocations against constants as "done."
2430
e294484e
AW
24312017-01-09 Andrew Waterman <andrew@sifive.com>
2432
2433 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
2434 against constants.
2435 (md_apply_fix): Mark relocations against constants as "done."
2436
6ec11ab9
PD
24372017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
2438 Kito Cheng <kito.cheng@gmail.com>
2439
2440 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
2441 Removed.
2442 (SDATA_START_SYMBOLS): Likewise.
2443
20b52c88
NC
24442017-01-09 Nick Clifton <nickc@redhat.com>
2445
2446 * po/sv.po: New Swedish translation.
2447 * configure.ac (ALL_LINGUAS): Add sv.
2448 * configure: Regenerate.
2449
01156111
AW
24502017-01-09 Andrew Waterman <andrew@sifive.com>
2451
2452 * config/tc-riscv.c (relaxed_branch_length): Use the long
2453 sequence when the target is a weak symbol.
2454
d74d4880
SN
24552017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2456
2457 * config/tc-aarch64.c (aarch64_features): Add rcpc.
2458 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
2459 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
2460 * testsuite/gas/aarch64/ldst-rcpc.d: This.
2461 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
2462 * testsuite/gas/aarch64/ldst-rcpc.s: This.
2463 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
2464
10ab38d9
NJ
24652017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
2466
2467 PR gas/20992
2468 * configure.tgt: Treat sparcv9 as sparc64.
2469
cc917fd9
KC
24702017-01-03 Kito Cheng <kito.cheng@gmail.com>
2471
2472 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
2473 extension.
2474 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
2475 enabled and no other ABI is specified.
2476
ddb2c6fd
DD
24772017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
2478
2479 * config/tc-pru.c (md_number_to_chars): Fix parameter to be
2480 valueT, as declared in tc.h.
2481 (md_apply_fix): Fix to work on 32-bit hosts.
2482
2571583a
AM
24832017-01-02 Alan Modra <amodra@gmail.com>
2484
2485 Update year range in copyright notice of all files.
2486
5c1ad6b5 2487For older changes see ChangeLog-2016
3499769a 2488\f
5c1ad6b5 2489Copyright (C) 2017 Free Software Foundation, Inc.
3499769a
AM
2490
2491Copying and distribution of this file, with or without modification,
2492are permitted in any medium without royalty provided the copyright
2493notice and this notice are preserved.
2494
2495Local Variables:
2496mode: change-log
2497left-margin: 8
2498fill-column: 74
2499version-control: never
2500End:
This page took 0.313691 seconds and 4 git commands to generate.