1 2017-06-07 Michael Collison <michael.collison@arm.com>
3 * config/tc-aarch64.c (reg_entry_reg_names): Add IP0,
4 IP1, FP, and LR as register aliases of register 16, 17, 29
6 * testsuite/gas/aarch64/diagnostic.l: Remove diagnostic
7 prohibiting register 'lr' which is now an alias.
8 * testsuite/gas/aarch64/diagnostic.s: Remove instruction
9 utilizing register 'lr' which is now an alias.
11 2017-06-06 Jiong Wang <jiong.wang@arm.com>
13 * config/tc-arm.c (reject_bad_reg): Allow REG_SP on ARMv8-A.
14 (parse_operands): Allow REG_SP for OP_oRRnpcsp and OP_RRnpcsp on
16 (do_co_reg): Allow REG_SP for Rd on ARMv8-A.
17 (do_t_add_sub): Likewise.
18 (do_t_mov_cmp): Likewise.
20 * testsuite/gas/arm/ld-sp-warn.l: Delete the warning on REG_SP as Rt for
22 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.d: New test.
23 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: New test.
24 * testsuite/gas/arm/sp-pc-validations-bad-t.d: Specifies -march=armv7-a.
25 * testsuite/gas/arm/sp-pc-validations-bad-t.s: Remove ".arch armv7-a".
26 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v7.d: New test.
27 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v7.l: New test.
28 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v8.d: New test.
29 * testsuite/gas/arm/sp-usage-thumb2-relax.s: New test.
30 * testsuite/gas/arm/strex-bad-t.d: Specifies -march=armv7-a.
32 2017-06-05 Jim Wilson <jim.wilson@linaro.org>
34 * config/tc-arm.c (arm_cpus): Delete falkor and qdf24xx entries.
35 * doc/c-arm.texi (-mcpu): Likewise.
37 2017-05-30 Anton Kolesov <anton.kolesov@synopsys.com>
39 * config/tc-arc.c (cpu_types): Include arc-cpu.def
41 2017-05-23 H.J. Lu <hongjiu.lu@intel.com>
43 * gas/testsuite/gas/i386/notrackbad.l: Updated for non-ELF
45 * gas/testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
47 2017-05-23 Claudiu Zissulescu <claziss@synopsys.com>
49 * config/tc-arc.c (md_apply_fix): Use as_bad_where.
50 (assemble_insn): Use as_bad.
52 2017-05-22 H.J. Lu <hongjiu.lu@intel.com>
54 * config/tc-i386.c (REX_PREFIX): Changed to 7.
55 (NOTRACK_PREFIX): New.
56 (MAX_PREFIXES): Changed to 8.
57 (_i386_insn): Add notrack_prefix.
58 (PREFIX_GROUP): Add PREFIX_DS.
59 (add_prefix): Return PREFIX_DS for DS_PREFIX_OPCODE.
60 (md_assemble): Check if NOTRACK prefix is supported.
61 (parse_insn): Set notrack_prefix and issue an error for
62 other prefixes after NOTRACK prefix.
63 * testsuite/gas/i386/i386.exp: Run tests for NOTRACK prefix.
64 * testsuite/gas/i386/notrack-intel.d: New file.
65 * testsuite/gas/i386/notrack.d: Likewise.
66 * testsuite/gas/i386/notrack.s: Likewise.
67 * testsuite/gas/i386/notrackbad.l: Likewise.
68 * testsuite/gas/i386/notrackbad.s: Likewise.
69 * testsuite/gas/i386/x86-64-notrack-intel.d: Likewise.
70 * testsuite/gas/i386/x86-64-notrack.d: Likewise.
71 * testsuite/gas/i386/x86-64-notrack.s: Likewise.
72 * testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
73 * testsuite/gas/i386/x86-64-notrackbad.s: Likewise.
75 2017-05-22 Jiong Wang <jiong.wang@arm.com>
77 * configure.tgt: Set "arch" to "aarch64" if ${cpu} equals "aarch64".
78 Recognize the new triplet name aarch64*-linux-gnu_ilp32.
79 * configure.ac: Output DEFAULT_ARCH macro for AArch64.
80 * configure: Regenerate.
81 * config/tc-aarch64.h (aarch64_after_parse_args): New declaration.
82 (md_after_parse_args): New define.
83 * config/tc-aarch64.c (aarch64_abi_type): New enumeration
85 (DEFAULT_ARCH): New define.
86 (aarch64_abi): Set default value to AARCH64_ABI_NONE.
87 (aarch64_after_parse_args): New function.
89 2017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
91 * config/tc-sparc.c (sparc_arch_table): Entries for `sparc6',
92 `v9m8' and `v8plusm8'.
93 (sparc_md_end): Handle SPARC_OPCODE_ARCH_M8.
94 (get_hwcap_name): Support the M8 hardware capabilities.
95 (sparc_ip): Handle new operand types.
96 * doc/c-sparc.texi (Sparc-Opts): Document -Av9m8, -Av8plusm8 and
97 -Asparc6, and the corresponding -xarch aliases.
98 * testsuite/gas/sparc/sparc6.s: New file.
99 * testsuite/gas/sparc/sparc6.d: Likewise.
100 * testsuite/gas/sparc/sparc6-diag.s: Likewise.
101 * testsuite/gas/sparc/sparc6-diag.l: Likewise.
102 * testsuite/gas/sparc/fpcmpshl.s: Likewise.
103 * testsuite/gas/sparc/fpcmpshl.d: Likewise.
104 * testsuite/gas/sparc/fpcmpshl-diag.s: Likewise.
105 * testsuite/gas/sparc/fpcmpshl-diag.l: Likewise.
106 * testsuite/gas/sparc/ldm-stm.s: Likewise.
107 * testsuite/gas/sparc/ldm-stm.d: Likewise.
108 * testsuite/gas/sparc/ldm-stm-diag.s: Likewise.
109 * testsuite/gas/sparc/ldm-stm-diag.l: Likewise.
110 * testsuite/gas/sparc/ldmf-stmf.s: Likewise.
111 * testsuite/gas/sparc/ldmf-stmf.d: Likewise.
112 * testsuite/gas/sparc/ldmf-stmf-diag.s: Likewise.
113 * testsuite/gas/sparc/ldmf-stmf-diag.l: Likewise.
114 * testsuite/gas/sparc/on.s: Likewise.
115 * testsuite/gas/sparc/on.d: Likewise.
116 * testsuite/gas/sparc/on-diag.s: Likewise.
117 * testsuite/gas/sparc/on-diag.l: Likewise.
118 * testsuite/gas/sparc/rle.s: Likewise.
119 * testsuite/gas/sparc/rle.d: Likewise.
120 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run new tests.
121 * testsuite/gas/sparc/rdasr.s: Add test for RDENTROPY.
122 * testsuite/gas/sparc/rdasr.d: Likewise.
124 2017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
126 * testsuite/gas/sparc/call-relax.d: Support 32-bit targets.
127 * testsuite/gas/sparc/sparc.exp (gas_64_check): Use -64 to
130 2017-05-19 Georg-Johann Lay <avr@gjlay.de>
133 * config/tc-avr.c (mcu_types): Add entries for: attiny416,
134 attiny417, attiny816, attiny817.
136 2017-05-18 Alan Modra <amodra@gmail.com>
138 * config/tc-aarch64.c: Don't compare booleans against TRUE or FALSE.
139 * config/tc-hppa.c: Likewise.
140 * config/tc-mips.c: Likewise.
141 * config/tc-score7.c: Likewise.
143 2017-05-16 Alan Modra <amodra@gmail.com>
145 * write.c (GENERIC_FORCE_RELOCATION_LOCAL): Define.
146 (TC_FORCE_RELOCATION_LOCAL): Use it.
147 (GENERIC_FORCE_RELOCATION_SUB_SAME): Define.
148 (TC_FORCE_RELOCATION_SUB_SAME): Use it.
149 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL,
150 TC_FORCE_RELOCATION_SUB_SAME): Use GENERIC defines.
151 * config/tc-aarch64.h: Similarly.
152 * config/tc-avr.h: Similarly.
153 * config/tc-cris.h: Similarly.
154 * config/tc-i386.h: Similarly.
155 * config/tc-i960.h: Similarly.
156 * config/tc-ia64.h: Similarly.
157 * config/tc-microblaze.h: Similarly.
158 * config/tc-mips.h: Similarly.
159 * config/tc-msp430.h: Similarly.
160 * config/tc-nds32.h: Similarly.
161 * config/tc-pru.h: Similarly.
162 * config/tc-riscv.h: Similarly.
163 * config/tc-rl78.h: Similarly.
164 * config/tc-s390.h: Similarly.
165 * config/tc-sh.h: Similarly.
166 * config/tc-sh64.h: Similarly.
167 * config/tc-sparc.h: Similarly.
168 * config/tc-xtensa.h: Similarly.
169 * config/tc-mn10300.h: Similarly.
170 (GENERIC_FORCE_RELOCATION_LOCAL): Define.
171 * config/tc-msp430.c (msp430_force_relocation_local): Modify to
172 be addition to rather than replacement of standard
173 TC_FORCE_RELOCATION_LOCAL.
175 2017-05-15 Nick Clifton <nickc@redhat.com>
178 * config/tc-arm.c (do_adr): If the ADR involves a thumb function
179 symbol, ensure that the T bit will be set.
181 (do_t_adr): Likewise.
182 * testsuite/gas/arm/pr21458.s: New test.
183 * testsuite/gas/arm/pr21458.d: New test driver.
185 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
187 * testsuite/gas/mips/mips16-pcrel-1.d: Remove `-mips3' from `as'
189 * testsuite/gas/mips/mips16-pcrel-pic-1.d: Likewise.
190 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
191 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
192 * testsuite/gas/mips/mips16-pcrel-n64-0.d: Likewise.
193 * testsuite/gas/mips/mips16-pcrel-n64-1.d: Likewise.
194 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
195 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
196 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: Likewise.
197 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: Likewise.
198 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Likewise.
199 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Likewise.
200 * testsuite/gas/mips/mips16-pcrel-addend-4.d: Likewise.
201 * testsuite/gas/mips/mips16-pcrel-addend-5.d: Likewise.
202 * testsuite/gas/mips/mips16-pcrel-addend-6.d: Likewise.
203 * testsuite/gas/mips/mips16-pcrel-addend-7.d: Likewise.
204 * testsuite/gas/mips/mips16-pcrel-addend-9.d: Likewise.
205 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: Likewise.
206 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: Likewise.
207 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: Likewise.
208 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d:
210 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d:
212 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: Likewise.
213 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: Likewise.
214 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: Likewise.
215 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: Likewise.
216 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: Likewise.
217 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: Likewise.
218 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: Likewise.
219 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: Likewise.
220 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: Likewise.
221 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: Likewise.
222 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: Likewise.
223 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d:
225 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d:
227 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d:
229 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d:
231 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d:
233 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d:
235 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
237 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
239 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: New test.
240 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: New test.
241 * testsuite/gas/mips/mips16e2@mips16-pcrel-2.d: New test.
242 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: New test.
243 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: New test.
244 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d: New
246 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d: New
248 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: New test.
249 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: New test.
250 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-2.d: New test.
251 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-3.d: New test.
252 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-6.d: New test.
253 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-7.d: New test.
254 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-2.d: New test.
255 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-3.d: New test.
256 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-6.d: New test.
257 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-7.d: New test.
258 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-8.d: New test.
259 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-9.d: New test.
260 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-8.d: New
262 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-9.d: New
264 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-8.d:
266 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-9.d:
268 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute.d: New test.
269 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-1.d: New
271 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-2.d: New
273 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-3.d: New
275 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-4.d: New
277 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-5.d: New
279 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-6.d: New
281 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-7.d: New
283 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-4.d: New
285 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-6.d: New
287 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-4.d: New
289 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-6.d: New
291 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-4.d:
293 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-6.d:
295 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-4.d:
297 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-6.d:
299 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-4.d:
301 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-6.d:
303 * testsuite/gas/mips/mips16-pcrel-1.l: Adjust line numbers.
304 * testsuite/gas/mips/mips16-pcrel-1.s: Adjust for alignment
305 preservation between MIPS16 and MIPS16e2 code.
306 * testsuite/gas/mips/mips.exp: Run MIPS16 relaxation tests over
307 all MIPS16 architectures.
309 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
311 * testsuite/gas/mips/mips16e2.d: New test.
312 * testsuite/gas/mips/mips16e2-mt.d: New test.
313 * testsuite/gas/mips/mips16e2-sub.d: New test.
314 * testsuite/gas/mips/mips16e2@mips16e2-sub.d: New test.
315 * testsuite/gas/mips/mips16e2-mt-sub.d: New test.
316 * testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: New test.
317 * testsuite/gas/mips/mips16e2-hilo.d: New test.
318 * testsuite/gas/mips/mips16e2-hilo-n32.d: New test.
319 * testsuite/gas/mips/mips16e2-reloc-error.d: New test.
320 * testsuite/gas/mips/mips16e2-imm-error.d: New test.
321 * testsuite/gas/mips/elf_ase_mips16e2.d: New test.
322 * testsuite/gas/mips/elf_ase_mips16e2-2.d: New test.
323 * testsuite/gas/mips/elf-rel9-mips16e2.d: New test.
324 * testsuite/gas/mips/mips16e2-lui.d: New test.
325 * testsuite/gas/mips/mips16e2@mips32r2-sync.d: New test.
326 * testsuite/gas/mips/mips16e2@mips32r2-sync-1.d: New test.
327 * testsuite/gas/mips/mips16e2@lui-2.d: New test.
328 * testsuite/gas/mips/mips16e2-reloc-error.l: New stderr output.
329 * testsuite/gas/mips/mips16e2-imm-error.l: New stderr output.
330 * testsuite/gas/mips/mips16e2@lui-2.l: New stderr output.
331 * testsuite/gas/mips/mips16e2.s: New test source.
332 * testsuite/gas/mips/mips16e2-mt.s: New test source.
333 * testsuite/gas/mips/mips16e2-sub.s: New test source.
334 * testsuite/gas/mips/mips16e2-mt-sub.s: New test source.
335 * testsuite/gas/mips/mips16e2-hilo.s: New test source.
336 * testsuite/gas/mips/mips16e2-reloc-error.s: New test source.
337 * testsuite/gas/mips/mips16e2-imm-error.s: New test source.
338 * testsuite/gas/mips/elf-rel9-mips16e2.s: New test source.
339 * testsuite/gas/mips/mips16e2-lui.s: New test source.
340 * testsuite/gas/mips/mips.exp: Expand `mips32r2-sync',
341 `mips32r2-sync-1', `lui-1' and `lui-2' tests across MIPS16e2
342 architectures. Run the new tests.
344 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
346 * testsuite/gas/mips/mips.exp (run_dump_test_arch): Add
348 (run_list_test_arch): Likewise.
349 (mips16e2-32, mips16e2-64): New architectures.
350 * testsuite/gas/mips/mips16e2-32@mips16-macro.d: New test.
351 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.d: New test.
352 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.d: New test.
353 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.d: New test.
354 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.d: New test.
355 * testsuite/gas/mips/mips16e2-32@mips16e-64.d: New test.
356 * testsuite/gas/mips/mips16e2-32@mips16-sub.d: New test.
357 * testsuite/gas/mips/mips16e2-32@mips16e-64-sub.d: New test.
358 * testsuite/gas/mips/mips16e2@relax-swap3.d: New test.
359 * testsuite/gas/mips/mips16-32@mips16-asmacro.d: Remove `source'
360 tag. Add `-I$srcdir/$subdir' to `as' flags.
361 * testsuite/gas/mips/mips16-64@mips16-asmacro.d: Likewise.
362 * testsuite/gas/mips/mips16e2-32@mips16-macro.l: New stderr
364 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.l: New stderr
366 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.l: New stderr
368 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.l: New stderr
370 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.l: New stderr
372 * testsuite/gas/mips/mips16-sub.s: Add `.set nomips16e2'.
373 * testsuite/gas/mips/mips16e-sub.s: Likewise.
374 * testsuite/gas/mips/mips16e-64-sub.s: Likewise.
375 * testsuite/gas/mips/mips16-asmacro.s: Remove `.set mips32'.
376 * testsuite/gas/mips/mips16-32@mips16-asmacro.s: New test
378 * testsuite/gas/mips/mips16-64@mips16-asmacro.s: New test
381 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
382 Matthew Fortune <matthew.fortune@imgtec.com>
383 Andrew Bennett <andrew.bennett@imgtec.com>
385 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `e2' flag.
386 (RELAX_MIPS16_E2): New macro.
387 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO)
388 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
389 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
390 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
391 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
392 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
393 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED, RELAX_MIPS16_MACRO)
394 (RELAX_MIPS16_MARK_MACRO, RELAX_MIPS16_CLEAR_MACRO): Shift bits.
395 (mips16_immed_extend): New prototype.
396 (options): Add OPTION_MIPS16E2 and OPTION_NO_MIPS16E2 enum
398 (md_longopts): Add "mmips16e2" and "mno-mips16e2" options.
399 (mips_ases): Add "mips16e2" entry.
400 (mips_set_ase): Handle MIPS16e2 ASE.
401 (insn_insert_operand): Explicitly handle immediates with MIPS16
402 instructions that require 32-bit encoding.
403 (is_opcode_valid_16): Pass enabled ASE bitmask on to
405 (validate_mips_insn): Explicitly handle immediates with MIPS16
406 instructions that require 32-bit encoding.
407 (operand_reg_mask) <OP_REG28>: Add handler.
408 (match_reg28_operand): New function.
409 (match_operand) <OP_REG28>: Add handler.
410 (append_insn): Pass ASE_MIPS16E2 setting to RELAX_MIPS16_ENCODE.
411 (match_mips16_insn): Handle MIPS16 instructions that require
412 32-bit encoding and `V' and `u' operand codes.
413 (mips16_ip): Allow any characters except from `.' in opcodes.
414 (mips16_immed_extend): Handle 9-bit immediates. Do not shuffle
415 immediates whose width is not one of these listed.
416 (md_estimate_size_before_relax): Handle MIPS16e2 relaxation.
417 (mips_relax_frag): Likewise.
418 (md_convert_frag): Likewise.
419 (mips_convert_ase_flags): Handle MIPS16e2 ASE.
421 * doc/as.texinfo (Target MIPS options): Add `-mmips16e2' and
422 `-mno-mips16e2' options.
423 (-mmips16e2, -mno-mips16e2): New options.
424 * doc/c-mips.texi (MIPS Options): Add `-mmips16e2' and
425 `-mno-mips16e2' options.
426 (MIPS ASE Instruction Generation Overrides): Add `.set mips16e2'
427 and `.set nomips16e2'.
429 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
431 * config/tc-mips.c (match_int_operand): Call
432 `match_out_of_range' before returning failure for 0x8000-0xffff
433 values conditionally allowed.
435 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
437 * config/tc-mips.c (match_int_operand): Call
438 `match_not_constant' before returning failure for a non-constant
439 16-bit immediate conditionally allowed.
441 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
443 * config/tc-mips.c (match_const_int): Call `match_out_of_range'
444 rather than `match_not_constant' for unrelocated operands
445 retrieved as an `O_big' expression.
446 (match_int_operand): Call `match_out_of_range' for relocatable
447 operands retrieved as an `O_big' expression.
448 (match_mips16_insn): Call `match_out_of_range' for relaxable
449 operands retrieved as an `O_big' expression.
450 * testsuite/gas/mips/addiu-error.d: New test.
451 * testsuite/gas/mips/mips16@addiu-error.d: New test.
452 * testsuite/gas/mips/micromips@addiu-error.d: New test.
453 * testsuite/gas/mips/break-error.d: New test.
454 * testsuite/gas/mips/lui-1.l: Adjust error message.
455 * testsuite/gas/mips/addiu-error.l: New stderr output.
456 * testsuite/gas/mips/mips16@addiu-error.l: New stderr output.
457 * testsuite/gas/mips/micromips@addiu-error.l: New stderr output.
458 * testsuite/gas/mips/break-error.l: New stderr output.
459 * testsuite/gas/mips/addiu-error.s: New test source.
460 * testsuite/gas/mips/break-error.s: New test source.
461 * testsuite/gas/mips/mips.exp: Run the new tests.
463 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
465 * config/tc-mips.c (match_mips16_insn): Remove the explicit
466 OT_INTEGER check before the `match_expression' call.
467 * testsuite/gas/mips/mips16-insn-e.l: Adjust messages.
468 * testsuite/gas/mips/mips16-32@mips16-insn-e.l: Likewise.
469 * testsuite/gas/mips/mips16-64@mips16-insn-e.l: Likewise.
470 * testsuite/gas/mips/mips16e-32@mips16-insn-e.l: Likewise.
471 * testsuite/gas/mips/mips16-reg-error.d: New test.
472 * testsuite/gas/mips/mips16-reg-error.l: New stderr output.
473 * testsuite/gas/mips/mips16-reg-error.s: New test source.
474 * testsuite/gas/mips/mips.exp: Run the new test.
476 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
478 * config/tc-mips.c (match_mips16_insn): Call
479 `match_not_constant' for a disallowed relocation operation.
480 * testsuite/gas/mips/mips16-reloc-error.d: New test.
481 * testsuite/gas/mips/mips16-reloc-error.l: New stderr output.
482 * testsuite/gas/mips/mips16-reloc-error.s: New test source.
483 * testsuite/gas/mips/mips.exp: Run the new test.
485 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
487 * testsuite/gas/mips/lui-1.d: New test.
488 * testsuite/gas/mips/lui-2.d: New test.
489 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
492 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
494 * config/tc-mips.c (match_const_int): Update description.
496 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
498 * doc/as.texinfo (-mips16, -no-mips16): Refer to `.module
499 mips16' rather than `.set mips16'.
500 (-mmicromips, -mno-micromips): Refer to `.module micromips' and
501 `.module nomicromips' rather than `.set micromips' and `.set
503 (-msmartmips, -mno-smartmips): Refer to `.module smartmips'
504 rather than `.set smartmips'.
505 * doc/c-mips.texi (MIPS Options): Refer to `.module mips16',
506 `.module micromips', `.module nomicromips' and `.module
507 smartmips' rather than `.set mips16', `.set micromips', `.set
508 nomicromips' and `.set smartmips' respectively.
510 2017-05-12 Maciej W. Rozycki <macro@imgtec.com>
511 Matthew Fortune <matthew.fortune@imgtec.com>
513 * config/tc-mips.c (mips_percent_op): Add "%gprel".
514 (mips16_percent_op): Add "%gp_rel".
515 * testsuite/gas/mips/elf-rel8.s:: Add `%gprel' forms.
516 * testsuite/gas/mips/elf-rel8-mips16.s: Add `%gp_rel' forms.
517 * testsuite/gas/mips/elf-rel8.d: Adjust accordingly.
518 * testsuite/gas/mips/elf-rel8-mips16.d: Likewise.
520 2017-05-12 Maciej W. Rozycki <macro@imgtec.com>
522 * testsuite/gas/mips/mips16.d: Adjust BREAK disassembly.
523 * testsuite/gas/mips/mips16-64@mips16.d: Likewise.
524 * testsuite/gas/mips/mips16-64.d: Likewise.
525 * testsuite/gas/mips/mips16-64@mips16-64.d: Likewise.
526 * testsuite/gas/mips/mips16-macro.d: Likewise.
527 * testsuite/gas/mips/mips16-64@mips16-macro.d: Likewise.
528 * testsuite/gas/mips/mips16-sub.d: Likewise.
529 * testsuite/gas/mips/mips16-32@mips16-sub.d: Likewise.
531 2017-05-11 Maciej W. Rozycki <macro@imgtec.com>
533 * testsuite/gas/mips/mips32r2-sync-1.d: New test.
534 * testsuite/gas/mips/micromips@mips32r2-sync-1.d: New test.
535 * testsuite/gas/mips/mips.exp: Run the new tests.
537 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
539 * testsuite/gas/mips/isa-override-2.d: New test.
540 * testsuite/gas/mips/mips1@isa-override-2.d: New test.
541 * testsuite/gas/mips/r3000@isa-override-2.d: New test.
542 * testsuite/gas/mips/r3900@isa-override-2.d: New test.
543 * testsuite/gas/mips/mips2@isa-override-2.d: New test.
544 * testsuite/gas/mips/mips32@isa-override-2.d: New test.
545 * testsuite/gas/mips/mips32r2@isa-override-2.d: New test.
546 * testsuite/gas/mips/mips32r3@isa-override-2.d: New test.
547 * testsuite/gas/mips/mips32r5@isa-override-2.d: New test.
548 * testsuite/gas/mips/mips32r6@isa-override-2.d: New test.
549 * testsuite/gas/mips/octeon3@isa-override-2.d: New test.
550 * testsuite/gas/mips/r3000@isa-override-2.l: Remove list test.
551 * testsuite/gas/mips/mips1@isa-override-2.s: Remove test source.
552 * testsuite/gas/mips/r3000@isa-override-2.s: Remove test source.
553 * testsuite/gas/mips/r3900@isa-override-2.s: Remove test source.
554 * testsuite/gas/mips/mips2@isa-override-2.s: Remove test source.
555 * testsuite/gas/mips/mips32@isa-override-2.s: Remove test
557 * testsuite/gas/mips/mips32r2@isa-override-2.s: Remove test
559 * testsuite/gas/mips/mips32r3@isa-override-2.s: Remove test
561 * testsuite/gas/mips/mips32r5@isa-override-2.s: Remove test
563 * testsuite/gas/mips/mips32r6@isa-override-2.s: Remove test
565 * testsuite/gas/mips/octeon3@isa-override-2.s: Remove test
567 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
570 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
572 * testsuite/gas/mips/mips16e-sub.d: Correct test name.
573 * testsuite/gas/mips/mips16-32@mips16e-sub.d: Likewise.
574 * testsuite/gas/mips/mips16-64@mips16e-sub.d: Likewise.
575 * testsuite/gas/mips/mips16e-64-sub.d: Likewise.
576 * testsuite/gas/mips/mips16-32@mips16e-64-sub.d: Likewise.
577 * testsuite/gas/mips/mips16-64@mips16e-64-sub.d: Likewise.
578 * testsuite/gas/mips/mips16e-32@mips16e-64-sub.d: Likewise.
580 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
582 * testsuite/gas/mips/mips16-macro.l: Remove list test.
584 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
586 * testsuite/gas/mips/r3900@ecoff@ld.d: Remove test.
587 * testsuite/gas/mips/mips2@ecoff@ld.d: Remove test.
588 * testsuite/gas/mips/mips32@ecoff@ld.d: Remove test.
589 * testsuite/gas/mips/mips32r2@ecoff@ld.d: Remove test.
590 * testsuite/gas/mips/r3900@ecoff@ld-forward.d: Remove test.
591 * testsuite/gas/mips/mips2@ecoff@ld-forward.d: Remove test.
592 * testsuite/gas/mips/mips32@ecoff@ld-forward.d: Remove test.
593 * testsuite/gas/mips/mips32r2@ecoff@ld-forward.d: Remove test.
594 * testsuite/gas/mips/mips1@ecoff@sd.d: Remove test.
595 * testsuite/gas/mips/r3000@ecoff@sd.d: Remove test.
596 * testsuite/gas/mips/r3900@ecoff@sd.d: Remove test.
597 * testsuite/gas/mips/mips2@ecoff@sd.d: Remove test.
598 * testsuite/gas/mips/mips32@ecoff@sd.d: Remove test.
599 * testsuite/gas/mips/mips32r2@ecoff@sd.d: Remove test.
600 * testsuite/gas/mips/mips1@ecoff@sd-forward.d: Remove test.
601 * testsuite/gas/mips/r3000@ecoff@sd-forward.d: Remove test.
602 * testsuite/gas/mips/r3900@ecoff@sd-forward.d: Remove test.
603 * testsuite/gas/mips/mips2@ecoff@sd-forward.d: Remove test.
604 * testsuite/gas/mips/mips32@ecoff@sd-forward.d: Remove test.
605 * testsuite/gas/mips/mips32r2@ecoff@sd-forward.d: Remove test.
607 2017-05-10 Claudiu Zissulescu <claziss@synopsys.com>
609 * testsuite/gas/arc/attr-arc600.d: New file.
610 * testsuite/gas/arc/attr-arc600_mul32x16.d: Likewise.
611 * testsuite/gas/arc/attr-arc600_norm.d: Likewise.
612 * testsuite/gas/arc/attr-arc601.d: Likewise.
613 * testsuite/gas/arc/attr-arc601_mul32x16.d: Likewise.
614 * testsuite/gas/arc/attr-arc601_mul64.d: Likewise.
615 * testsuite/gas/arc/attr-arc601_norm.d: Likewise.
616 * testsuite/gas/arc/attr-arc700.d: Likewise.
617 * testsuite/gas/arc/attr-arcem.d: Likewise.
618 * testsuite/gas/arc/attr-archs.d: Likewise.
619 * testsuite/gas/arc/attr-autodetect-1.d: Likewise.
620 * testsuite/gas/arc/attr-autodetect-1.s: Likewise.
621 * testsuite/gas/arc/attr-cpu-a601.d: Likewise.
622 * testsuite/gas/arc/attr-cpu-a601.s: Likewise.
623 * testsuite/gas/arc/attr-cpu-a700.d: Likewise.
624 * testsuite/gas/arc/attr-cpu-a700.s: Likewise.
625 * testsuite/gas/arc/attr-cpu-em.d: Likewise.
626 * testsuite/gas/arc/attr-cpu-em.s: Likewise.
627 * testsuite/gas/arc/attr-cpu-hs.d: Likewise.
628 * testsuite/gas/arc/attr-cpu-hs.s: Likewise.
629 * testsuite/gas/arc/attr-em.d: Likewise.
630 * testsuite/gas/arc/attr-em4.d: Likewise.
631 * testsuite/gas/arc/attr-em4_dmips.d: Likewise.
632 * testsuite/gas/arc/attr-em4_fpuda.d: Likewise.
633 * testsuite/gas/arc/attr-em4_fpus.d: Likewise.
634 * testsuite/gas/arc/attr-hs.d: Likewise.
635 * testsuite/gas/arc/attr-hs34.d: Likewise.
636 * testsuite/gas/arc/attr-hs38.d: Likewise.
637 * testsuite/gas/arc/attr-hs38_linux.d: Likewise.
638 * testsuite/gas/arc/attr-mul64.d: Likewise.
639 * testsuite/gas/arc/attr-name.d: Likewise.
640 * testsuite/gas/arc/attr-name.s: Likewise.
641 * testsuite/gas/arc/attr-nps400.d: Likewise.
642 * testsuite/gas/arc/attr-override-mcpu.d: Likewise.
643 * testsuite/gas/arc/attr-override-mcpu.s
644 * testsuite/gas/arc/attr-quarkse_em.d: Likewise.
645 * testsuite/gas/arc/blank.s: Likewise.
646 * testsuite/gas/elf/section2.e-arc: Likewise.
647 * testsuite/gas/arc/cpu-pseudop-1.d: Update test.
648 * testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
649 * testsuite/gas/arc/nps400-0.d: Likewise.
650 * testsuite/gas/elf/elf.exp: Set target_machine for ARC.
651 * config/tc-arc.c (opcode/arc-attrs.h): Include.
652 (ARC_GET_FLAG, ARC_SET_FLAG, streq): Define.
653 (arc_attribute): Declare new function.
654 (md_pseudo_table): Add arc_attribute.
655 (cpu_types): Rename default cpu features.
656 (selected_cpu): Set the default OSABI flag.
657 (mpy_option): New variable.
658 (pic_option): Likewise.
659 (sda_option): Likewise.
660 (tls_option): Likewise.
661 (feature_type, feature_list): Remove.
662 (arc_initial_eflag): Likewise.
663 (attributes_set_explicitly): New variable.
664 (arc_check_feature): Check also for the conflicting features.
665 (arc_select_cpu): Refactor assignment of selected_cpu.eflags.
666 (arc_option): Remove setting of private flags and architecture.
667 (check_cpu_feature): Refactor feature names.
668 (autodetect_attributes): New function.
669 (assemble_tokens): Use above function.
670 (md_parse_option): Refactor feature names.
671 (arc_attribute): New function.
672 (arc_set_attribute_int): Likewise.
673 (arc_set_attribute_string): Likewise.
674 (arc_stralloc): Likewise.
675 (arc_set_public_attributes): Likewise.
676 (arc_md_end): Likewise.
677 (arc_copy_symbol_attributes): Likewise.
678 (rc_convert_symbolic_attribute): Likewise.
679 * config/tc-arc.h (md_end): Define.
680 (CONVERT_SYMBOLIC_ATTRIBUTE): Likewise.
681 (TC_COPY_SYMBOL_ATTRIBUTES): Likewise.
682 * doc/c-arc.texi: Document ARC object attributes.
684 2017-05-03 Maciej W. Rozycki <macro@imgtec.com>
686 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `pic', `sym32' and
688 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO):
690 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
691 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
692 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
693 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
694 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
695 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): Shift bits.
696 (RELAX_MIPS16_MACRO, RELAX_MIPS16_MARK_MACRO)
697 (RELAX_MIPS16_CLEAR_MACRO): New macros.
698 (append_insn): Pass `mips_pic', HAVE_32BIT_SYMBOLS and
699 `mips_opts.warn_about_macros' settings to RELAX_MIPS16_ENCODE.
700 (mips16_macro_frag): New function.
701 (md_estimate_size_before_relax): Handle HI16/LO16 relaxation.
702 (mips_relax_frag): Likewise.
703 (md_convert_frag): Likewise.
705 * testsuite/gas/mips/mips16@relax-swap3.d: Remove error output,
707 * testsuite/gas/mips/mips16e@relax-swap3.d: New test
709 * testsuite/gas/mips/micromips@relax-swap3.d: Remove trailing
711 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: Remove error
712 output, add dump patterns.
713 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: Remove error
714 output, add dump patterns.
715 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Remove error
716 output, add dump patterns.
717 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Remove error
718 output, add dump patterns.
719 * testsuite/gas/mips/mips16-pcrel-addend-2.d: Remove error
720 output, add dump patterns.
721 * testsuite/gas/mips/mips16-pcrel-addend-3.d: Remove error
722 output, add dump patterns.
723 * testsuite/gas/mips/mips16-pcrel-absolute.d: Remove error
724 output, add dump patterns.
725 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: Remove error
726 output, add dump patterns.
727 * testsuite/gas/mips/mips16@relax-swap3.l: Remove file.
728 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: Remove file.
729 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: Remove file.
730 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: Remove file.
731 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: Remove file.
732 * testsuite/gas/mips/mips16-pcrel-addend-2.l: Remove file.
733 * testsuite/gas/mips/mips16-pcrel-addend-3.l: Remove file.
734 * testsuite/gas/mips/mips16-pcrel-absolute.l: Remove file.
735 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: Remove file.
736 * testsuite/gas/mips/relax-swap3.s: Adjust trailing padding.
738 * testsuite/gas/mips/mips16-pcrel-0.d: New test.
739 * testsuite/gas/mips/mips16-pcrel-1.d: New test.
740 * testsuite/gas/mips/mips16-pcrel-2.d: New test.
741 * testsuite/gas/mips/mips16-pcrel-3.d: New test.
742 * testsuite/gas/mips/mips16-pcrel-4.d: New test.
743 * testsuite/gas/mips/mips16-pcrel-5.d: New test.
744 * testsuite/gas/mips/mips16-pcrel-pic-0.d: New test.
745 * testsuite/gas/mips/mips16-pcrel-pic-1.d: New test.
746 * testsuite/gas/mips/mips16-pcrel-n32-0.d: New test.
747 * testsuite/gas/mips/mips16-pcrel-n32-1.d: New test.
748 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: New test.
749 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: New test.
750 * testsuite/gas/mips/mips16-pcrel-n64-0.d: New test.
751 * testsuite/gas/mips/mips16-pcrel-n64-1.d: New test.
752 * testsuite/gas/mips/mips16-pcrel-delay-0.d: New test.
753 * testsuite/gas/mips/mips16-pcrel-delay-1.d: New test.
754 * testsuite/gas/mips/mips16-pcrel-addend-4.d: New test.
755 * testsuite/gas/mips/mips16-pcrel-addend-5.d: New test.
756 * testsuite/gas/mips/mips16-pcrel-addend-6.d: New test.
757 * testsuite/gas/mips/mips16-pcrel-addend-7.d: New test.
758 * testsuite/gas/mips/mips16-pcrel-addend-8.d: New test.
759 * testsuite/gas/mips/mips16-pcrel-addend-9.d: New test.
760 * testsuite/gas/mips/mips16-pcrel-addend-pic-8.d: New test.
761 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: New test.
762 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: New test.
763 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: New test.
764 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d: New test.
765 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d: New test.
766 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: New test.
767 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: New test.
768 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: New test.
769 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: New test.
770 * testsuite/gas/mips/mips16-pcrel-absolute-4.d: New test.
771 * testsuite/gas/mips/mips16-pcrel-absolute-5.d: New test.
772 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: New test.
773 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: New test.
774 * testsuite/gas/mips/mips16-pcrel-absolute-pic-4.d: New test.
775 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: New test.
776 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: New test.
777 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: New test.
778 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: New test.
779 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: New test.
780 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d: New
782 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d: New
784 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d: New
786 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d: New
788 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d: New
790 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d: New
792 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
794 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
796 * testsuite/gas/mips/mips16-pcrel-0.l: New stderr output.
797 * testsuite/gas/mips/mips16-pcrel-1.l: New stderr output.
798 * testsuite/gas/mips/mips16-pcrel-2.l: New stderr output.
799 * testsuite/gas/mips/mips16-pcrel-3.l: New stderr output.
800 * testsuite/gas/mips/mips16-pcrel-4.l: New stderr output.
801 * testsuite/gas/mips/mips16-pcrel-5.l: New stderr output.
802 * testsuite/gas/mips/mips16-pcrel-delay-0.l: New stderr output.
803 * testsuite/gas/mips/mips16-pcrel-delay-1.l: New stderr output.
804 * testsuite/gas/mips/mips16-pcrel-addend-8.l: New stderr output.
805 * testsuite/gas/mips/mips16-pcrel-addend-9.l: New stderr output.
806 * testsuite/gas/mips/mips16-pcrel-absolute-4.l: New stderr
808 * testsuite/gas/mips/mips16-pcrel-absolute-6.l: New stderr
810 * testsuite/gas/mips/mips16-pcrel-0.s: New test source.
811 * testsuite/gas/mips/mips16-pcrel-1.s: New test source.
812 * testsuite/gas/mips/mips16-pcrel-2.s: New test source.
813 * testsuite/gas/mips/mips16-pcrel-3.s: New test source.
814 * testsuite/gas/mips/mips16-pcrel-4.s: New test source.
815 * testsuite/gas/mips/mips16-pcrel-5.s: New test source.
816 * testsuite/gas/mips/mips16-pcrel-delay-0.s: New test source.
817 * testsuite/gas/mips/mips16-pcrel-delay-1.s: New test source.
818 * testsuite/gas/mips/mips16-pcrel-addend-4.s: New test source.
819 * testsuite/gas/mips/mips16-pcrel-addend-5.s: New test source.
820 * testsuite/gas/mips/mips16-pcrel-addend-6.s: New test source.
821 * testsuite/gas/mips/mips16-pcrel-addend-7.s: New test source.
822 * testsuite/gas/mips/mips16-pcrel-addend-8.s: New test source.
823 * testsuite/gas/mips/mips16-pcrel-addend-9.s: New test source.
824 * testsuite/gas/mips/mips16-pcrel-absolute-2.s: New test.
825 * testsuite/gas/mips/mips16-pcrel-absolute-3.s: New test.
826 * testsuite/gas/mips/mips16-pcrel-absolute-4.s: New test.
827 * testsuite/gas/mips/mips16-pcrel-absolute-5.s: New test.
828 * testsuite/gas/mips/mips16-pcrel-absolute-6.s: New test.
829 * testsuite/gas/mips/mips16-pcrel-absolute-7.s: New test.
830 * testsuite/gas/mips/mips.exp: Run the new tests.
832 2017-05-03 Nick Clifton <nickc@redhat.com>
835 * symbols.c (snapshot_symbol): Handle the case where
836 resolve_expression returns a local symbol.
838 2017-05-02 Maciej W. Rozycki <macro@imgtec.com>
840 * config/tc-mips.c (append_insn): Call `symbol_append' for any
841 expression symbol created for MIPS16 relaxation.
842 (match_mips16_insn): Don't encode a constant value as an
843 immediate with a PC-relative operand.
845 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: New test.
846 * testsuite/gas/mips/mips16-branch-absolute-1.d: New test.
847 * testsuite/gas/mips/mips16-branch-absolute-2.d: New test.
848 * testsuite/gas/mips/mips16-branch-absolute-addend-1.d: New
850 * testsuite/gas/mips/mips16-branch-absolute-n32-1.d: New test.
851 * testsuite/gas/mips/mips16-branch-absolute-n32-2.d: New test.
852 * testsuite/gas/mips/mips16-branch-absolute-addend-n32-1.d: New
854 * testsuite/gas/mips/mips16-branch-absolute-n64-1.d: New test.
855 * testsuite/gas/mips/mips16-branch-absolute-n64-2.d: New test.
856 * testsuite/gas/mips/mips16-branch-absolute-addend-n64-1.d: New
858 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: New stderr
860 * testsuite/gas/mips/mips16-pcrel-absolute-1.s: New test source.
861 * testsuite/gas/mips/mips16-branch-absolute-1.s: New test
863 * testsuite/gas/mips/mips16-branch-absolute-2.s: New test
865 * testsuite/gas/mips/mips16-branch-absolute-addend-1.s: New test
867 * testsuite/gas/mips/mips.exp: Run the new tests.
869 2017-04-27 Maciej W. Rozycki <macro@imgtec.com>
871 * config/tc-mips.c (mips16_pcrel_val): New function, factored
873 (mips16_extended_frag): ... here.
874 (md_convert_frag): Use `mips16_pcrel_val' rather than repeated
875 code in MIPS16 relaxation, with `stretch' hardcoded to 0.
877 2017-04-27 Maciej W. Rozycki <macro@imgtec.com>
879 * config/tc-mips.c (RELAX_MIPS16_LONG_BRANCH): Rename to...
880 (RELAX_MIPS16_ALWAYS_EXTENDED): ... this.
881 (RELAX_MIPS16_MARK_LONG_BRANCH): Rename to...
882 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED): ... this.
883 (RELAX_MIPS16_CLEAR_LONG_BRANCH): Rename to...
884 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): ... this.
885 (mips16_extended_frag): Adjust accordingly.
887 2017-04-27 Alan Modra <amodra@gmail.com>
889 * symbols.c (S_FORCE_RELOC): Separate section and symbol tests.
891 2017-04-26 Maciej W. Rozycki <macro@imgtec.com>
893 * config/tc-mips.c (RELAX_ENCODE): Add `PIC' flag.
894 (RELAX_PIC): New macro.
895 (RELAX_USE_SECOND, RELAX_SECOND_LONGER, RELAX_NOMACRO)
896 (RELAX_DELAY_SLOT, RELAX_DELAY_SLOT_16BIT)
897 (RELAX_DELAY_SLOT_SIZE_FIRST, RELAX_DELAY_SLOT_SIZE_SECOND):
899 (RELAX_BRANCH_ENCODE): Add `pic' flag.
900 (RELAX_BRANCH_UNCOND, RELAX_BRANCH_LIKELY, RELAX_BRANCH_LINK)
901 (RELAX_BRANCH_TOOFAR): Shift bits.
902 (RELAX_BRANCH_PIC): New macro.
903 (RELAX_MICROMIPS_ENCODE): Add `pic' flag.
904 (RELAX_MICROMIPS_PIC): New macro.
905 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
906 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_NODS)
907 (RELAX_MICROMIPS_RELAX32): Shift bits.
908 (relax_close_frag): Pass `mips_pic' setting to RELAX_ENCODE.
909 (append_insn): Pass `mips_pic' setting to RELAX_BRANCH_ENCODE
910 and RELAX_MICROMIPS_ENCODE, and record it in `fx_tcbit2' of the
912 (md_apply_fix) <BFD_RELOC_16_PCREL_S2>: Use `fx_tcbit2' of the
913 fixup processed rather than `mips_pic' in choosing to relax an
914 out of range branch to a jump.
915 (relaxed_branch_length): Use the `pic' flag of the relaxed frag
916 rather than `mips_pic'.
917 (relaxed_micromips_32bit_branch_length): Likewise.
918 (md_estimate_size_before_relax): Likewise.
919 (md_convert_frag): Likewise.
921 * testsuite/gas/mips/option-pic-relax-0.d: New test.
922 * testsuite/gas/mips/option-pic-relax-1.d: New test.
923 * testsuite/gas/mips/option-pic-relax-2.d: New test.
924 * testsuite/gas/mips/option-pic-relax-3.d: New test.
925 * testsuite/gas/mips/option-pic-relax-3a.d: New test.
926 * testsuite/gas/mips/option-pic-relax-4.d: New test.
927 * testsuite/gas/mips/option-pic-relax-5.d: New test.
928 * testsuite/gas/mips/option-pic-relax-2.l: New stderr output.
929 * testsuite/gas/mips/option-pic-relax-3.l: New stderr output.
930 * testsuite/gas/mips/option-pic-relax-4.l: New stderr output.
931 * testsuite/gas/mips/option-pic-relax-5.l: New stderr output.
932 * testsuite/gas/mips/option-pic-relax-0.s: New test source.
933 * testsuite/gas/mips/option-pic-relax-1.s: New test source.
934 * testsuite/gas/mips/option-pic-relax-2.s: New test source.
935 * testsuite/gas/mips/option-pic-relax-3.s: New test source.
936 * testsuite/gas/mips/option-pic-relax-4.s: New test source.
937 * testsuite/gas/mips/option-pic-relax-5.s: New test source.
938 * testsuite/gas/mips/mips.exp: Run the new tests.
940 2017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
942 * testsuite/gas/arc/leave_enter.d: Update test.
943 * testsuite/gas/arc/leave_enter.s: Likewise.
945 2017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
947 * testsuite/gas/arc/b.d: Update test.
948 * testsuite/gas/arc/noargs_hs.d: Likewise.
950 2017-04-25 Maciej W. Rozycki <macro@imgtec.com>
952 * config/tc-mips.c (md_convert_frag): Correct
953 BFD_RELOC_MIPS16_16_PCREL_S1 fixup size.
954 * testsuite/gas/mips/mips16-branch-addend-4.d: New test.
955 * testsuite/gas/mips/mips16-branch-addend-5.d: New test.
956 * testsuite/gas/mips/mips16-branch-addend-5.l: New stderr
958 * testsuite/gas/mips/mips16-branch-addend-4.s: New test source.
959 * testsuite/gas/mips/mips16-branch-addend-5.s: New test source.
960 * testsuite/gas/mips/mips.exp: Run the new tests.
962 2017-04-25 Jose E. Marchesi <jose.marchesi@oracle.com>
965 * config/tc-sparc.c (md_apply_fix): Do not transform `call'
966 instructions into branch instructions in fixups generating
967 additional relocations.
968 * testsuite/gas/sparc/call-relax.s: New file.
969 * testsuite/gas/sparc/call-relax.d: Likewise.
970 * testsuite/gas/sparc/call-relax-aout.d: Likewise.
971 * testsuite/gas/sparc/sparc.exp: Test call-relax and call-relax-aout.
973 2017-04-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
975 * config/tc-arm.c (move_or_literal_pool): Remove code generating MOVS.
976 Forbid MOV.W and MOVW if destination is SP or PC.
977 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.s: Explain
978 expectation of LDR not generating a MOVS for low registers and small
979 constants. Add tests of MOVW generation.
980 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Update
981 expected disassembly.
983 2017-04-22 Alan Modra <amodra@gmail.com>
985 * testsuite/gas/ppc/vle.s: Format. Add se_rfgi and e_sc.
986 * testsuite/gas/ppc/vle.d: Update.
988 2017-04-21 Nick Clifton <nickc@redhat.com>
991 * testsuite/gas/aarch64/illegal-3.s: New file.
992 * testsuite/gas/aarch64/illegal-3.d: New file.
994 2017-04-11 Alan Modra <amodra@gmail.com>
996 * config/tc-ppc.c (md_show_usage): Delete mention of -mhtm.
997 * testsuite/gas/ppc/htm.d: Pass -mpower8 and -Mpower8.
999 2017-04-10 Max Filippov <jcmvbkbc@gmail.com>
1001 * config/tc-xtensa.c (xtensa_maybe_create_literal_pool_frag):
1002 Initialize lps->frag_count with auto_litpool_limit.
1003 (xg_promote_candidate_litpool): New function.
1004 (xtensa_move_literals): Extract candidate litpool promotion code
1005 into separate function. Call it for all possible found
1007 (xtensa_switch_to_literal_fragment): Drop 'recursive' flag and
1008 call to xtensa_mark_literal_pool_location that it guards.
1009 Replace it with call to xtensa_maybe_create_literal_pool_frag.
1010 Initialize pool_location with created literal pool candidate.
1011 * testsuite/gas/xtensa/all.exp: Add new tests.
1012 * testsuite/gas/xtensa/auto-litpools-first1.d: New test results.
1013 * testsuite/gas/xtensa/auto-litpools-first1.s: New test.
1014 * testsuite/gas/xtensa/auto-litpools-first2.d: New test results.
1015 * testsuite/gas/xtensa/auto-litpools-first2.s: New test.
1016 * testsuite/gas/xtensa/auto-litpools.d: Fix offsets changed due
1017 to additional jump instruction.
1019 2017-04-07 Alan Modra <amodra@gmail.com>
1021 * testsuite/gas/ppc/altivec2.s: Delete E6500 vector insns.
1022 * testsuite/gas/ppc/altivec2.d: Adjust to suit.
1024 2017-04-07 Alan Modra <amodra@gmail.com>
1026 * testsuite/gas/elf/section12a.d: Don't expect alignment of 1
1029 2017-04-06 Pip Cet <pipcet@gmail.com>
1031 * testsuite/gas/wasm32/allinsn.d: Adjust test for disassembler
1033 * testsuite/gas/wasm32/disass.d: New test.
1034 * testsuite/gas/wasm32/disass.s: New test.
1035 * testsuite/gas/wasm32/disass-2.d: New test.
1036 * testsuite/gas/wasm32/disass-2.s: New test.
1037 * testsuite/gas/wasm32/reloc.d: Adjust test for changed reloc
1039 * testsuite/gas/wasm32/reloc.s: Update test for changed assembler
1041 * testsuite/gas/wasm32/wasm32.exp: Run new tests. Expect allinsn
1044 2017-04-04 H.J. Lu <hongjiu.lu@intel.com>
1046 * NEWS: Mention support for ELF SHF_GNU_MBIND.
1047 * config/obj-elf.c (section_match): New.
1048 (get_section): Match both sh_info and group name.
1049 (obj_elf_change_section): Add argument for sh_info. Pass both
1050 sh_info and group name to get_section. Issue an error for
1051 SHF_GNU_MBIND section without SHF_ALLOC. Set sh_info.
1052 (obj_elf_parse_section_letters): Set SHF_GNU_MBIND for 'd'.
1053 (obj_elf_section): Support SHF_GNU_MBIND section info.
1054 * config/obj-elf.h (obj_elf_change_section): Add argument for
1056 * config/tc-arm.c (start_unwind_section): Pass 0 as sh_info to
1057 obj_elf_change_section.
1058 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1059 * config/tc-microblaze.c (microblaze_s_data): Likewise.
1060 (microblaze_s_sdata): Likewise.
1061 (microblaze_s_rdata): Likewise.
1062 (microblaze_s_bss): Likewise.
1063 * config/tc-mips.c (s_change_section): Likewise.
1064 * config/tc-msp430.c (msp430_profiler): Likewise.
1065 * config/tc-rx.c (parse_rx_section): Likewise.
1066 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
1067 * doc/as.texinfo: Document 'd' for SHF_GNU_MBIND.
1068 * testsuite/gas/elf/elf.exp: Run section12a, section12b and
1070 * testsuite/gas/elf/section10.d: Updated.
1071 * testsuite/gas/elf/section10.s: Likewise.
1072 * testsuite/gas/elf/section12.s: New file.
1073 * testsuite/gas/elf/section12a.d: Likewise.
1074 * testsuite/gas/elf/section12b.d: Likewise.
1075 * testsuite/gas/elf/section13.l: Likewise.
1076 * testsuite/gas/elf/section13.d: Likewise.
1077 * testsuite/gas/elf/section13.s: Likewise.
1079 2017-04-03 Palmer Dabbelt <palmer@dabbelt.com>
1081 * config/tc-riscv.c (riscv_clear_subsets): Cast argument to free to
1082 avoid const warnings.
1084 2017-03-30 Palmer Dabbelt <palmer@dabbelt.com>
1086 * config/tc-riscv.c (riscv_clear_subsets): New function.
1087 (riscv_add_subset): Call riscv_clear_subsets and riscv_set_rvc to
1088 clear RVC when it's been previously set.
1090 2017-03-31 Nick Clifton <nickc@redhat.com>
1093 * config/tc-s390.c (tc_s390_fix_adjustable): Allow non pc-relative
1094 fixups in mergeable sections to be adjusted.
1096 2017-03-30 Pip Cet <pipcet@gmail.com>
1098 * config/tc-wasm32.h: New file: Add WebAssembly assembler target.
1099 * config/tc-wasm32.c: New file: Add WebAssembly assembler target.
1100 * Makefile.am: Add WebAssembly assembler target.
1101 * configure.tgt: Add WebAssembly assembler target.
1102 * doc/c-wasm32.texi: New file: Start documenting WebAssembly
1104 * doc/all.texi: Define WASM32.
1105 * doc/as.texinfo: Add WebAssembly entries.
1106 * NEWS: Mention the new support.
1107 * Makefile.in: Regenerate.
1108 * po/gas.pot: Regenerate.
1109 * po/POTFILES.in: Regenerate.
1110 * testsuite/gas/wasm32: New directory.
1111 * testsuite/gas/wasm32/allinsn.d: New file.
1112 * testsuite/gas/wasm32/allinsn.s: New file.
1113 * testsuite/gas/wasm32/illegal.l: New file.
1114 * testsuite/gas/wasm32/illegal.s: New file.
1115 * testsuite/gas/wasm32/illegal-2.l: New file.
1116 * testsuite/gas/wasm32/illegal-2.s: New file.
1117 * testsuite/gas/wasm32/illegal-3.l: New file.
1118 * testsuite/gas/wasm32/illegal-3.s: New file.
1119 * testsuite/gas/wasm32/illegal-4.l: New file.
1120 * testsuite/gas/wasm32/illegal-4.s: New file.
1121 * testsuite/gas/wasm32/illegal-5.l: New file.
1122 * testsuite/gas/wasm32/illegal-5.s: New file.
1123 * testsuite/gas/wasm32/illegal-6.l: New file.
1124 * testsuite/gas/wasm32/illegal-6.s: New file.
1125 * testsuite/gas/wasm32/illegal-7.l: New file.
1126 * testsuite/gas/wasm32/illegal-7.s: New file.
1127 * testsuite/gas/wasm32/illegal-8.l: New file.
1128 * testsuite/gas/wasm32/illegal-8.s: New file.
1129 * testsuite/gas/wasm32/illegal-9.l: New file.
1130 * testsuite/gas/wasm32/illegal-9.s: New file.
1131 * testsuite/gas/wasm32/illegal-10.l: New file.
1132 * testsuite/gas/wasm32/illegal-10.s: New file.
1133 * testsuite/gas/wasm32/illegal-11.l: New file.
1134 * testsuite/gas/wasm32/illegal-11.s: New file.
1135 * testsuite/gas/wasm32/illegal-12.l: New file.
1136 * testsuite/gas/wasm32/illegal-12.s: New file.
1137 * testsuite/gas/wasm32/illegal-13.l: New file.
1138 * testsuite/gas/wasm32/illegal-13.s: New file.
1139 * testsuite/gas/wasm32/illegal-14.l: New file.
1140 * testsuite/gas/wasm32/illegal-14.s: New file.
1141 * testsuite/gas/wasm32/illegal-15.l: New file.
1142 * testsuite/gas/wasm32/illegal-15.s: New file.
1143 * testsuite/gas/wasm32/illegal-16.l: New file.
1144 * testsuite/gas/wasm32/illegal-16.s: New file.
1145 * testsuite/gas/wasm32/illegal-17.l: New file.
1146 * testsuite/gas/wasm32/illegal-17.s: New file.
1147 * testsuite/gas/wasm32/illegal-18.l: New file.
1148 * testsuite/gas/wasm32/illegal-18.s: New file.
1149 * testsuite/gas/wasm32/illegal-19.l: New file.
1150 * testsuite/gas/wasm32/illegal-19.s: New file.
1151 * testsuite/gas/wasm32/illegal-20.l: New file.
1152 * testsuite/gas/wasm32/illegal-20.s: New file.
1153 * testsuite/gas/wasm32/illegal-21.l: New file.
1154 * testsuite/gas/wasm32/illegal-21.s: New file.
1155 * testsuite/gas/wasm32/illegal-22.l: New file.
1156 * testsuite/gas/wasm32/illegal-22.s: New file.
1157 * testsuite/gas/wasm32/illegal-24.l: New file.
1158 * testsuite/gas/wasm32/illegal-24.s: New file.
1159 * testsuite/gas/wasm32/illegal-25.l: New file.
1160 * testsuite/gas/wasm32/illegal-25.s: New file.
1161 * testsuite/gas/wasm32/reloc.d: New file.
1162 * testsuite/gas/wasm32/reloc.s: New file.
1163 * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly
1166 2017-03-29 Alan Modra <amodra@gmail.com>
1168 * config/tc-ppc.c (md_parse_option): Reject -mraw.
1170 2017-03-27 Alan Modra <amodra@gmail.com>
1173 * testsuite/gas/ppc/pr21303.d,
1174 * testsuite/gas/ppc/pr21303.s: New test
1175 * testsuite/gas/ppc/ppc.exp: Run it.
1177 2017-03-27 Rinat Zelig <rinat@mellanox.com>
1179 * testsuite/gas/arc/nps400-12.s: New file.
1180 * testsuite/gas/arc/nps400-12.d: New file.
1182 2017-03-24 Thomas preud'homme <thomas.preudhomme@arm.com>
1184 * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
1185 CPU_DEFAULT is defined.
1187 2017-03-21 Palmer Dabbbelt <palmer@dabbelt.com>
1189 * config/tc-riscv.c (md_show_usage): Remode defuct -m32, -m64,
1190 -msoft-float, -mhard-float, -mno-rvc, and -mrvc options; and don't
1191 print an invalid default ISA string.
1192 * doc/c-riscv.texi (OPTIONS): Add -fpic and -fno-pic options.
1194 2017-03-22 Max Filippov <jcmvbkbc@gmail.com>
1196 * config/tc-xtensa.c (xtensa_relax_frag): Change fx_size of the
1197 reassigned fixup to size of jump instruction (3) and fx_r_type
1198 to BFD_RELOC_XTENSA_SLOT0_OP, as there's only one slot.
1199 (add_jump_to_trampoline): Search
1200 origfrag->tc_frag_data.slot_symbols for the slot with non-NULL
1201 symbol and use that slot instead of slot 0.
1203 2017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1205 * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
1206 from cpu_table. Remove vx2, and novx2 from cpu_flags.
1208 2017-03-21 Rinat Zelig <rinat@mellanox.com>
1210 * testsuite/gas/arc/nps400-11.s: New file.
1211 * testsuite/gas/arc/nps400-11.d: New file.
1213 2017-03-20 Nick Clifton <nickc@redhat.com>
1215 * doc/as.texinfo (2byte): Note that if no expressions are present
1216 the directive does nothing. Emphasize that the output is
1217 unaligned, and that this can have an effect on the relocations
1219 (4byte): Simplify description. Refer back to the 2byte
1223 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
1225 * config/tc-arm.c (arm_fpus): Note entires that should not be
1227 * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
1228 neon-fp16. Fix spelling error.
1230 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
1232 * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
1234 2017-03-16 Rinat Zelig <rinat@mellanox.com>
1236 * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
1237 specially for ARCv2.
1239 2017-03-14 Kito Cheng <kito.cheng@gmail.com>
1241 * config/tc-riscv.c (validate_riscv_insn): Add 'o' RVC immediate
1242 encoding format, which can accept 0-valued immediates.
1243 (riscv_ip): Likewise.
1245 2017-03-15 Nick Clifton <nickc@redhat.com>
1247 * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
1248 warning about discarding a const qualifier.
1250 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
1252 * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
1254 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
1256 * config/tc-riscv.c (md_apply_fix): Set fx_frag and
1257 fx_next->fx_frag for CFA_advance_loc relocations.
1259 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
1261 * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
1262 for CFA relocations.
1264 2017-03-13 Nick Clifton <nickc@redhat.com>
1267 * config/tc-aarch64.c (reloc_table): Rename
1268 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC to
1269 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12. Rname
1270 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC to
1271 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
1272 (md_apply_fix): Likewise.
1273 (aarch64_force_relocation): Likewise.
1274 * testsuite/gas/aarch64/tls.d: Update regexp.
1276 2017-03-10 Tobin C. Harding <me@tobin.cc>
1277 Nick Clifton <nickc@redhat.com>
1279 * doc/as.texinfo (2byte): Tidy up wording. Add note that
1280 overlarge values will produce a warning message and be trunacted.
1283 2017-03-09 H.J. Lu <hongjiu.lu@intel.com>
1285 * config/tc-i386.c (_i386_insn): Add dir_encoding and
1286 vec_encoding. Remove swap_operand and need_vrex.
1287 (extra_symbol_chars): Add '}'.
1288 (md_begin): Mark '}' with LEX_BEGIN_NAME. Allow '}' in
1290 (build_vex_prefix): Don't use 2-byte VEX encoding with
1291 {vex3}. Check dir_encoding and load.
1292 (parse_insn): Check pseudo prefixes. Set dir_encoding.
1293 (VEX_check_operands): Likewise.
1294 (match_template): Check dir_encoding and load.
1295 (parse_real_register): Set vec_encoding instead of need_vrex.
1296 (parse_register): Likewise.
1297 * doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
1298 {vex2}, {vex3} and {evex}. Remove ".s", ".d8" and ".d32"
1299 * testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
1300 * testsuite/gas/i386/pseudos.d: New file.
1301 * testsuite/gas/i386/pseudos.s: Likewise.
1302 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
1303 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
1305 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
1307 * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
1308 (objdump): Use the -Mpower8 option.
1310 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
1312 * testsuite/gas/ppc/power9.d <lnia> New test.
1313 * testsuite/gas/ppc/power9.s: Likewise.
1315 2017-03-07 Alan Modra <amodra@gmail.com>
1317 * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
1319 2017-03-07 Tobin C. Harding <me@tobin.cc>
1320 Alan Modra <amodra@gmail.com>
1322 * doc/as.texinfo (2byte, 4byte, 8byte): Document.
1323 * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
1325 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
1327 * config/tc-i386.c (cpu_arch): Add .cet.
1328 * doc/c-i386.texi: Document cet.
1329 * testsuite/gas/i386/cet-intel.d: New file.
1330 * testsuite/gas/i386/cet.d: Likewise.
1331 * testsuite/gas/i386/cet.s: Likewise.
1332 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
1333 * testsuite/gas/i386/x86-64-cet.d: Likewise.
1334 * testsuite/gas/i386/x86-64-cet.s: Likewise.
1335 * testsuite/gas/i386/i386.exp: Run Intel CET tests.
1337 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
1339 * testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment.
1340 * testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
1342 2017-03-06 Alan Modra <amodra@gmail.com>
1344 * dw2gencfi.c (encoding_size): Return unsigned int.
1345 (emit_expr_encoded): Assert size matches reloc bitsize.
1346 (output_fde): Use unsigned for offset_size and addr_size. Set
1347 addr_size earlier and use in place of constant 4 and uses of
1348 DWARF2_FDE_RELOC_SIZE. Assert it matches reloc bitsize.
1350 2017-03-06 Alan Modra <amodra@gmail.com>
1352 * dw2gencfi.c: Wrap overlong lines. Add parens for emacs
1353 auto reformat. Formatting and whitespace fixes.
1355 2017-03-05 Mark Wielaard <mark@klomp.org>
1357 * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_strp instead of
1358 DW_FORM_string for DW_AT_name, DW_AT_comp_dir and DW_AT_producer.
1359 (out_debug_info): Accept symbols to name, comp_dir and producer in
1360 the .debug_str section and emit those offsets not full strings.
1361 (out_debug_str): New function that outputs the strings for name,
1362 comp_dir and producer in .debug_str and generates symbols to those
1364 (out_debug_line): Create a .debug_str section if necessary and call
1365 out_debug_str before calling out_debug_info.
1366 * testsuite/gas/aarch64/dwarf.d: Add extra section symbol to expected
1369 2017-03-02 Maciej W. Rozycki <macro@imgtec.com>
1371 * write.c (relax_segment) <rs_org>: Only bail out if the fixed
1372 part of the frag has overrun the location requested.
1374 * testsuite/gas/all/org-1.d: New test.
1375 * testsuite/gas/all/org-2.d: New test.
1376 * testsuite/gas/all/org-3.d: New test.
1377 * testsuite/gas/all/org-4.d: New test.
1378 * testsuite/gas/all/org-5.d: New test.
1379 * testsuite/gas/all/org-6.d: New test.
1380 * testsuite/gas/all/org-1.l: New stderr output.
1381 * testsuite/gas/all/org-2.l: New stderr output.
1382 * testsuite/gas/all/org-3.l: New stderr output.
1383 * testsuite/gas/all/org-1.s: New test source.
1384 * testsuite/gas/all/org-2.s: New test source.
1385 * testsuite/gas/all/org-3.s: New test source.
1386 * testsuite/gas/all/org-4.s: New test source.
1387 * testsuite/gas/all/org-5.s: New test source.
1388 * testsuite/gas/all/org-6.s: New test source.
1389 * testsuite/gas/all/gas.exp: Run the new tests.
1391 * testsuite/gas/mips/org-1.d: New test.
1392 * testsuite/gas/mips/org-2.d: New test.
1393 * testsuite/gas/mips/org-3.d: New test.
1394 * testsuite/gas/mips/org-4.d: New test.
1395 * testsuite/gas/mips/org-5.d: New test.
1396 * testsuite/gas/mips/org-6.d: New test.
1397 * testsuite/gas/mips/org-7.d: New test.
1398 * testsuite/gas/mips/org-8.d: New test.
1399 * testsuite/gas/mips/org-9.d: New test.
1400 * testsuite/gas/mips/org-10.d: New test.
1401 * testsuite/gas/mips/org-11.d: New test.
1402 * testsuite/gas/mips/org-12.d: New test.
1403 * testsuite/gas/mips/org-1.l: New stderr output.
1404 * testsuite/gas/mips/org-4.l: New stderr output.
1405 * testsuite/gas/mips/org-5.l: New stderr output.
1406 * testsuite/gas/mips/org-6.l: New stderr output.
1407 * testsuite/gas/mips/org-10.l: New stderr output.
1408 * testsuite/gas/mips/org-1.s: New test source.
1409 * testsuite/gas/mips/org-2.s: New test source.
1410 * testsuite/gas/mips/org-3.s: New test source.
1411 * testsuite/gas/mips/org-4.s: New test source.
1412 * testsuite/gas/mips/org-5.s: New test source.
1413 * testsuite/gas/mips/org-6.s: New test source.
1414 * testsuite/gas/mips/org-7.s: New test source.
1415 * testsuite/gas/mips/org-8.s: New test source.
1416 * testsuite/gas/mips/org-9.s: New test source.
1417 * testsuite/gas/mips/org-10.s: New test source.
1418 * testsuite/gas/mips/org-11.s: New test source.
1419 * testsuite/gas/mips/org-12.s: New test source.
1420 * testsuite/gas/mips/mips.exp: Run the new tests.
1422 2017-03-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1424 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
1426 2017-02-28 Jan Beulich <jbeulich@suse.com>
1428 * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
1430 * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
1431 * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
1433 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
1434 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
1435 * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Likewise.
1436 * testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d: Likewise.
1437 * testsuite/gas/i386/ilp32/x86-64-sse4_2.d: Likewise.
1438 * testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
1439 * testsuite/gas/i386/x86-64-avx.d: Likewise.
1440 * testsuite/gas/i386/x86-64-sse2avx.d: Likewise.
1441 * testsuite/gas/i386/x86-64-sse4_2-intel.d: Likewise.
1442 * testsuite/gas/i386/x86-64-sse4_2.d: Likewise.
1444 2017-02-28 Alan Modra <amodra@gmail.com>
1446 * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
1448 2017-02-28 Alan Modra <amodra@gmail.com>
1450 * config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
1451 (md_apply_fix): Remove fx_subsy check. Move code converting to
1452 pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA. Remove code
1453 emiiting errors on seeing fx_pcrel set on unexpected relocs, as
1454 that is done now by the generic code via..
1455 * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
1456 (TC_VALIDATE_FIX_SUB): Define.
1458 2017-02-28 Maciej W. Rozycki <macro@imgtec.com>
1460 * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
1461 * testsuite/gas/mips/jalr4.d: Adjust accordingly. Remove MIPSr6
1463 * testsuite/gas/mips/jalr4-n64.d: Likewise.
1464 * testsuite/gas/mips/mipsr6@jalr4.d: New test.
1465 * testsuite/gas/mips/mipsr6@jalr4-n32.d: New test.
1466 * testsuite/gas/mips/mipsr6@jalr4-n64.d: New test.
1468 2017-02-25 Alan Modra <amodra@gmail.com>
1470 * testsuite/gas/elf/strtab.s: Don't put directives on first
1471 column or continuation with labels not in first column.
1473 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
1475 * doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
1476 * config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
1477 to be used with SVE registers.
1478 (parse_operands): Handle new SVE operands.
1479 (aarch64_features): Make "sve" require F16 rather than FP. Also
1481 * testsuite/gas/aarch64/sve.s: Add tests for new instructions.
1482 Include compnum tests.
1483 * testsuite/gas/aarch64/sve.d: Update accordingly.
1484 * testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
1485 * testsuite/gas/aarch64/sve-invalid.l: Update accordingly. Also
1486 update expected output for new FMOV and MOV alternatives.
1488 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
1490 * doc/c-aarch64.texi: Add a "compnum" entry.
1491 * config/tc-aarch64.c (aarch64_features): Likewise,
1492 * testsuite/gas/aarch64/advsimd-compnum.s: New test.
1493 * testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
1495 2017-02-24 Jan Beulich <jbeulich@suse.com>
1497 * testsuite/gas/i386/opcode.s: Add alternative TEST forms.
1498 * testsuite/gas/i386/x86-64-opcode.s: Likewise.
1499 * testsuite/gas/i386/opcode.d: Adjust accordingly.
1500 * testsuite/gas/i386/opcode-intel.d: Likewise.
1501 * testsuite/gas/i386/x86-64-opcode.d: Likewise.
1502 * testsuite/gas/i386/ilp32/x86-64-opcode.d: Likewise.
1504 2017-02-24 Sheldon Lobo <sheldon.lobo@oracle.com>
1506 Test cases for the architecture level aware SPARC ASI work.
1507 * gas/testsuite/gas/sparc/sparc.exp: 2 new tests
1508 * gas/testsuite/gas/sparc/asi-bump-warn.s: New test
1509 * gas/testsuite/gas/sparc/asi-bump-warn.l: Likewise
1510 * gas/testsuite/gas/sparc/asi-arch-error.s: Likewise
1511 * gas/testsuite/gas/sparc/asi-arch-error.l: Likewise
1513 2017-02-23 Maciej W. Rozycki <macro@imgtec.com>
1515 * testsuite/gas/mips/jalr4.d: New test.
1516 * testsuite/gas/mips/jalr4-n32.d: New test.
1517 * testsuite/gas/mips/jalr4-n64.d: New test.
1518 * testsuite/gas/mips/jalr4.s: New test source.
1519 * testsuite/gas/mips/mips.exp: Run the new tests.
1521 2017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
1523 Add support for associating SPARC ASIs with an architecture level.
1524 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
1526 2017-02-23 Jan Beulich <jbeulich@suse.com>
1528 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
1529 of symbols as expression.
1531 2017-02-23 Jan Beulich <jbeulich@suse.com>
1533 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.d: Add 32- and 16-
1534 bit GPR forms of BNDCL, BNDCU, and BNDCN. Add RSP-as-index
1535 Intel syntax forms of BNDMK, BNDSTX, and BNDLDX.
1536 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust.
1538 2017-02-22 Maciej W. Rozycki <macro@imgtec.com>
1540 * ecoff.c (ecoff_directive_end) [md_flush_pending_output]: Call
1541 `md_flush_pending_output'.
1542 * config/tc-mips.c (s_mips_end) [md_flush_pending_output]: Call
1543 `md_flush_pending_output' unconditionally.
1544 * testsuite/gas/mips/debug-label-end-1.d: New test.
1545 * testsuite/gas/mips/debug-label-end-2.d: New test.
1546 * testsuite/gas/mips/debug-label-end-3.d: New test.
1547 * testsuite/gas/mips/debug-label-end.s: New test source.
1548 * testsuite/gas/mips/mips.exp: Run the new tests.
1550 2017-02-22 Hans-Peter Nilsson <hp@axis.com>
1552 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
1553 targets yielding an error message matching "too complex".
1555 2017-02-22 Nick Clifton <nickc@redhat.com>
1557 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
1559 2017-02-21 Jan Beulich <jbeulich@suse.com>
1561 * expr.c (operand): Handle missing operand to .startof.() and
1563 * testsuite/gas/all/err-sizeof.s: New.
1565 2017-02-20 Alan Modra <amodra@gmail.com>
1568 * NEWS: Revise powerpc register check.
1569 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
1570 register expression" a warning.
1572 2017-02-17 Maciej W. Rozycki <macro@imgtec.com>
1574 * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
1575 * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
1576 * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
1577 * testsuite/gas/mips/aent-2.d: New test.
1578 * testsuite/gas/mips/aent-mdebug.d: New test.
1579 * testsuite/gas/mips/aent-mdebug-2.d: New test.
1580 * testsuite/gas/mips/mips.exp: Run the new tests.
1582 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
1584 * testsuite/gas/aarch64/sve-sysreg.s,
1585 testsuite/gas/aarch64/sve-sysreg.d,
1586 testsuite/gas/aarch64/sve-sysreg-invalid.d,
1587 testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
1589 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
1591 * doc/c-aarch64.texi: Fix sve entry.
1593 2017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
1595 * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
1596 information from input expression.
1597 (assemble_insn): Make sure pcrel is correctly set.
1598 (arc_pcrel_adjust): Compensate for PCL rounding.
1599 * testsuite/gas/arc/relax-add01.d: New file.
1600 * testsuite/gas/arc/relax-add01.s: Likewise.
1601 * testsuite/gas/arc/relax-add02.d: Likewise.
1602 * testsuite/gas/arc/relax-add02.s: Likewise.
1603 * testsuite/gas/arc/relax-add03.d: Likewise.
1604 * testsuite/gas/arc/relax-add03.s: Likewise.
1605 * testsuite/gas/arc/relax-add04.d: Likewise.
1606 * testsuite/gas/arc/relax-add04.s: Likewise.
1607 * testsuite/gas/arc/relax-ld01.d: Likewise.
1608 * testsuite/gas/arc/relax-ld01.s: Likewise.
1609 * testsuite/gas/arc/relax-ld02.d: Likewise.
1610 * testsuite/gas/arc/relax-ld02.s: Likewise.
1611 * testsuite/gas/arc/relax-mov01.d: Likewise.
1612 * testsuite/gas/arc/relax-mov01.s: Likewise.
1613 * testsuite/gas/arc/relax-mov02.d: Likewise.
1614 * testsuite/gas/arc/relax-mov02.s: Likewise.
1615 * testsuite/gas/arc/relax-mpy01.d: Likewise.
1616 * testsuite/gas/arc/relax-mpy01.s: Likewise.
1617 * testsuite/gas/arc/relax-sub01.d: Likewise.
1618 * testsuite/gas/arc/relax-sub01.s: Likewise.
1619 * testsuite/gas/arc/relax-sub02.d: Likewise.
1620 * testsuite/gas/arc/relax-sub02.s: Likewise.
1621 * testsuite/gas/arc/relax-sub03.d: Likewise.
1622 * testsuite/gas/arc/relax-sub03.s: Likewise.
1623 * testsuite/gas/arc/relax-sub04.d: Likewise.
1624 * testsuite/gas/arc/relax-sub04.s: Likewise.
1626 2017-02-09 Vineet Gupta <vgupta@synopsys.com>
1628 * testsuite/gas/arc/st.d: Update for 0xe having a name now
1630 2017-02-14 Alan Modra <amodra@gmail.com>
1633 * NEWS: Mention powerpc register checks.
1634 * config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
1635 (pre_defined_registers): Delete fpscr and pmr entries. Set
1636 register type in flags.
1637 (cr_names): Set type in flags.
1638 (reg_name_search): Return pointer to struct pd_reg rather than value.
1639 (register_name): Adjust to suit. Set X_md from flags.
1640 (ppc_parse_name): Likewise.
1641 (ppc_optimize_expr): New function.
1642 (md_assemble): Verify expresion reg flags match operand.
1643 * config/tc-ppc.h (md_optimize_expr): Define.
1644 (ppc_optimize_expr): Declare.
1646 2017-02-14 Alan Modra <amodra@gmail.com>
1648 * testsuite/gas/ppc/cell.s: Correct invalid registers.
1649 * testsuite/gas/ppc/vle-simple-1.s: Likewise.
1650 * testsuite/gas/ppc/vle-simple-2.s: Likewise.
1652 2017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1654 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
1656 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
1657 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
1659 2017-02-10 Nicholas Piggin <npiggin@gmail.com>
1661 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
1663 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
1665 * doc/as.texinfo (Overview): Select MIPS options for man page
1668 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
1670 * config/tc-mips.c (mips_ignore_branch_isa): New variable.
1671 (options): Add OPTION_IGNORE_BRANCH_ISA and
1672 OPTION_NO_IGNORE_BRANCH_ISA enum values.
1673 (md_longopts): Add "mignore-branch-isa" and
1674 "mno-ignore-branch-isa" options.
1675 (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
1676 OPTION_NO_IGNORE_BRANCH_ISA.
1677 (fix_bad_cross_mode_branch_p): Return FALSE if
1678 `mips_ignore_branch_isa' has been set.
1679 (md_show_usage): Add `-mignore-branch-isa' and
1680 `-mno-ignore-branch-isa'.
1682 * doc/as.texinfo (Target MIPS options): Add
1683 `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
1684 (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
1685 * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
1686 `-mno-ignore-branch-isa' options.
1688 * testsuite/gas/mips/branch-local-ignore-2.d: New test.
1689 * testsuite/gas/mips/branch-local-ignore-3.d: New test.
1690 * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
1691 * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
1692 * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
1693 * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
1694 * testsuite/gas/mips/mips.exp: Run the new tests.
1696 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
1698 * testsuite/gas/mips/branch-local-2.d: New test.
1699 * testsuite/gas/mips/branch-local-3.d: New test.
1700 * testsuite/gas/mips/branch-local-n32-2.d: New test.
1701 * testsuite/gas/mips/branch-local-n32-3.d: New test.
1702 * testsuite/gas/mips/branch-local-n64-2.d: New test.
1703 * testsuite/gas/mips/branch-local-n64-3.d: New test.
1704 * testsuite/gas/mips/mips.exp: Fold corresponding list tests
1707 2017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
1710 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
1711 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
1713 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1715 * configure.tgt (aarch64*-*-rtems*): Remove.
1716 (bfin-*-rtems*): Likewise.
1717 (h8300-*-rtems*): Likewise.
1718 (i386-*-rtems*): Likewise.
1719 (m32c-*-rtems*): Likewise.
1720 (m32r-*-rtems*): Likewise.
1721 (m68k-*-rtems*): Likewise.
1722 (mips-*-rtems*): Likewise.
1723 (nios2-*-rtems*): Likewise.
1724 (ppc-*-rtems*): Likewise.
1725 (sh-*-rtems*): Likewise.
1726 (sparc64-*-rtems*): Likewise.
1727 (sparc-*-rtems*): Likewise.
1728 (*-*-rtems*) Use ELF format.
1730 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1732 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
1734 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1736 * configure.tgt (sh-*-rtemscoff*): Remove.
1738 2017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
1740 * configure.tgt (riscv*-*-*): Remove em=linux.
1742 2017-01-23 Sebastian Rasmussen <sebras@gmail.com>
1745 * asintl.h: Fix spelling mistakes and typos.
1746 * atof-generic.c: Likewise.
1747 * bit_fix.h: Likewise.
1748 * config/atof-ieee.c: Likewise.
1749 * config/bfin-defs.h: Likewise.
1750 * config/bfin-parse.y: Likewise.
1751 * config/obj-coff-seh.h: Likewise.
1752 * config/obj-coff.c: Likewise.
1753 * config/obj-evax.c: Likewise.
1754 * config/obj-macho.c: Likewise.
1755 * config/rx-parse.y: Likewise.
1756 * config/tc-aarch64.c: Likewise.
1757 * config/tc-alpha.c: Likewise.
1758 * config/tc-arc.c: Likewise.
1759 * config/tc-arm.c: Likewise.
1760 * config/tc-avr.c: Likewise.
1761 * config/tc-bfin.c: Likewise.
1762 * config/tc-cr16.c: Likewise.
1763 * config/tc-cris.c: Likewise.
1764 * config/tc-crx.c: Likewise.
1765 * config/tc-d10v.c: Likewise.
1766 * config/tc-d30v.c: Likewise.
1767 * config/tc-dlx.c: Likewise.
1768 * config/tc-epiphany.c: Likewise.
1769 * config/tc-frv.c: Likewise.
1770 * config/tc-hppa.c: Likewise.
1771 * config/tc-i370.c: Likewise.
1772 * config/tc-i386-intel.c: Likewise.
1773 * config/tc-i386.c: Likewise.
1774 * config/tc-i960.c: Likewise.
1775 * config/tc-ia64.c: Likewise.
1776 * config/tc-m32r.c: Likewise.
1777 * config/tc-m68hc11.c: Likewise.
1778 * config/tc-m68k.c: Likewise.
1779 * config/tc-mcore.c: Likewise.
1780 * config/tc-mep.c: Likewise.
1781 * config/tc-mep.h: Likewise.
1782 * config/tc-metag.c: Likewise.
1783 * config/tc-microblaze.c: Likewise.
1784 * config/tc-mips.c: Likewise.
1785 * config/tc-mmix.c: Likewise.
1786 * config/tc-mn10200.c: Likewise.
1787 * config/tc-mn10300.c: Likewise.
1788 * config/tc-msp430.c: Likewise.
1789 * config/tc-msp430.h: Likewise.
1790 * config/tc-nds32.c: Likewise.
1791 * config/tc-nds32.h: Likewise.
1792 * config/tc-nios2.c: Likewise.
1793 * config/tc-nios2.h: Likewise.
1794 * config/tc-ns32k.c: Likewise.
1795 * config/tc-pdp11.c: Likewise.
1796 * config/tc-ppc.c: Likewise.
1797 * config/tc-pru.c: Likewise.
1798 * config/tc-rx.c: Likewise.
1799 * config/tc-s390.c: Likewise.
1800 * config/tc-score.c: Likewise.
1801 * config/tc-score7.c: Likewise.
1802 * config/tc-sh.c: Likewise.
1803 * config/tc-sh64.c: Likewise.
1804 * config/tc-sparc.c: Likewise.
1805 * config/tc-tic4x.c: Likewise.
1806 * config/tc-tic54x.c: Likewise.
1807 * config/tc-v850.c: Likewise.
1808 * config/tc-vax.c: Likewise.
1809 * config/tc-visium.c: Likewise.
1810 * config/tc-xgate.c: Likewise.
1811 * config/tc-xtensa.c: Likewise.
1812 * config/tc-z80.c: Likewise.
1813 * config/tc-z8k.c: Likewise.
1814 * config/te-vms.c: Likewise.
1815 * config/xtensa-relax.c: Likewise.
1816 * doc/as.texinfo: Likewise.
1817 * doc/c-arm.texi: Likewise.
1818 * doc/c-hppa.texi: Likewise.
1819 * doc/c-i370.texi: Likewise.
1820 * doc/c-i386.texi: Likewise.
1821 * doc/c-m32r.texi: Likewise.
1822 * doc/c-m68k.texi: Likewise.
1823 * doc/c-mmix.texi: Likewise.
1824 * doc/c-msp430.texi: Likewise.
1825 * doc/c-nds32.texi: Likewise.
1826 * doc/c-ns32k.texi: Likewise.
1827 * doc/c-riscv.texi: Likewise.
1828 * doc/c-rx.texi: Likewise.
1829 * doc/c-s390.texi: Likewise.
1830 * doc/c-tic6x.texi: Likewise.
1831 * doc/c-tilegx.texi: Likewise.
1832 * doc/c-tilepro.texi: Likewise.
1833 * doc/c-v850.texi: Likewise.
1834 * doc/c-xgate.texi: Likewise.
1835 * doc/c-xtensa.texi: Likewise.
1836 * dwarf2dbg.c: Likewise.
1837 * ecoff.c: Likewise.
1838 * itbl-ops.c: Likewise.
1839 * listing.c: Likewise.
1840 * macro.c: Likewise.
1841 * po/gas.pot: Likewise.
1843 * struc-symbol.h: Likewise.
1844 * symbols.h: Likewise.
1845 * testsuite/gas/arc/relocs-errors.err: Likewise.
1846 * write.c: Likewise.
1848 2017-01-23 Nick Clifton <nickc@redhat.com>
1850 * po/sv.po: Updated Swedish translation.
1852 2017-01-20 Nick Clifton <nickc@redhat.com>
1854 * config/tc-i386.c (parse_operands): Check for operand overflow
1855 before setting the unspecified bit.
1857 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
1860 * config/tc-mips.c (pic_need_relax): Don't check for linkonce
1861 symbols, remove the `segtype' parameter.
1862 (mips_frob_file, md_estimate_size_before_relax): Adjust
1864 (s_is_linkonce): Add an explanatory comment.
1865 * testsuite/gas/mips/comdat-reloc.d: New test.
1866 * testsuite/gas/mips/comdat-reloc.s: New test source.
1867 * testsuite/gas/mips/mips.exp: Run the new test.
1869 2017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1871 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
1872 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
1874 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
1877 * config/bfin-lex.l: Support processing with flex 2.6.3.
1878 * itbl-lex.l: Likewise.
1880 2017-01-18 Nathan Sidwell <nathan@acm.org>
1882 * as.h (gas_assert): Use abort.
1883 (as_assert): Remove.
1884 (signal_init): Declare.
1885 * as.c (main): Call signal_init.
1886 * messages.c: #include <signal.h>
1887 (as_assert): Delete.
1888 (as_abort): Allow NULL FILE.
1889 (signal_crash): New.
1890 (signal_init): Register fatal signal handlers.
1891 * configure.ac: Check for strsignal.
1892 * config.in: Rebuilt.
1893 * configure: Rebuilt.
1895 2017-01-17 Nick Clifton <nickc@redhat.com>
1897 * po/sv.po: Updated Swedish translation.
1899 2017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1901 * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
1902 (cpu_noarch): Add noavx512_vpopcntdq.
1903 * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
1904 * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
1905 * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
1906 * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
1907 * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
1908 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
1909 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
1910 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
1912 2017-01-12 Nick Clifton <nickc@redhat.com>
1914 * read.c (temp_ilp): New function. Installs a temporary input
1916 (restore_ilp): New function. Restores the original input line
1918 * read.h (temp_ilp): Prototype.
1919 (restore_ilp): Prototype.
1920 * stabs.c (dot_func_p): Use bfd_boolean type.
1921 (generate_asm_file): Use temp_ilp and restore_ilp.
1922 (stabs_generate_asm_lineno): Likewise.
1923 (stabs_generate_asm_endfunc): Likewise.
1925 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
1927 * configure.tgt: Add entry for i386-redox.
1929 2017-01-10 Nick Clifton <nickc@redhat.com>
1931 * po/sv.po: Updated Swedish translation.
1933 2017-01-10 Tristan Gingold <gingold@adacore.com>
1935 * testsuite/gas/all/sleb128-8.d: Adjust test.
1936 * testsuite/gas/all/gas.exp (test_cond): Likewise.
1938 2017-01-10 Tristan Gingold <gingold@adacore.com>
1940 * read.c (emit_leb128_expr): Extended unsigned big number for
1942 * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
1943 * testsuite/gas/all/sleb128.d: New test.
1944 * testsuite/gas/all/sleb128.s: New test source.
1946 2017-01-09 Andrew Waterman <andrew@sifive.com>
1948 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
1950 (md_apply_fix): Mark relocations against constants as "done."
1952 2017-01-09 Andrew Waterman <andrew@sifive.com>
1954 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
1956 (md_apply_fix): Mark relocations against constants as "done."
1958 2017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
1959 Kito Cheng <kito.cheng@gmail.com>
1961 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
1963 (SDATA_START_SYMBOLS): Likewise.
1965 2017-01-09 Nick Clifton <nickc@redhat.com>
1967 * po/sv.po: New Swedish translation.
1968 * configure.ac (ALL_LINGUAS): Add sv.
1969 * configure: Regenerate.
1971 2017-01-09 Andrew Waterman <andrew@sifive.com>
1973 * config/tc-riscv.c (relaxed_branch_length): Use the long
1974 sequence when the target is a weak symbol.
1976 2017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1978 * config/tc-aarch64.c (aarch64_features): Add rcpc.
1979 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
1980 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
1981 * testsuite/gas/aarch64/ldst-rcpc.d: This.
1982 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
1983 * testsuite/gas/aarch64/ldst-rcpc.s: This.
1984 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
1986 2017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
1989 * configure.tgt: Treat sparcv9 as sparc64.
1991 2017-01-03 Kito Cheng <kito.cheng@gmail.com>
1993 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
1995 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
1996 enabled and no other ABI is specified.
1998 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
2000 * config/tc-pru.c (md_number_to_chars): Fix parameter to be
2001 valueT, as declared in tc.h.
2002 (md_apply_fix): Fix to work on 32-bit hosts.
2004 2017-01-02 Alan Modra <amodra@gmail.com>
2006 Update year range in copyright notice of all files.
2008 For older changes see ChangeLog-2016
2010 Copyright (C) 2017 Free Software Foundation, Inc.
2012 Copying and distribution of this file, with or without modification,
2013 are permitted in any medium without royalty provided the copyright
2014 notice and this notice are preserved.
2020 version-control: never