1 2017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
3 * config/tc-arm.c (struct arm_cpu_option_table): New ext field.
4 (ARM_CPU_OPT): Add parameter to set new ext field and reorder canonical
5 name field just after the name field.
6 (arm_cpus): Move extension feature bit from value field to ext field,
7 reorder parameter according to changes in ARM_CPU_OPT and reindent.
8 (arm_parse_cpu): Point mcpu_cpu_opt to a bitfield merging the value and
9 ext field from the selected arm_cpus entry.
10 (s_arm_cpu): Likewise.
12 2017-06-21 James Greenhalgh <james.greenhalgh@arm.com>
14 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a55 and cortex-a75.
15 * doc/c-aarch64.texi (-mcpu): Document cortex-a55 and cortex-a75.
17 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
20 * testsuite/gas/i386/mpx.s: Add 2 tests with invalid bnd
22 * testsuite/gas/i386/x86-64-mpx.s: Likewise.
23 * testsuite/gas/i386/mpx.d: Updated.
24 * testsuite/gas/i386/x86-64-mpx.d: Likewise.
26 2017-06-14 Max Filippov <jcmvbkbc@gmail.com>
28 * config/tc-xtensa.c (density_supported, xtensa_fetch_width,
29 absolute_literals_supported): Leave definitions uninitialized.
30 (directive_state): Leave entries for directive_density and
31 directive_absolute_literals initialized to false.
32 (xg_init_global_config, xtensa_init): New functions.
33 * config/tc-xtensa.h (TARGET_BYTES_BIG_ENDIAN): Define as 0.
34 (HOST_SPECIAL_INIT): New definition.
35 (xtensa_init): New declaration.
37 2017-06-07 Michael Collison <michael.collison@arm.com>
39 * config/tc-aarch64.c (reg_entry_reg_names): Add IP0,
40 IP1, FP, and LR as register aliases of register 16, 17, 29
42 * testsuite/gas/aarch64/diagnostic.l: Remove diagnostic
43 prohibiting register 'lr' which is now an alias.
44 * testsuite/gas/aarch64/diagnostic.s: Remove instruction
45 utilizing register 'lr' which is now an alias.
47 2017-06-06 Jiong Wang <jiong.wang@arm.com>
49 * config/tc-arm.c (reject_bad_reg): Allow REG_SP on ARMv8-A.
50 (parse_operands): Allow REG_SP for OP_oRRnpcsp and OP_RRnpcsp on
52 (do_co_reg): Allow REG_SP for Rd on ARMv8-A.
53 (do_t_add_sub): Likewise.
54 (do_t_mov_cmp): Likewise.
56 * testsuite/gas/arm/ld-sp-warn.l: Delete the warning on REG_SP as Rt for
58 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.d: New test.
59 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: New test.
60 * testsuite/gas/arm/sp-pc-validations-bad-t.d: Specifies -march=armv7-a.
61 * testsuite/gas/arm/sp-pc-validations-bad-t.s: Remove ".arch armv7-a".
62 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v7.d: New test.
63 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v7.l: New test.
64 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v8.d: New test.
65 * testsuite/gas/arm/sp-usage-thumb2-relax.s: New test.
66 * testsuite/gas/arm/strex-bad-t.d: Specifies -march=armv7-a.
68 2017-06-05 Jim Wilson <jim.wilson@linaro.org>
70 * config/tc-arm.c (arm_cpus): Delete falkor and qdf24xx entries.
71 * doc/c-arm.texi (-mcpu): Likewise.
73 2017-05-30 Anton Kolesov <anton.kolesov@synopsys.com>
75 * config/tc-arc.c (cpu_types): Include arc-cpu.def
77 2017-05-23 H.J. Lu <hongjiu.lu@intel.com>
79 * gas/testsuite/gas/i386/notrackbad.l: Updated for non-ELF
81 * gas/testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
83 2017-05-23 Claudiu Zissulescu <claziss@synopsys.com>
85 * config/tc-arc.c (md_apply_fix): Use as_bad_where.
86 (assemble_insn): Use as_bad.
88 2017-05-22 H.J. Lu <hongjiu.lu@intel.com>
90 * config/tc-i386.c (REX_PREFIX): Changed to 7.
91 (NOTRACK_PREFIX): New.
92 (MAX_PREFIXES): Changed to 8.
93 (_i386_insn): Add notrack_prefix.
94 (PREFIX_GROUP): Add PREFIX_DS.
95 (add_prefix): Return PREFIX_DS for DS_PREFIX_OPCODE.
96 (md_assemble): Check if NOTRACK prefix is supported.
97 (parse_insn): Set notrack_prefix and issue an error for
98 other prefixes after NOTRACK prefix.
99 * testsuite/gas/i386/i386.exp: Run tests for NOTRACK prefix.
100 * testsuite/gas/i386/notrack-intel.d: New file.
101 * testsuite/gas/i386/notrack.d: Likewise.
102 * testsuite/gas/i386/notrack.s: Likewise.
103 * testsuite/gas/i386/notrackbad.l: Likewise.
104 * testsuite/gas/i386/notrackbad.s: Likewise.
105 * testsuite/gas/i386/x86-64-notrack-intel.d: Likewise.
106 * testsuite/gas/i386/x86-64-notrack.d: Likewise.
107 * testsuite/gas/i386/x86-64-notrack.s: Likewise.
108 * testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
109 * testsuite/gas/i386/x86-64-notrackbad.s: Likewise.
111 2017-05-22 Jiong Wang <jiong.wang@arm.com>
113 * configure.tgt: Set "arch" to "aarch64" if ${cpu} equals "aarch64".
114 Recognize the new triplet name aarch64*-linux-gnu_ilp32.
115 * configure.ac: Output DEFAULT_ARCH macro for AArch64.
116 * configure: Regenerate.
117 * config/tc-aarch64.h (aarch64_after_parse_args): New declaration.
118 (md_after_parse_args): New define.
119 * config/tc-aarch64.c (aarch64_abi_type): New enumeration
121 (DEFAULT_ARCH): New define.
122 (aarch64_abi): Set default value to AARCH64_ABI_NONE.
123 (aarch64_after_parse_args): New function.
125 2017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
127 * config/tc-sparc.c (sparc_arch_table): Entries for `sparc6',
128 `v9m8' and `v8plusm8'.
129 (sparc_md_end): Handle SPARC_OPCODE_ARCH_M8.
130 (get_hwcap_name): Support the M8 hardware capabilities.
131 (sparc_ip): Handle new operand types.
132 * doc/c-sparc.texi (Sparc-Opts): Document -Av9m8, -Av8plusm8 and
133 -Asparc6, and the corresponding -xarch aliases.
134 * testsuite/gas/sparc/sparc6.s: New file.
135 * testsuite/gas/sparc/sparc6.d: Likewise.
136 * testsuite/gas/sparc/sparc6-diag.s: Likewise.
137 * testsuite/gas/sparc/sparc6-diag.l: Likewise.
138 * testsuite/gas/sparc/fpcmpshl.s: Likewise.
139 * testsuite/gas/sparc/fpcmpshl.d: Likewise.
140 * testsuite/gas/sparc/fpcmpshl-diag.s: Likewise.
141 * testsuite/gas/sparc/fpcmpshl-diag.l: Likewise.
142 * testsuite/gas/sparc/ldm-stm.s: Likewise.
143 * testsuite/gas/sparc/ldm-stm.d: Likewise.
144 * testsuite/gas/sparc/ldm-stm-diag.s: Likewise.
145 * testsuite/gas/sparc/ldm-stm-diag.l: Likewise.
146 * testsuite/gas/sparc/ldmf-stmf.s: Likewise.
147 * testsuite/gas/sparc/ldmf-stmf.d: Likewise.
148 * testsuite/gas/sparc/ldmf-stmf-diag.s: Likewise.
149 * testsuite/gas/sparc/ldmf-stmf-diag.l: Likewise.
150 * testsuite/gas/sparc/on.s: Likewise.
151 * testsuite/gas/sparc/on.d: Likewise.
152 * testsuite/gas/sparc/on-diag.s: Likewise.
153 * testsuite/gas/sparc/on-diag.l: Likewise.
154 * testsuite/gas/sparc/rle.s: Likewise.
155 * testsuite/gas/sparc/rle.d: Likewise.
156 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run new tests.
157 * testsuite/gas/sparc/rdasr.s: Add test for RDENTROPY.
158 * testsuite/gas/sparc/rdasr.d: Likewise.
160 2017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
162 * testsuite/gas/sparc/call-relax.d: Support 32-bit targets.
163 * testsuite/gas/sparc/sparc.exp (gas_64_check): Use -64 to
166 2017-05-19 Georg-Johann Lay <avr@gjlay.de>
169 * config/tc-avr.c (mcu_types): Add entries for: attiny416,
170 attiny417, attiny816, attiny817.
172 2017-05-18 Alan Modra <amodra@gmail.com>
174 * config/tc-aarch64.c: Don't compare booleans against TRUE or FALSE.
175 * config/tc-hppa.c: Likewise.
176 * config/tc-mips.c: Likewise.
177 * config/tc-score7.c: Likewise.
179 2017-05-16 Alan Modra <amodra@gmail.com>
181 * write.c (GENERIC_FORCE_RELOCATION_LOCAL): Define.
182 (TC_FORCE_RELOCATION_LOCAL): Use it.
183 (GENERIC_FORCE_RELOCATION_SUB_SAME): Define.
184 (TC_FORCE_RELOCATION_SUB_SAME): Use it.
185 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL,
186 TC_FORCE_RELOCATION_SUB_SAME): Use GENERIC defines.
187 * config/tc-aarch64.h: Similarly.
188 * config/tc-avr.h: Similarly.
189 * config/tc-cris.h: Similarly.
190 * config/tc-i386.h: Similarly.
191 * config/tc-i960.h: Similarly.
192 * config/tc-ia64.h: Similarly.
193 * config/tc-microblaze.h: Similarly.
194 * config/tc-mips.h: Similarly.
195 * config/tc-msp430.h: Similarly.
196 * config/tc-nds32.h: Similarly.
197 * config/tc-pru.h: Similarly.
198 * config/tc-riscv.h: Similarly.
199 * config/tc-rl78.h: Similarly.
200 * config/tc-s390.h: Similarly.
201 * config/tc-sh.h: Similarly.
202 * config/tc-sh64.h: Similarly.
203 * config/tc-sparc.h: Similarly.
204 * config/tc-xtensa.h: Similarly.
205 * config/tc-mn10300.h: Similarly.
206 (GENERIC_FORCE_RELOCATION_LOCAL): Define.
207 * config/tc-msp430.c (msp430_force_relocation_local): Modify to
208 be addition to rather than replacement of standard
209 TC_FORCE_RELOCATION_LOCAL.
211 2017-05-15 Nick Clifton <nickc@redhat.com>
214 * config/tc-arm.c (do_adr): If the ADR involves a thumb function
215 symbol, ensure that the T bit will be set.
217 (do_t_adr): Likewise.
218 * testsuite/gas/arm/pr21458.s: New test.
219 * testsuite/gas/arm/pr21458.d: New test driver.
221 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
223 * testsuite/gas/mips/mips16-pcrel-1.d: Remove `-mips3' from `as'
225 * testsuite/gas/mips/mips16-pcrel-pic-1.d: Likewise.
226 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
227 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
228 * testsuite/gas/mips/mips16-pcrel-n64-0.d: Likewise.
229 * testsuite/gas/mips/mips16-pcrel-n64-1.d: Likewise.
230 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
231 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
232 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: Likewise.
233 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: Likewise.
234 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Likewise.
235 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Likewise.
236 * testsuite/gas/mips/mips16-pcrel-addend-4.d: Likewise.
237 * testsuite/gas/mips/mips16-pcrel-addend-5.d: Likewise.
238 * testsuite/gas/mips/mips16-pcrel-addend-6.d: Likewise.
239 * testsuite/gas/mips/mips16-pcrel-addend-7.d: Likewise.
240 * testsuite/gas/mips/mips16-pcrel-addend-9.d: Likewise.
241 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: Likewise.
242 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: Likewise.
243 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: Likewise.
244 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d:
246 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d:
248 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: Likewise.
249 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: Likewise.
250 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: Likewise.
251 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: Likewise.
252 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: Likewise.
253 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: Likewise.
254 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: Likewise.
255 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: Likewise.
256 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: Likewise.
257 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: Likewise.
258 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: Likewise.
259 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d:
261 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d:
263 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d:
265 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d:
267 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d:
269 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d:
271 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
273 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
275 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: New test.
276 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: New test.
277 * testsuite/gas/mips/mips16e2@mips16-pcrel-2.d: New test.
278 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: New test.
279 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: New test.
280 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d: New
282 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d: New
284 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: New test.
285 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: New test.
286 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-2.d: New test.
287 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-3.d: New test.
288 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-6.d: New test.
289 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-7.d: New test.
290 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-2.d: New test.
291 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-3.d: New test.
292 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-6.d: New test.
293 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-7.d: New test.
294 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-8.d: New test.
295 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-9.d: New test.
296 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-8.d: New
298 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-9.d: New
300 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-8.d:
302 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-9.d:
304 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute.d: New test.
305 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-1.d: New
307 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-2.d: New
309 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-3.d: New
311 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-4.d: New
313 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-5.d: New
315 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-6.d: New
317 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-7.d: New
319 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-4.d: New
321 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-6.d: New
323 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-4.d: New
325 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-6.d: New
327 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-4.d:
329 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-6.d:
331 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-4.d:
333 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-6.d:
335 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-4.d:
337 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-6.d:
339 * testsuite/gas/mips/mips16-pcrel-1.l: Adjust line numbers.
340 * testsuite/gas/mips/mips16-pcrel-1.s: Adjust for alignment
341 preservation between MIPS16 and MIPS16e2 code.
342 * testsuite/gas/mips/mips.exp: Run MIPS16 relaxation tests over
343 all MIPS16 architectures.
345 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
347 * testsuite/gas/mips/mips16e2.d: New test.
348 * testsuite/gas/mips/mips16e2-mt.d: New test.
349 * testsuite/gas/mips/mips16e2-sub.d: New test.
350 * testsuite/gas/mips/mips16e2@mips16e2-sub.d: New test.
351 * testsuite/gas/mips/mips16e2-mt-sub.d: New test.
352 * testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: New test.
353 * testsuite/gas/mips/mips16e2-hilo.d: New test.
354 * testsuite/gas/mips/mips16e2-hilo-n32.d: New test.
355 * testsuite/gas/mips/mips16e2-reloc-error.d: New test.
356 * testsuite/gas/mips/mips16e2-imm-error.d: New test.
357 * testsuite/gas/mips/elf_ase_mips16e2.d: New test.
358 * testsuite/gas/mips/elf_ase_mips16e2-2.d: New test.
359 * testsuite/gas/mips/elf-rel9-mips16e2.d: New test.
360 * testsuite/gas/mips/mips16e2-lui.d: New test.
361 * testsuite/gas/mips/mips16e2@mips32r2-sync.d: New test.
362 * testsuite/gas/mips/mips16e2@mips32r2-sync-1.d: New test.
363 * testsuite/gas/mips/mips16e2@lui-2.d: New test.
364 * testsuite/gas/mips/mips16e2-reloc-error.l: New stderr output.
365 * testsuite/gas/mips/mips16e2-imm-error.l: New stderr output.
366 * testsuite/gas/mips/mips16e2@lui-2.l: New stderr output.
367 * testsuite/gas/mips/mips16e2.s: New test source.
368 * testsuite/gas/mips/mips16e2-mt.s: New test source.
369 * testsuite/gas/mips/mips16e2-sub.s: New test source.
370 * testsuite/gas/mips/mips16e2-mt-sub.s: New test source.
371 * testsuite/gas/mips/mips16e2-hilo.s: New test source.
372 * testsuite/gas/mips/mips16e2-reloc-error.s: New test source.
373 * testsuite/gas/mips/mips16e2-imm-error.s: New test source.
374 * testsuite/gas/mips/elf-rel9-mips16e2.s: New test source.
375 * testsuite/gas/mips/mips16e2-lui.s: New test source.
376 * testsuite/gas/mips/mips.exp: Expand `mips32r2-sync',
377 `mips32r2-sync-1', `lui-1' and `lui-2' tests across MIPS16e2
378 architectures. Run the new tests.
380 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
382 * testsuite/gas/mips/mips.exp (run_dump_test_arch): Add
384 (run_list_test_arch): Likewise.
385 (mips16e2-32, mips16e2-64): New architectures.
386 * testsuite/gas/mips/mips16e2-32@mips16-macro.d: New test.
387 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.d: New test.
388 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.d: New test.
389 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.d: New test.
390 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.d: New test.
391 * testsuite/gas/mips/mips16e2-32@mips16e-64.d: New test.
392 * testsuite/gas/mips/mips16e2-32@mips16-sub.d: New test.
393 * testsuite/gas/mips/mips16e2-32@mips16e-64-sub.d: New test.
394 * testsuite/gas/mips/mips16e2@relax-swap3.d: New test.
395 * testsuite/gas/mips/mips16-32@mips16-asmacro.d: Remove `source'
396 tag. Add `-I$srcdir/$subdir' to `as' flags.
397 * testsuite/gas/mips/mips16-64@mips16-asmacro.d: Likewise.
398 * testsuite/gas/mips/mips16e2-32@mips16-macro.l: New stderr
400 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.l: New stderr
402 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.l: New stderr
404 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.l: New stderr
406 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.l: New stderr
408 * testsuite/gas/mips/mips16-sub.s: Add `.set nomips16e2'.
409 * testsuite/gas/mips/mips16e-sub.s: Likewise.
410 * testsuite/gas/mips/mips16e-64-sub.s: Likewise.
411 * testsuite/gas/mips/mips16-asmacro.s: Remove `.set mips32'.
412 * testsuite/gas/mips/mips16-32@mips16-asmacro.s: New test
414 * testsuite/gas/mips/mips16-64@mips16-asmacro.s: New test
417 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
418 Matthew Fortune <matthew.fortune@imgtec.com>
419 Andrew Bennett <andrew.bennett@imgtec.com>
421 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `e2' flag.
422 (RELAX_MIPS16_E2): New macro.
423 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO)
424 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
425 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
426 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
427 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
428 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
429 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED, RELAX_MIPS16_MACRO)
430 (RELAX_MIPS16_MARK_MACRO, RELAX_MIPS16_CLEAR_MACRO): Shift bits.
431 (mips16_immed_extend): New prototype.
432 (options): Add OPTION_MIPS16E2 and OPTION_NO_MIPS16E2 enum
434 (md_longopts): Add "mmips16e2" and "mno-mips16e2" options.
435 (mips_ases): Add "mips16e2" entry.
436 (mips_set_ase): Handle MIPS16e2 ASE.
437 (insn_insert_operand): Explicitly handle immediates with MIPS16
438 instructions that require 32-bit encoding.
439 (is_opcode_valid_16): Pass enabled ASE bitmask on to
441 (validate_mips_insn): Explicitly handle immediates with MIPS16
442 instructions that require 32-bit encoding.
443 (operand_reg_mask) <OP_REG28>: Add handler.
444 (match_reg28_operand): New function.
445 (match_operand) <OP_REG28>: Add handler.
446 (append_insn): Pass ASE_MIPS16E2 setting to RELAX_MIPS16_ENCODE.
447 (match_mips16_insn): Handle MIPS16 instructions that require
448 32-bit encoding and `V' and `u' operand codes.
449 (mips16_ip): Allow any characters except from `.' in opcodes.
450 (mips16_immed_extend): Handle 9-bit immediates. Do not shuffle
451 immediates whose width is not one of these listed.
452 (md_estimate_size_before_relax): Handle MIPS16e2 relaxation.
453 (mips_relax_frag): Likewise.
454 (md_convert_frag): Likewise.
455 (mips_convert_ase_flags): Handle MIPS16e2 ASE.
457 * doc/as.texinfo (Target MIPS options): Add `-mmips16e2' and
458 `-mno-mips16e2' options.
459 (-mmips16e2, -mno-mips16e2): New options.
460 * doc/c-mips.texi (MIPS Options): Add `-mmips16e2' and
461 `-mno-mips16e2' options.
462 (MIPS ASE Instruction Generation Overrides): Add `.set mips16e2'
463 and `.set nomips16e2'.
465 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
467 * config/tc-mips.c (match_int_operand): Call
468 `match_out_of_range' before returning failure for 0x8000-0xffff
469 values conditionally allowed.
471 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
473 * config/tc-mips.c (match_int_operand): Call
474 `match_not_constant' before returning failure for a non-constant
475 16-bit immediate conditionally allowed.
477 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
479 * config/tc-mips.c (match_const_int): Call `match_out_of_range'
480 rather than `match_not_constant' for unrelocated operands
481 retrieved as an `O_big' expression.
482 (match_int_operand): Call `match_out_of_range' for relocatable
483 operands retrieved as an `O_big' expression.
484 (match_mips16_insn): Call `match_out_of_range' for relaxable
485 operands retrieved as an `O_big' expression.
486 * testsuite/gas/mips/addiu-error.d: New test.
487 * testsuite/gas/mips/mips16@addiu-error.d: New test.
488 * testsuite/gas/mips/micromips@addiu-error.d: New test.
489 * testsuite/gas/mips/break-error.d: New test.
490 * testsuite/gas/mips/lui-1.l: Adjust error message.
491 * testsuite/gas/mips/addiu-error.l: New stderr output.
492 * testsuite/gas/mips/mips16@addiu-error.l: New stderr output.
493 * testsuite/gas/mips/micromips@addiu-error.l: New stderr output.
494 * testsuite/gas/mips/break-error.l: New stderr output.
495 * testsuite/gas/mips/addiu-error.s: New test source.
496 * testsuite/gas/mips/break-error.s: New test source.
497 * testsuite/gas/mips/mips.exp: Run the new tests.
499 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
501 * config/tc-mips.c (match_mips16_insn): Remove the explicit
502 OT_INTEGER check before the `match_expression' call.
503 * testsuite/gas/mips/mips16-insn-e.l: Adjust messages.
504 * testsuite/gas/mips/mips16-32@mips16-insn-e.l: Likewise.
505 * testsuite/gas/mips/mips16-64@mips16-insn-e.l: Likewise.
506 * testsuite/gas/mips/mips16e-32@mips16-insn-e.l: Likewise.
507 * testsuite/gas/mips/mips16-reg-error.d: New test.
508 * testsuite/gas/mips/mips16-reg-error.l: New stderr output.
509 * testsuite/gas/mips/mips16-reg-error.s: New test source.
510 * testsuite/gas/mips/mips.exp: Run the new test.
512 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
514 * config/tc-mips.c (match_mips16_insn): Call
515 `match_not_constant' for a disallowed relocation operation.
516 * testsuite/gas/mips/mips16-reloc-error.d: New test.
517 * testsuite/gas/mips/mips16-reloc-error.l: New stderr output.
518 * testsuite/gas/mips/mips16-reloc-error.s: New test source.
519 * testsuite/gas/mips/mips.exp: Run the new test.
521 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
523 * testsuite/gas/mips/lui-1.d: New test.
524 * testsuite/gas/mips/lui-2.d: New test.
525 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
528 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
530 * config/tc-mips.c (match_const_int): Update description.
532 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
534 * doc/as.texinfo (-mips16, -no-mips16): Refer to `.module
535 mips16' rather than `.set mips16'.
536 (-mmicromips, -mno-micromips): Refer to `.module micromips' and
537 `.module nomicromips' rather than `.set micromips' and `.set
539 (-msmartmips, -mno-smartmips): Refer to `.module smartmips'
540 rather than `.set smartmips'.
541 * doc/c-mips.texi (MIPS Options): Refer to `.module mips16',
542 `.module micromips', `.module nomicromips' and `.module
543 smartmips' rather than `.set mips16', `.set micromips', `.set
544 nomicromips' and `.set smartmips' respectively.
546 2017-05-12 Maciej W. Rozycki <macro@imgtec.com>
547 Matthew Fortune <matthew.fortune@imgtec.com>
549 * config/tc-mips.c (mips_percent_op): Add "%gprel".
550 (mips16_percent_op): Add "%gp_rel".
551 * testsuite/gas/mips/elf-rel8.s:: Add `%gprel' forms.
552 * testsuite/gas/mips/elf-rel8-mips16.s: Add `%gp_rel' forms.
553 * testsuite/gas/mips/elf-rel8.d: Adjust accordingly.
554 * testsuite/gas/mips/elf-rel8-mips16.d: Likewise.
556 2017-05-12 Maciej W. Rozycki <macro@imgtec.com>
558 * testsuite/gas/mips/mips16.d: Adjust BREAK disassembly.
559 * testsuite/gas/mips/mips16-64@mips16.d: Likewise.
560 * testsuite/gas/mips/mips16-64.d: Likewise.
561 * testsuite/gas/mips/mips16-64@mips16-64.d: Likewise.
562 * testsuite/gas/mips/mips16-macro.d: Likewise.
563 * testsuite/gas/mips/mips16-64@mips16-macro.d: Likewise.
564 * testsuite/gas/mips/mips16-sub.d: Likewise.
565 * testsuite/gas/mips/mips16-32@mips16-sub.d: Likewise.
567 2017-05-11 Maciej W. Rozycki <macro@imgtec.com>
569 * testsuite/gas/mips/mips32r2-sync-1.d: New test.
570 * testsuite/gas/mips/micromips@mips32r2-sync-1.d: New test.
571 * testsuite/gas/mips/mips.exp: Run the new tests.
573 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
575 * testsuite/gas/mips/isa-override-2.d: New test.
576 * testsuite/gas/mips/mips1@isa-override-2.d: New test.
577 * testsuite/gas/mips/r3000@isa-override-2.d: New test.
578 * testsuite/gas/mips/r3900@isa-override-2.d: New test.
579 * testsuite/gas/mips/mips2@isa-override-2.d: New test.
580 * testsuite/gas/mips/mips32@isa-override-2.d: New test.
581 * testsuite/gas/mips/mips32r2@isa-override-2.d: New test.
582 * testsuite/gas/mips/mips32r3@isa-override-2.d: New test.
583 * testsuite/gas/mips/mips32r5@isa-override-2.d: New test.
584 * testsuite/gas/mips/mips32r6@isa-override-2.d: New test.
585 * testsuite/gas/mips/octeon3@isa-override-2.d: New test.
586 * testsuite/gas/mips/r3000@isa-override-2.l: Remove list test.
587 * testsuite/gas/mips/mips1@isa-override-2.s: Remove test source.
588 * testsuite/gas/mips/r3000@isa-override-2.s: Remove test source.
589 * testsuite/gas/mips/r3900@isa-override-2.s: Remove test source.
590 * testsuite/gas/mips/mips2@isa-override-2.s: Remove test source.
591 * testsuite/gas/mips/mips32@isa-override-2.s: Remove test
593 * testsuite/gas/mips/mips32r2@isa-override-2.s: Remove test
595 * testsuite/gas/mips/mips32r3@isa-override-2.s: Remove test
597 * testsuite/gas/mips/mips32r5@isa-override-2.s: Remove test
599 * testsuite/gas/mips/mips32r6@isa-override-2.s: Remove test
601 * testsuite/gas/mips/octeon3@isa-override-2.s: Remove test
603 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
606 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
608 * testsuite/gas/mips/mips16e-sub.d: Correct test name.
609 * testsuite/gas/mips/mips16-32@mips16e-sub.d: Likewise.
610 * testsuite/gas/mips/mips16-64@mips16e-sub.d: Likewise.
611 * testsuite/gas/mips/mips16e-64-sub.d: Likewise.
612 * testsuite/gas/mips/mips16-32@mips16e-64-sub.d: Likewise.
613 * testsuite/gas/mips/mips16-64@mips16e-64-sub.d: Likewise.
614 * testsuite/gas/mips/mips16e-32@mips16e-64-sub.d: Likewise.
616 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
618 * testsuite/gas/mips/mips16-macro.l: Remove list test.
620 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
622 * testsuite/gas/mips/r3900@ecoff@ld.d: Remove test.
623 * testsuite/gas/mips/mips2@ecoff@ld.d: Remove test.
624 * testsuite/gas/mips/mips32@ecoff@ld.d: Remove test.
625 * testsuite/gas/mips/mips32r2@ecoff@ld.d: Remove test.
626 * testsuite/gas/mips/r3900@ecoff@ld-forward.d: Remove test.
627 * testsuite/gas/mips/mips2@ecoff@ld-forward.d: Remove test.
628 * testsuite/gas/mips/mips32@ecoff@ld-forward.d: Remove test.
629 * testsuite/gas/mips/mips32r2@ecoff@ld-forward.d: Remove test.
630 * testsuite/gas/mips/mips1@ecoff@sd.d: Remove test.
631 * testsuite/gas/mips/r3000@ecoff@sd.d: Remove test.
632 * testsuite/gas/mips/r3900@ecoff@sd.d: Remove test.
633 * testsuite/gas/mips/mips2@ecoff@sd.d: Remove test.
634 * testsuite/gas/mips/mips32@ecoff@sd.d: Remove test.
635 * testsuite/gas/mips/mips32r2@ecoff@sd.d: Remove test.
636 * testsuite/gas/mips/mips1@ecoff@sd-forward.d: Remove test.
637 * testsuite/gas/mips/r3000@ecoff@sd-forward.d: Remove test.
638 * testsuite/gas/mips/r3900@ecoff@sd-forward.d: Remove test.
639 * testsuite/gas/mips/mips2@ecoff@sd-forward.d: Remove test.
640 * testsuite/gas/mips/mips32@ecoff@sd-forward.d: Remove test.
641 * testsuite/gas/mips/mips32r2@ecoff@sd-forward.d: Remove test.
643 2017-05-10 Claudiu Zissulescu <claziss@synopsys.com>
645 * testsuite/gas/arc/attr-arc600.d: New file.
646 * testsuite/gas/arc/attr-arc600_mul32x16.d: Likewise.
647 * testsuite/gas/arc/attr-arc600_norm.d: Likewise.
648 * testsuite/gas/arc/attr-arc601.d: Likewise.
649 * testsuite/gas/arc/attr-arc601_mul32x16.d: Likewise.
650 * testsuite/gas/arc/attr-arc601_mul64.d: Likewise.
651 * testsuite/gas/arc/attr-arc601_norm.d: Likewise.
652 * testsuite/gas/arc/attr-arc700.d: Likewise.
653 * testsuite/gas/arc/attr-arcem.d: Likewise.
654 * testsuite/gas/arc/attr-archs.d: Likewise.
655 * testsuite/gas/arc/attr-autodetect-1.d: Likewise.
656 * testsuite/gas/arc/attr-autodetect-1.s: Likewise.
657 * testsuite/gas/arc/attr-cpu-a601.d: Likewise.
658 * testsuite/gas/arc/attr-cpu-a601.s: Likewise.
659 * testsuite/gas/arc/attr-cpu-a700.d: Likewise.
660 * testsuite/gas/arc/attr-cpu-a700.s: Likewise.
661 * testsuite/gas/arc/attr-cpu-em.d: Likewise.
662 * testsuite/gas/arc/attr-cpu-em.s: Likewise.
663 * testsuite/gas/arc/attr-cpu-hs.d: Likewise.
664 * testsuite/gas/arc/attr-cpu-hs.s: Likewise.
665 * testsuite/gas/arc/attr-em.d: Likewise.
666 * testsuite/gas/arc/attr-em4.d: Likewise.
667 * testsuite/gas/arc/attr-em4_dmips.d: Likewise.
668 * testsuite/gas/arc/attr-em4_fpuda.d: Likewise.
669 * testsuite/gas/arc/attr-em4_fpus.d: Likewise.
670 * testsuite/gas/arc/attr-hs.d: Likewise.
671 * testsuite/gas/arc/attr-hs34.d: Likewise.
672 * testsuite/gas/arc/attr-hs38.d: Likewise.
673 * testsuite/gas/arc/attr-hs38_linux.d: Likewise.
674 * testsuite/gas/arc/attr-mul64.d: Likewise.
675 * testsuite/gas/arc/attr-name.d: Likewise.
676 * testsuite/gas/arc/attr-name.s: Likewise.
677 * testsuite/gas/arc/attr-nps400.d: Likewise.
678 * testsuite/gas/arc/attr-override-mcpu.d: Likewise.
679 * testsuite/gas/arc/attr-override-mcpu.s
680 * testsuite/gas/arc/attr-quarkse_em.d: Likewise.
681 * testsuite/gas/arc/blank.s: Likewise.
682 * testsuite/gas/elf/section2.e-arc: Likewise.
683 * testsuite/gas/arc/cpu-pseudop-1.d: Update test.
684 * testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
685 * testsuite/gas/arc/nps400-0.d: Likewise.
686 * testsuite/gas/elf/elf.exp: Set target_machine for ARC.
687 * config/tc-arc.c (opcode/arc-attrs.h): Include.
688 (ARC_GET_FLAG, ARC_SET_FLAG, streq): Define.
689 (arc_attribute): Declare new function.
690 (md_pseudo_table): Add arc_attribute.
691 (cpu_types): Rename default cpu features.
692 (selected_cpu): Set the default OSABI flag.
693 (mpy_option): New variable.
694 (pic_option): Likewise.
695 (sda_option): Likewise.
696 (tls_option): Likewise.
697 (feature_type, feature_list): Remove.
698 (arc_initial_eflag): Likewise.
699 (attributes_set_explicitly): New variable.
700 (arc_check_feature): Check also for the conflicting features.
701 (arc_select_cpu): Refactor assignment of selected_cpu.eflags.
702 (arc_option): Remove setting of private flags and architecture.
703 (check_cpu_feature): Refactor feature names.
704 (autodetect_attributes): New function.
705 (assemble_tokens): Use above function.
706 (md_parse_option): Refactor feature names.
707 (arc_attribute): New function.
708 (arc_set_attribute_int): Likewise.
709 (arc_set_attribute_string): Likewise.
710 (arc_stralloc): Likewise.
711 (arc_set_public_attributes): Likewise.
712 (arc_md_end): Likewise.
713 (arc_copy_symbol_attributes): Likewise.
714 (rc_convert_symbolic_attribute): Likewise.
715 * config/tc-arc.h (md_end): Define.
716 (CONVERT_SYMBOLIC_ATTRIBUTE): Likewise.
717 (TC_COPY_SYMBOL_ATTRIBUTES): Likewise.
718 * doc/c-arc.texi: Document ARC object attributes.
720 2017-05-03 Maciej W. Rozycki <macro@imgtec.com>
722 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `pic', `sym32' and
724 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO):
726 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
727 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
728 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
729 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
730 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
731 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): Shift bits.
732 (RELAX_MIPS16_MACRO, RELAX_MIPS16_MARK_MACRO)
733 (RELAX_MIPS16_CLEAR_MACRO): New macros.
734 (append_insn): Pass `mips_pic', HAVE_32BIT_SYMBOLS and
735 `mips_opts.warn_about_macros' settings to RELAX_MIPS16_ENCODE.
736 (mips16_macro_frag): New function.
737 (md_estimate_size_before_relax): Handle HI16/LO16 relaxation.
738 (mips_relax_frag): Likewise.
739 (md_convert_frag): Likewise.
741 * testsuite/gas/mips/mips16@relax-swap3.d: Remove error output,
743 * testsuite/gas/mips/mips16e@relax-swap3.d: New test
745 * testsuite/gas/mips/micromips@relax-swap3.d: Remove trailing
747 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: Remove error
748 output, add dump patterns.
749 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: Remove error
750 output, add dump patterns.
751 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Remove error
752 output, add dump patterns.
753 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Remove error
754 output, add dump patterns.
755 * testsuite/gas/mips/mips16-pcrel-addend-2.d: Remove error
756 output, add dump patterns.
757 * testsuite/gas/mips/mips16-pcrel-addend-3.d: Remove error
758 output, add dump patterns.
759 * testsuite/gas/mips/mips16-pcrel-absolute.d: Remove error
760 output, add dump patterns.
761 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: Remove error
762 output, add dump patterns.
763 * testsuite/gas/mips/mips16@relax-swap3.l: Remove file.
764 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: Remove file.
765 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: Remove file.
766 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: Remove file.
767 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: Remove file.
768 * testsuite/gas/mips/mips16-pcrel-addend-2.l: Remove file.
769 * testsuite/gas/mips/mips16-pcrel-addend-3.l: Remove file.
770 * testsuite/gas/mips/mips16-pcrel-absolute.l: Remove file.
771 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: Remove file.
772 * testsuite/gas/mips/relax-swap3.s: Adjust trailing padding.
774 * testsuite/gas/mips/mips16-pcrel-0.d: New test.
775 * testsuite/gas/mips/mips16-pcrel-1.d: New test.
776 * testsuite/gas/mips/mips16-pcrel-2.d: New test.
777 * testsuite/gas/mips/mips16-pcrel-3.d: New test.
778 * testsuite/gas/mips/mips16-pcrel-4.d: New test.
779 * testsuite/gas/mips/mips16-pcrel-5.d: New test.
780 * testsuite/gas/mips/mips16-pcrel-pic-0.d: New test.
781 * testsuite/gas/mips/mips16-pcrel-pic-1.d: New test.
782 * testsuite/gas/mips/mips16-pcrel-n32-0.d: New test.
783 * testsuite/gas/mips/mips16-pcrel-n32-1.d: New test.
784 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: New test.
785 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: New test.
786 * testsuite/gas/mips/mips16-pcrel-n64-0.d: New test.
787 * testsuite/gas/mips/mips16-pcrel-n64-1.d: New test.
788 * testsuite/gas/mips/mips16-pcrel-delay-0.d: New test.
789 * testsuite/gas/mips/mips16-pcrel-delay-1.d: New test.
790 * testsuite/gas/mips/mips16-pcrel-addend-4.d: New test.
791 * testsuite/gas/mips/mips16-pcrel-addend-5.d: New test.
792 * testsuite/gas/mips/mips16-pcrel-addend-6.d: New test.
793 * testsuite/gas/mips/mips16-pcrel-addend-7.d: New test.
794 * testsuite/gas/mips/mips16-pcrel-addend-8.d: New test.
795 * testsuite/gas/mips/mips16-pcrel-addend-9.d: New test.
796 * testsuite/gas/mips/mips16-pcrel-addend-pic-8.d: New test.
797 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: New test.
798 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: New test.
799 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: New test.
800 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d: New test.
801 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d: New test.
802 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: New test.
803 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: New test.
804 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: New test.
805 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: New test.
806 * testsuite/gas/mips/mips16-pcrel-absolute-4.d: New test.
807 * testsuite/gas/mips/mips16-pcrel-absolute-5.d: New test.
808 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: New test.
809 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: New test.
810 * testsuite/gas/mips/mips16-pcrel-absolute-pic-4.d: New test.
811 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: New test.
812 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: New test.
813 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: New test.
814 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: New test.
815 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: New test.
816 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d: New
818 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d: New
820 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d: New
822 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d: New
824 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d: New
826 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d: New
828 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
830 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
832 * testsuite/gas/mips/mips16-pcrel-0.l: New stderr output.
833 * testsuite/gas/mips/mips16-pcrel-1.l: New stderr output.
834 * testsuite/gas/mips/mips16-pcrel-2.l: New stderr output.
835 * testsuite/gas/mips/mips16-pcrel-3.l: New stderr output.
836 * testsuite/gas/mips/mips16-pcrel-4.l: New stderr output.
837 * testsuite/gas/mips/mips16-pcrel-5.l: New stderr output.
838 * testsuite/gas/mips/mips16-pcrel-delay-0.l: New stderr output.
839 * testsuite/gas/mips/mips16-pcrel-delay-1.l: New stderr output.
840 * testsuite/gas/mips/mips16-pcrel-addend-8.l: New stderr output.
841 * testsuite/gas/mips/mips16-pcrel-addend-9.l: New stderr output.
842 * testsuite/gas/mips/mips16-pcrel-absolute-4.l: New stderr
844 * testsuite/gas/mips/mips16-pcrel-absolute-6.l: New stderr
846 * testsuite/gas/mips/mips16-pcrel-0.s: New test source.
847 * testsuite/gas/mips/mips16-pcrel-1.s: New test source.
848 * testsuite/gas/mips/mips16-pcrel-2.s: New test source.
849 * testsuite/gas/mips/mips16-pcrel-3.s: New test source.
850 * testsuite/gas/mips/mips16-pcrel-4.s: New test source.
851 * testsuite/gas/mips/mips16-pcrel-5.s: New test source.
852 * testsuite/gas/mips/mips16-pcrel-delay-0.s: New test source.
853 * testsuite/gas/mips/mips16-pcrel-delay-1.s: New test source.
854 * testsuite/gas/mips/mips16-pcrel-addend-4.s: New test source.
855 * testsuite/gas/mips/mips16-pcrel-addend-5.s: New test source.
856 * testsuite/gas/mips/mips16-pcrel-addend-6.s: New test source.
857 * testsuite/gas/mips/mips16-pcrel-addend-7.s: New test source.
858 * testsuite/gas/mips/mips16-pcrel-addend-8.s: New test source.
859 * testsuite/gas/mips/mips16-pcrel-addend-9.s: New test source.
860 * testsuite/gas/mips/mips16-pcrel-absolute-2.s: New test.
861 * testsuite/gas/mips/mips16-pcrel-absolute-3.s: New test.
862 * testsuite/gas/mips/mips16-pcrel-absolute-4.s: New test.
863 * testsuite/gas/mips/mips16-pcrel-absolute-5.s: New test.
864 * testsuite/gas/mips/mips16-pcrel-absolute-6.s: New test.
865 * testsuite/gas/mips/mips16-pcrel-absolute-7.s: New test.
866 * testsuite/gas/mips/mips.exp: Run the new tests.
868 2017-05-03 Nick Clifton <nickc@redhat.com>
871 * symbols.c (snapshot_symbol): Handle the case where
872 resolve_expression returns a local symbol.
874 2017-05-02 Maciej W. Rozycki <macro@imgtec.com>
876 * config/tc-mips.c (append_insn): Call `symbol_append' for any
877 expression symbol created for MIPS16 relaxation.
878 (match_mips16_insn): Don't encode a constant value as an
879 immediate with a PC-relative operand.
881 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: New test.
882 * testsuite/gas/mips/mips16-branch-absolute-1.d: New test.
883 * testsuite/gas/mips/mips16-branch-absolute-2.d: New test.
884 * testsuite/gas/mips/mips16-branch-absolute-addend-1.d: New
886 * testsuite/gas/mips/mips16-branch-absolute-n32-1.d: New test.
887 * testsuite/gas/mips/mips16-branch-absolute-n32-2.d: New test.
888 * testsuite/gas/mips/mips16-branch-absolute-addend-n32-1.d: New
890 * testsuite/gas/mips/mips16-branch-absolute-n64-1.d: New test.
891 * testsuite/gas/mips/mips16-branch-absolute-n64-2.d: New test.
892 * testsuite/gas/mips/mips16-branch-absolute-addend-n64-1.d: New
894 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: New stderr
896 * testsuite/gas/mips/mips16-pcrel-absolute-1.s: New test source.
897 * testsuite/gas/mips/mips16-branch-absolute-1.s: New test
899 * testsuite/gas/mips/mips16-branch-absolute-2.s: New test
901 * testsuite/gas/mips/mips16-branch-absolute-addend-1.s: New test
903 * testsuite/gas/mips/mips.exp: Run the new tests.
905 2017-04-27 Maciej W. Rozycki <macro@imgtec.com>
907 * config/tc-mips.c (mips16_pcrel_val): New function, factored
909 (mips16_extended_frag): ... here.
910 (md_convert_frag): Use `mips16_pcrel_val' rather than repeated
911 code in MIPS16 relaxation, with `stretch' hardcoded to 0.
913 2017-04-27 Maciej W. Rozycki <macro@imgtec.com>
915 * config/tc-mips.c (RELAX_MIPS16_LONG_BRANCH): Rename to...
916 (RELAX_MIPS16_ALWAYS_EXTENDED): ... this.
917 (RELAX_MIPS16_MARK_LONG_BRANCH): Rename to...
918 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED): ... this.
919 (RELAX_MIPS16_CLEAR_LONG_BRANCH): Rename to...
920 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): ... this.
921 (mips16_extended_frag): Adjust accordingly.
923 2017-04-27 Alan Modra <amodra@gmail.com>
925 * symbols.c (S_FORCE_RELOC): Separate section and symbol tests.
927 2017-04-26 Maciej W. Rozycki <macro@imgtec.com>
929 * config/tc-mips.c (RELAX_ENCODE): Add `PIC' flag.
930 (RELAX_PIC): New macro.
931 (RELAX_USE_SECOND, RELAX_SECOND_LONGER, RELAX_NOMACRO)
932 (RELAX_DELAY_SLOT, RELAX_DELAY_SLOT_16BIT)
933 (RELAX_DELAY_SLOT_SIZE_FIRST, RELAX_DELAY_SLOT_SIZE_SECOND):
935 (RELAX_BRANCH_ENCODE): Add `pic' flag.
936 (RELAX_BRANCH_UNCOND, RELAX_BRANCH_LIKELY, RELAX_BRANCH_LINK)
937 (RELAX_BRANCH_TOOFAR): Shift bits.
938 (RELAX_BRANCH_PIC): New macro.
939 (RELAX_MICROMIPS_ENCODE): Add `pic' flag.
940 (RELAX_MICROMIPS_PIC): New macro.
941 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
942 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_NODS)
943 (RELAX_MICROMIPS_RELAX32): Shift bits.
944 (relax_close_frag): Pass `mips_pic' setting to RELAX_ENCODE.
945 (append_insn): Pass `mips_pic' setting to RELAX_BRANCH_ENCODE
946 and RELAX_MICROMIPS_ENCODE, and record it in `fx_tcbit2' of the
948 (md_apply_fix) <BFD_RELOC_16_PCREL_S2>: Use `fx_tcbit2' of the
949 fixup processed rather than `mips_pic' in choosing to relax an
950 out of range branch to a jump.
951 (relaxed_branch_length): Use the `pic' flag of the relaxed frag
952 rather than `mips_pic'.
953 (relaxed_micromips_32bit_branch_length): Likewise.
954 (md_estimate_size_before_relax): Likewise.
955 (md_convert_frag): Likewise.
957 * testsuite/gas/mips/option-pic-relax-0.d: New test.
958 * testsuite/gas/mips/option-pic-relax-1.d: New test.
959 * testsuite/gas/mips/option-pic-relax-2.d: New test.
960 * testsuite/gas/mips/option-pic-relax-3.d: New test.
961 * testsuite/gas/mips/option-pic-relax-3a.d: New test.
962 * testsuite/gas/mips/option-pic-relax-4.d: New test.
963 * testsuite/gas/mips/option-pic-relax-5.d: New test.
964 * testsuite/gas/mips/option-pic-relax-2.l: New stderr output.
965 * testsuite/gas/mips/option-pic-relax-3.l: New stderr output.
966 * testsuite/gas/mips/option-pic-relax-4.l: New stderr output.
967 * testsuite/gas/mips/option-pic-relax-5.l: New stderr output.
968 * testsuite/gas/mips/option-pic-relax-0.s: New test source.
969 * testsuite/gas/mips/option-pic-relax-1.s: New test source.
970 * testsuite/gas/mips/option-pic-relax-2.s: New test source.
971 * testsuite/gas/mips/option-pic-relax-3.s: New test source.
972 * testsuite/gas/mips/option-pic-relax-4.s: New test source.
973 * testsuite/gas/mips/option-pic-relax-5.s: New test source.
974 * testsuite/gas/mips/mips.exp: Run the new tests.
976 2017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
978 * testsuite/gas/arc/leave_enter.d: Update test.
979 * testsuite/gas/arc/leave_enter.s: Likewise.
981 2017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
983 * testsuite/gas/arc/b.d: Update test.
984 * testsuite/gas/arc/noargs_hs.d: Likewise.
986 2017-04-25 Maciej W. Rozycki <macro@imgtec.com>
988 * config/tc-mips.c (md_convert_frag): Correct
989 BFD_RELOC_MIPS16_16_PCREL_S1 fixup size.
990 * testsuite/gas/mips/mips16-branch-addend-4.d: New test.
991 * testsuite/gas/mips/mips16-branch-addend-5.d: New test.
992 * testsuite/gas/mips/mips16-branch-addend-5.l: New stderr
994 * testsuite/gas/mips/mips16-branch-addend-4.s: New test source.
995 * testsuite/gas/mips/mips16-branch-addend-5.s: New test source.
996 * testsuite/gas/mips/mips.exp: Run the new tests.
998 2017-04-25 Jose E. Marchesi <jose.marchesi@oracle.com>
1001 * config/tc-sparc.c (md_apply_fix): Do not transform `call'
1002 instructions into branch instructions in fixups generating
1003 additional relocations.
1004 * testsuite/gas/sparc/call-relax.s: New file.
1005 * testsuite/gas/sparc/call-relax.d: Likewise.
1006 * testsuite/gas/sparc/call-relax-aout.d: Likewise.
1007 * testsuite/gas/sparc/sparc.exp: Test call-relax and call-relax-aout.
1009 2017-04-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
1011 * config/tc-arm.c (move_or_literal_pool): Remove code generating MOVS.
1012 Forbid MOV.W and MOVW if destination is SP or PC.
1013 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.s: Explain
1014 expectation of LDR not generating a MOVS for low registers and small
1015 constants. Add tests of MOVW generation.
1016 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Update
1017 expected disassembly.
1019 2017-04-22 Alan Modra <amodra@gmail.com>
1021 * testsuite/gas/ppc/vle.s: Format. Add se_rfgi and e_sc.
1022 * testsuite/gas/ppc/vle.d: Update.
1024 2017-04-21 Nick Clifton <nickc@redhat.com>
1027 * testsuite/gas/aarch64/illegal-3.s: New file.
1028 * testsuite/gas/aarch64/illegal-3.d: New file.
1030 2017-04-11 Alan Modra <amodra@gmail.com>
1032 * config/tc-ppc.c (md_show_usage): Delete mention of -mhtm.
1033 * testsuite/gas/ppc/htm.d: Pass -mpower8 and -Mpower8.
1035 2017-04-10 Max Filippov <jcmvbkbc@gmail.com>
1037 * config/tc-xtensa.c (xtensa_maybe_create_literal_pool_frag):
1038 Initialize lps->frag_count with auto_litpool_limit.
1039 (xg_promote_candidate_litpool): New function.
1040 (xtensa_move_literals): Extract candidate litpool promotion code
1041 into separate function. Call it for all possible found
1043 (xtensa_switch_to_literal_fragment): Drop 'recursive' flag and
1044 call to xtensa_mark_literal_pool_location that it guards.
1045 Replace it with call to xtensa_maybe_create_literal_pool_frag.
1046 Initialize pool_location with created literal pool candidate.
1047 * testsuite/gas/xtensa/all.exp: Add new tests.
1048 * testsuite/gas/xtensa/auto-litpools-first1.d: New test results.
1049 * testsuite/gas/xtensa/auto-litpools-first1.s: New test.
1050 * testsuite/gas/xtensa/auto-litpools-first2.d: New test results.
1051 * testsuite/gas/xtensa/auto-litpools-first2.s: New test.
1052 * testsuite/gas/xtensa/auto-litpools.d: Fix offsets changed due
1053 to additional jump instruction.
1055 2017-04-07 Alan Modra <amodra@gmail.com>
1057 * testsuite/gas/ppc/altivec2.s: Delete E6500 vector insns.
1058 * testsuite/gas/ppc/altivec2.d: Adjust to suit.
1060 2017-04-07 Alan Modra <amodra@gmail.com>
1062 * testsuite/gas/elf/section12a.d: Don't expect alignment of 1
1065 2017-04-06 Pip Cet <pipcet@gmail.com>
1067 * testsuite/gas/wasm32/allinsn.d: Adjust test for disassembler
1069 * testsuite/gas/wasm32/disass.d: New test.
1070 * testsuite/gas/wasm32/disass.s: New test.
1071 * testsuite/gas/wasm32/disass-2.d: New test.
1072 * testsuite/gas/wasm32/disass-2.s: New test.
1073 * testsuite/gas/wasm32/reloc.d: Adjust test for changed reloc
1075 * testsuite/gas/wasm32/reloc.s: Update test for changed assembler
1077 * testsuite/gas/wasm32/wasm32.exp: Run new tests. Expect allinsn
1080 2017-04-04 H.J. Lu <hongjiu.lu@intel.com>
1082 * NEWS: Mention support for ELF SHF_GNU_MBIND.
1083 * config/obj-elf.c (section_match): New.
1084 (get_section): Match both sh_info and group name.
1085 (obj_elf_change_section): Add argument for sh_info. Pass both
1086 sh_info and group name to get_section. Issue an error for
1087 SHF_GNU_MBIND section without SHF_ALLOC. Set sh_info.
1088 (obj_elf_parse_section_letters): Set SHF_GNU_MBIND for 'd'.
1089 (obj_elf_section): Support SHF_GNU_MBIND section info.
1090 * config/obj-elf.h (obj_elf_change_section): Add argument for
1092 * config/tc-arm.c (start_unwind_section): Pass 0 as sh_info to
1093 obj_elf_change_section.
1094 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1095 * config/tc-microblaze.c (microblaze_s_data): Likewise.
1096 (microblaze_s_sdata): Likewise.
1097 (microblaze_s_rdata): Likewise.
1098 (microblaze_s_bss): Likewise.
1099 * config/tc-mips.c (s_change_section): Likewise.
1100 * config/tc-msp430.c (msp430_profiler): Likewise.
1101 * config/tc-rx.c (parse_rx_section): Likewise.
1102 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
1103 * doc/as.texinfo: Document 'd' for SHF_GNU_MBIND.
1104 * testsuite/gas/elf/elf.exp: Run section12a, section12b and
1106 * testsuite/gas/elf/section10.d: Updated.
1107 * testsuite/gas/elf/section10.s: Likewise.
1108 * testsuite/gas/elf/section12.s: New file.
1109 * testsuite/gas/elf/section12a.d: Likewise.
1110 * testsuite/gas/elf/section12b.d: Likewise.
1111 * testsuite/gas/elf/section13.l: Likewise.
1112 * testsuite/gas/elf/section13.d: Likewise.
1113 * testsuite/gas/elf/section13.s: Likewise.
1115 2017-04-03 Palmer Dabbelt <palmer@dabbelt.com>
1117 * config/tc-riscv.c (riscv_clear_subsets): Cast argument to free to
1118 avoid const warnings.
1120 2017-03-30 Palmer Dabbelt <palmer@dabbelt.com>
1122 * config/tc-riscv.c (riscv_clear_subsets): New function.
1123 (riscv_add_subset): Call riscv_clear_subsets and riscv_set_rvc to
1124 clear RVC when it's been previously set.
1126 2017-03-31 Nick Clifton <nickc@redhat.com>
1129 * config/tc-s390.c (tc_s390_fix_adjustable): Allow non pc-relative
1130 fixups in mergeable sections to be adjusted.
1132 2017-03-30 Pip Cet <pipcet@gmail.com>
1134 * config/tc-wasm32.h: New file: Add WebAssembly assembler target.
1135 * config/tc-wasm32.c: New file: Add WebAssembly assembler target.
1136 * Makefile.am: Add WebAssembly assembler target.
1137 * configure.tgt: Add WebAssembly assembler target.
1138 * doc/c-wasm32.texi: New file: Start documenting WebAssembly
1140 * doc/all.texi: Define WASM32.
1141 * doc/as.texinfo: Add WebAssembly entries.
1142 * NEWS: Mention the new support.
1143 * Makefile.in: Regenerate.
1144 * po/gas.pot: Regenerate.
1145 * po/POTFILES.in: Regenerate.
1146 * testsuite/gas/wasm32: New directory.
1147 * testsuite/gas/wasm32/allinsn.d: New file.
1148 * testsuite/gas/wasm32/allinsn.s: New file.
1149 * testsuite/gas/wasm32/illegal.l: New file.
1150 * testsuite/gas/wasm32/illegal.s: New file.
1151 * testsuite/gas/wasm32/illegal-2.l: New file.
1152 * testsuite/gas/wasm32/illegal-2.s: New file.
1153 * testsuite/gas/wasm32/illegal-3.l: New file.
1154 * testsuite/gas/wasm32/illegal-3.s: New file.
1155 * testsuite/gas/wasm32/illegal-4.l: New file.
1156 * testsuite/gas/wasm32/illegal-4.s: New file.
1157 * testsuite/gas/wasm32/illegal-5.l: New file.
1158 * testsuite/gas/wasm32/illegal-5.s: New file.
1159 * testsuite/gas/wasm32/illegal-6.l: New file.
1160 * testsuite/gas/wasm32/illegal-6.s: New file.
1161 * testsuite/gas/wasm32/illegal-7.l: New file.
1162 * testsuite/gas/wasm32/illegal-7.s: New file.
1163 * testsuite/gas/wasm32/illegal-8.l: New file.
1164 * testsuite/gas/wasm32/illegal-8.s: New file.
1165 * testsuite/gas/wasm32/illegal-9.l: New file.
1166 * testsuite/gas/wasm32/illegal-9.s: New file.
1167 * testsuite/gas/wasm32/illegal-10.l: New file.
1168 * testsuite/gas/wasm32/illegal-10.s: New file.
1169 * testsuite/gas/wasm32/illegal-11.l: New file.
1170 * testsuite/gas/wasm32/illegal-11.s: New file.
1171 * testsuite/gas/wasm32/illegal-12.l: New file.
1172 * testsuite/gas/wasm32/illegal-12.s: New file.
1173 * testsuite/gas/wasm32/illegal-13.l: New file.
1174 * testsuite/gas/wasm32/illegal-13.s: New file.
1175 * testsuite/gas/wasm32/illegal-14.l: New file.
1176 * testsuite/gas/wasm32/illegal-14.s: New file.
1177 * testsuite/gas/wasm32/illegal-15.l: New file.
1178 * testsuite/gas/wasm32/illegal-15.s: New file.
1179 * testsuite/gas/wasm32/illegal-16.l: New file.
1180 * testsuite/gas/wasm32/illegal-16.s: New file.
1181 * testsuite/gas/wasm32/illegal-17.l: New file.
1182 * testsuite/gas/wasm32/illegal-17.s: New file.
1183 * testsuite/gas/wasm32/illegal-18.l: New file.
1184 * testsuite/gas/wasm32/illegal-18.s: New file.
1185 * testsuite/gas/wasm32/illegal-19.l: New file.
1186 * testsuite/gas/wasm32/illegal-19.s: New file.
1187 * testsuite/gas/wasm32/illegal-20.l: New file.
1188 * testsuite/gas/wasm32/illegal-20.s: New file.
1189 * testsuite/gas/wasm32/illegal-21.l: New file.
1190 * testsuite/gas/wasm32/illegal-21.s: New file.
1191 * testsuite/gas/wasm32/illegal-22.l: New file.
1192 * testsuite/gas/wasm32/illegal-22.s: New file.
1193 * testsuite/gas/wasm32/illegal-24.l: New file.
1194 * testsuite/gas/wasm32/illegal-24.s: New file.
1195 * testsuite/gas/wasm32/illegal-25.l: New file.
1196 * testsuite/gas/wasm32/illegal-25.s: New file.
1197 * testsuite/gas/wasm32/reloc.d: New file.
1198 * testsuite/gas/wasm32/reloc.s: New file.
1199 * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly
1202 2017-03-29 Alan Modra <amodra@gmail.com>
1204 * config/tc-ppc.c (md_parse_option): Reject -mraw.
1206 2017-03-27 Alan Modra <amodra@gmail.com>
1209 * testsuite/gas/ppc/pr21303.d,
1210 * testsuite/gas/ppc/pr21303.s: New test
1211 * testsuite/gas/ppc/ppc.exp: Run it.
1213 2017-03-27 Rinat Zelig <rinat@mellanox.com>
1215 * testsuite/gas/arc/nps400-12.s: New file.
1216 * testsuite/gas/arc/nps400-12.d: New file.
1218 2017-03-24 Thomas preud'homme <thomas.preudhomme@arm.com>
1220 * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
1221 CPU_DEFAULT is defined.
1223 2017-03-21 Palmer Dabbbelt <palmer@dabbelt.com>
1225 * config/tc-riscv.c (md_show_usage): Remode defuct -m32, -m64,
1226 -msoft-float, -mhard-float, -mno-rvc, and -mrvc options; and don't
1227 print an invalid default ISA string.
1228 * doc/c-riscv.texi (OPTIONS): Add -fpic and -fno-pic options.
1230 2017-03-22 Max Filippov <jcmvbkbc@gmail.com>
1232 * config/tc-xtensa.c (xtensa_relax_frag): Change fx_size of the
1233 reassigned fixup to size of jump instruction (3) and fx_r_type
1234 to BFD_RELOC_XTENSA_SLOT0_OP, as there's only one slot.
1235 (add_jump_to_trampoline): Search
1236 origfrag->tc_frag_data.slot_symbols for the slot with non-NULL
1237 symbol and use that slot instead of slot 0.
1239 2017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1241 * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
1242 from cpu_table. Remove vx2, and novx2 from cpu_flags.
1244 2017-03-21 Rinat Zelig <rinat@mellanox.com>
1246 * testsuite/gas/arc/nps400-11.s: New file.
1247 * testsuite/gas/arc/nps400-11.d: New file.
1249 2017-03-20 Nick Clifton <nickc@redhat.com>
1251 * doc/as.texinfo (2byte): Note that if no expressions are present
1252 the directive does nothing. Emphasize that the output is
1253 unaligned, and that this can have an effect on the relocations
1255 (4byte): Simplify description. Refer back to the 2byte
1259 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
1261 * config/tc-arm.c (arm_fpus): Note entires that should not be
1263 * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
1264 neon-fp16. Fix spelling error.
1266 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
1268 * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
1270 2017-03-16 Rinat Zelig <rinat@mellanox.com>
1272 * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
1273 specially for ARCv2.
1275 2017-03-14 Kito Cheng <kito.cheng@gmail.com>
1277 * config/tc-riscv.c (validate_riscv_insn): Add 'o' RVC immediate
1278 encoding format, which can accept 0-valued immediates.
1279 (riscv_ip): Likewise.
1281 2017-03-15 Nick Clifton <nickc@redhat.com>
1283 * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
1284 warning about discarding a const qualifier.
1286 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
1288 * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
1290 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
1292 * config/tc-riscv.c (md_apply_fix): Set fx_frag and
1293 fx_next->fx_frag for CFA_advance_loc relocations.
1295 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
1297 * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
1298 for CFA relocations.
1300 2017-03-13 Nick Clifton <nickc@redhat.com>
1303 * config/tc-aarch64.c (reloc_table): Rename
1304 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC to
1305 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12. Rname
1306 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC to
1307 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
1308 (md_apply_fix): Likewise.
1309 (aarch64_force_relocation): Likewise.
1310 * testsuite/gas/aarch64/tls.d: Update regexp.
1312 2017-03-10 Tobin C. Harding <me@tobin.cc>
1313 Nick Clifton <nickc@redhat.com>
1315 * doc/as.texinfo (2byte): Tidy up wording. Add note that
1316 overlarge values will produce a warning message and be trunacted.
1319 2017-03-09 H.J. Lu <hongjiu.lu@intel.com>
1321 * config/tc-i386.c (_i386_insn): Add dir_encoding and
1322 vec_encoding. Remove swap_operand and need_vrex.
1323 (extra_symbol_chars): Add '}'.
1324 (md_begin): Mark '}' with LEX_BEGIN_NAME. Allow '}' in
1326 (build_vex_prefix): Don't use 2-byte VEX encoding with
1327 {vex3}. Check dir_encoding and load.
1328 (parse_insn): Check pseudo prefixes. Set dir_encoding.
1329 (VEX_check_operands): Likewise.
1330 (match_template): Check dir_encoding and load.
1331 (parse_real_register): Set vec_encoding instead of need_vrex.
1332 (parse_register): Likewise.
1333 * doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
1334 {vex2}, {vex3} and {evex}. Remove ".s", ".d8" and ".d32"
1335 * testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
1336 * testsuite/gas/i386/pseudos.d: New file.
1337 * testsuite/gas/i386/pseudos.s: Likewise.
1338 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
1339 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
1341 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
1343 * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
1344 (objdump): Use the -Mpower8 option.
1346 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
1348 * testsuite/gas/ppc/power9.d <lnia> New test.
1349 * testsuite/gas/ppc/power9.s: Likewise.
1351 2017-03-07 Alan Modra <amodra@gmail.com>
1353 * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
1355 2017-03-07 Tobin C. Harding <me@tobin.cc>
1356 Alan Modra <amodra@gmail.com>
1358 * doc/as.texinfo (2byte, 4byte, 8byte): Document.
1359 * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
1361 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
1363 * config/tc-i386.c (cpu_arch): Add .cet.
1364 * doc/c-i386.texi: Document cet.
1365 * testsuite/gas/i386/cet-intel.d: New file.
1366 * testsuite/gas/i386/cet.d: Likewise.
1367 * testsuite/gas/i386/cet.s: Likewise.
1368 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
1369 * testsuite/gas/i386/x86-64-cet.d: Likewise.
1370 * testsuite/gas/i386/x86-64-cet.s: Likewise.
1371 * testsuite/gas/i386/i386.exp: Run Intel CET tests.
1373 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
1375 * testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment.
1376 * testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
1378 2017-03-06 Alan Modra <amodra@gmail.com>
1380 * dw2gencfi.c (encoding_size): Return unsigned int.
1381 (emit_expr_encoded): Assert size matches reloc bitsize.
1382 (output_fde): Use unsigned for offset_size and addr_size. Set
1383 addr_size earlier and use in place of constant 4 and uses of
1384 DWARF2_FDE_RELOC_SIZE. Assert it matches reloc bitsize.
1386 2017-03-06 Alan Modra <amodra@gmail.com>
1388 * dw2gencfi.c: Wrap overlong lines. Add parens for emacs
1389 auto reformat. Formatting and whitespace fixes.
1391 2017-03-05 Mark Wielaard <mark@klomp.org>
1393 * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_strp instead of
1394 DW_FORM_string for DW_AT_name, DW_AT_comp_dir and DW_AT_producer.
1395 (out_debug_info): Accept symbols to name, comp_dir and producer in
1396 the .debug_str section and emit those offsets not full strings.
1397 (out_debug_str): New function that outputs the strings for name,
1398 comp_dir and producer in .debug_str and generates symbols to those
1400 (out_debug_line): Create a .debug_str section if necessary and call
1401 out_debug_str before calling out_debug_info.
1402 * testsuite/gas/aarch64/dwarf.d: Add extra section symbol to expected
1405 2017-03-02 Maciej W. Rozycki <macro@imgtec.com>
1407 * write.c (relax_segment) <rs_org>: Only bail out if the fixed
1408 part of the frag has overrun the location requested.
1410 * testsuite/gas/all/org-1.d: New test.
1411 * testsuite/gas/all/org-2.d: New test.
1412 * testsuite/gas/all/org-3.d: New test.
1413 * testsuite/gas/all/org-4.d: New test.
1414 * testsuite/gas/all/org-5.d: New test.
1415 * testsuite/gas/all/org-6.d: New test.
1416 * testsuite/gas/all/org-1.l: New stderr output.
1417 * testsuite/gas/all/org-2.l: New stderr output.
1418 * testsuite/gas/all/org-3.l: New stderr output.
1419 * testsuite/gas/all/org-1.s: New test source.
1420 * testsuite/gas/all/org-2.s: New test source.
1421 * testsuite/gas/all/org-3.s: New test source.
1422 * testsuite/gas/all/org-4.s: New test source.
1423 * testsuite/gas/all/org-5.s: New test source.
1424 * testsuite/gas/all/org-6.s: New test source.
1425 * testsuite/gas/all/gas.exp: Run the new tests.
1427 * testsuite/gas/mips/org-1.d: New test.
1428 * testsuite/gas/mips/org-2.d: New test.
1429 * testsuite/gas/mips/org-3.d: New test.
1430 * testsuite/gas/mips/org-4.d: New test.
1431 * testsuite/gas/mips/org-5.d: New test.
1432 * testsuite/gas/mips/org-6.d: New test.
1433 * testsuite/gas/mips/org-7.d: New test.
1434 * testsuite/gas/mips/org-8.d: New test.
1435 * testsuite/gas/mips/org-9.d: New test.
1436 * testsuite/gas/mips/org-10.d: New test.
1437 * testsuite/gas/mips/org-11.d: New test.
1438 * testsuite/gas/mips/org-12.d: New test.
1439 * testsuite/gas/mips/org-1.l: New stderr output.
1440 * testsuite/gas/mips/org-4.l: New stderr output.
1441 * testsuite/gas/mips/org-5.l: New stderr output.
1442 * testsuite/gas/mips/org-6.l: New stderr output.
1443 * testsuite/gas/mips/org-10.l: New stderr output.
1444 * testsuite/gas/mips/org-1.s: New test source.
1445 * testsuite/gas/mips/org-2.s: New test source.
1446 * testsuite/gas/mips/org-3.s: New test source.
1447 * testsuite/gas/mips/org-4.s: New test source.
1448 * testsuite/gas/mips/org-5.s: New test source.
1449 * testsuite/gas/mips/org-6.s: New test source.
1450 * testsuite/gas/mips/org-7.s: New test source.
1451 * testsuite/gas/mips/org-8.s: New test source.
1452 * testsuite/gas/mips/org-9.s: New test source.
1453 * testsuite/gas/mips/org-10.s: New test source.
1454 * testsuite/gas/mips/org-11.s: New test source.
1455 * testsuite/gas/mips/org-12.s: New test source.
1456 * testsuite/gas/mips/mips.exp: Run the new tests.
1458 2017-03-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1460 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
1462 2017-02-28 Jan Beulich <jbeulich@suse.com>
1464 * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
1466 * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
1467 * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
1469 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
1470 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
1471 * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Likewise.
1472 * testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d: Likewise.
1473 * testsuite/gas/i386/ilp32/x86-64-sse4_2.d: Likewise.
1474 * testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
1475 * testsuite/gas/i386/x86-64-avx.d: Likewise.
1476 * testsuite/gas/i386/x86-64-sse2avx.d: Likewise.
1477 * testsuite/gas/i386/x86-64-sse4_2-intel.d: Likewise.
1478 * testsuite/gas/i386/x86-64-sse4_2.d: Likewise.
1480 2017-02-28 Alan Modra <amodra@gmail.com>
1482 * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
1484 2017-02-28 Alan Modra <amodra@gmail.com>
1486 * config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
1487 (md_apply_fix): Remove fx_subsy check. Move code converting to
1488 pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA. Remove code
1489 emiiting errors on seeing fx_pcrel set on unexpected relocs, as
1490 that is done now by the generic code via..
1491 * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
1492 (TC_VALIDATE_FIX_SUB): Define.
1494 2017-02-28 Maciej W. Rozycki <macro@imgtec.com>
1496 * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
1497 * testsuite/gas/mips/jalr4.d: Adjust accordingly. Remove MIPSr6
1499 * testsuite/gas/mips/jalr4-n64.d: Likewise.
1500 * testsuite/gas/mips/mipsr6@jalr4.d: New test.
1501 * testsuite/gas/mips/mipsr6@jalr4-n32.d: New test.
1502 * testsuite/gas/mips/mipsr6@jalr4-n64.d: New test.
1504 2017-02-25 Alan Modra <amodra@gmail.com>
1506 * testsuite/gas/elf/strtab.s: Don't put directives on first
1507 column or continuation with labels not in first column.
1509 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
1511 * doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
1512 * config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
1513 to be used with SVE registers.
1514 (parse_operands): Handle new SVE operands.
1515 (aarch64_features): Make "sve" require F16 rather than FP. Also
1517 * testsuite/gas/aarch64/sve.s: Add tests for new instructions.
1518 Include compnum tests.
1519 * testsuite/gas/aarch64/sve.d: Update accordingly.
1520 * testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
1521 * testsuite/gas/aarch64/sve-invalid.l: Update accordingly. Also
1522 update expected output for new FMOV and MOV alternatives.
1524 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
1526 * doc/c-aarch64.texi: Add a "compnum" entry.
1527 * config/tc-aarch64.c (aarch64_features): Likewise,
1528 * testsuite/gas/aarch64/advsimd-compnum.s: New test.
1529 * testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
1531 2017-02-24 Jan Beulich <jbeulich@suse.com>
1533 * testsuite/gas/i386/opcode.s: Add alternative TEST forms.
1534 * testsuite/gas/i386/x86-64-opcode.s: Likewise.
1535 * testsuite/gas/i386/opcode.d: Adjust accordingly.
1536 * testsuite/gas/i386/opcode-intel.d: Likewise.
1537 * testsuite/gas/i386/x86-64-opcode.d: Likewise.
1538 * testsuite/gas/i386/ilp32/x86-64-opcode.d: Likewise.
1540 2017-02-24 Sheldon Lobo <sheldon.lobo@oracle.com>
1542 Test cases for the architecture level aware SPARC ASI work.
1543 * gas/testsuite/gas/sparc/sparc.exp: 2 new tests
1544 * gas/testsuite/gas/sparc/asi-bump-warn.s: New test
1545 * gas/testsuite/gas/sparc/asi-bump-warn.l: Likewise
1546 * gas/testsuite/gas/sparc/asi-arch-error.s: Likewise
1547 * gas/testsuite/gas/sparc/asi-arch-error.l: Likewise
1549 2017-02-23 Maciej W. Rozycki <macro@imgtec.com>
1551 * testsuite/gas/mips/jalr4.d: New test.
1552 * testsuite/gas/mips/jalr4-n32.d: New test.
1553 * testsuite/gas/mips/jalr4-n64.d: New test.
1554 * testsuite/gas/mips/jalr4.s: New test source.
1555 * testsuite/gas/mips/mips.exp: Run the new tests.
1557 2017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
1559 Add support for associating SPARC ASIs with an architecture level.
1560 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
1562 2017-02-23 Jan Beulich <jbeulich@suse.com>
1564 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
1565 of symbols as expression.
1567 2017-02-23 Jan Beulich <jbeulich@suse.com>
1569 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.d: Add 32- and 16-
1570 bit GPR forms of BNDCL, BNDCU, and BNDCN. Add RSP-as-index
1571 Intel syntax forms of BNDMK, BNDSTX, and BNDLDX.
1572 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust.
1574 2017-02-22 Maciej W. Rozycki <macro@imgtec.com>
1576 * ecoff.c (ecoff_directive_end) [md_flush_pending_output]: Call
1577 `md_flush_pending_output'.
1578 * config/tc-mips.c (s_mips_end) [md_flush_pending_output]: Call
1579 `md_flush_pending_output' unconditionally.
1580 * testsuite/gas/mips/debug-label-end-1.d: New test.
1581 * testsuite/gas/mips/debug-label-end-2.d: New test.
1582 * testsuite/gas/mips/debug-label-end-3.d: New test.
1583 * testsuite/gas/mips/debug-label-end.s: New test source.
1584 * testsuite/gas/mips/mips.exp: Run the new tests.
1586 2017-02-22 Hans-Peter Nilsson <hp@axis.com>
1588 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
1589 targets yielding an error message matching "too complex".
1591 2017-02-22 Nick Clifton <nickc@redhat.com>
1593 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
1595 2017-02-21 Jan Beulich <jbeulich@suse.com>
1597 * expr.c (operand): Handle missing operand to .startof.() and
1599 * testsuite/gas/all/err-sizeof.s: New.
1601 2017-02-20 Alan Modra <amodra@gmail.com>
1604 * NEWS: Revise powerpc register check.
1605 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
1606 register expression" a warning.
1608 2017-02-17 Maciej W. Rozycki <macro@imgtec.com>
1610 * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
1611 * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
1612 * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
1613 * testsuite/gas/mips/aent-2.d: New test.
1614 * testsuite/gas/mips/aent-mdebug.d: New test.
1615 * testsuite/gas/mips/aent-mdebug-2.d: New test.
1616 * testsuite/gas/mips/mips.exp: Run the new tests.
1618 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
1620 * testsuite/gas/aarch64/sve-sysreg.s,
1621 testsuite/gas/aarch64/sve-sysreg.d,
1622 testsuite/gas/aarch64/sve-sysreg-invalid.d,
1623 testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
1625 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
1627 * doc/c-aarch64.texi: Fix sve entry.
1629 2017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
1631 * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
1632 information from input expression.
1633 (assemble_insn): Make sure pcrel is correctly set.
1634 (arc_pcrel_adjust): Compensate for PCL rounding.
1635 * testsuite/gas/arc/relax-add01.d: New file.
1636 * testsuite/gas/arc/relax-add01.s: Likewise.
1637 * testsuite/gas/arc/relax-add02.d: Likewise.
1638 * testsuite/gas/arc/relax-add02.s: Likewise.
1639 * testsuite/gas/arc/relax-add03.d: Likewise.
1640 * testsuite/gas/arc/relax-add03.s: Likewise.
1641 * testsuite/gas/arc/relax-add04.d: Likewise.
1642 * testsuite/gas/arc/relax-add04.s: Likewise.
1643 * testsuite/gas/arc/relax-ld01.d: Likewise.
1644 * testsuite/gas/arc/relax-ld01.s: Likewise.
1645 * testsuite/gas/arc/relax-ld02.d: Likewise.
1646 * testsuite/gas/arc/relax-ld02.s: Likewise.
1647 * testsuite/gas/arc/relax-mov01.d: Likewise.
1648 * testsuite/gas/arc/relax-mov01.s: Likewise.
1649 * testsuite/gas/arc/relax-mov02.d: Likewise.
1650 * testsuite/gas/arc/relax-mov02.s: Likewise.
1651 * testsuite/gas/arc/relax-mpy01.d: Likewise.
1652 * testsuite/gas/arc/relax-mpy01.s: Likewise.
1653 * testsuite/gas/arc/relax-sub01.d: Likewise.
1654 * testsuite/gas/arc/relax-sub01.s: Likewise.
1655 * testsuite/gas/arc/relax-sub02.d: Likewise.
1656 * testsuite/gas/arc/relax-sub02.s: Likewise.
1657 * testsuite/gas/arc/relax-sub03.d: Likewise.
1658 * testsuite/gas/arc/relax-sub03.s: Likewise.
1659 * testsuite/gas/arc/relax-sub04.d: Likewise.
1660 * testsuite/gas/arc/relax-sub04.s: Likewise.
1662 2017-02-09 Vineet Gupta <vgupta@synopsys.com>
1664 * testsuite/gas/arc/st.d: Update for 0xe having a name now
1666 2017-02-14 Alan Modra <amodra@gmail.com>
1669 * NEWS: Mention powerpc register checks.
1670 * config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
1671 (pre_defined_registers): Delete fpscr and pmr entries. Set
1672 register type in flags.
1673 (cr_names): Set type in flags.
1674 (reg_name_search): Return pointer to struct pd_reg rather than value.
1675 (register_name): Adjust to suit. Set X_md from flags.
1676 (ppc_parse_name): Likewise.
1677 (ppc_optimize_expr): New function.
1678 (md_assemble): Verify expresion reg flags match operand.
1679 * config/tc-ppc.h (md_optimize_expr): Define.
1680 (ppc_optimize_expr): Declare.
1682 2017-02-14 Alan Modra <amodra@gmail.com>
1684 * testsuite/gas/ppc/cell.s: Correct invalid registers.
1685 * testsuite/gas/ppc/vle-simple-1.s: Likewise.
1686 * testsuite/gas/ppc/vle-simple-2.s: Likewise.
1688 2017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1690 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
1692 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
1693 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
1695 2017-02-10 Nicholas Piggin <npiggin@gmail.com>
1697 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
1699 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
1701 * doc/as.texinfo (Overview): Select MIPS options for man page
1704 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
1706 * config/tc-mips.c (mips_ignore_branch_isa): New variable.
1707 (options): Add OPTION_IGNORE_BRANCH_ISA and
1708 OPTION_NO_IGNORE_BRANCH_ISA enum values.
1709 (md_longopts): Add "mignore-branch-isa" and
1710 "mno-ignore-branch-isa" options.
1711 (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
1712 OPTION_NO_IGNORE_BRANCH_ISA.
1713 (fix_bad_cross_mode_branch_p): Return FALSE if
1714 `mips_ignore_branch_isa' has been set.
1715 (md_show_usage): Add `-mignore-branch-isa' and
1716 `-mno-ignore-branch-isa'.
1718 * doc/as.texinfo (Target MIPS options): Add
1719 `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
1720 (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
1721 * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
1722 `-mno-ignore-branch-isa' options.
1724 * testsuite/gas/mips/branch-local-ignore-2.d: New test.
1725 * testsuite/gas/mips/branch-local-ignore-3.d: New test.
1726 * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
1727 * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
1728 * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
1729 * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
1730 * testsuite/gas/mips/mips.exp: Run the new tests.
1732 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
1734 * testsuite/gas/mips/branch-local-2.d: New test.
1735 * testsuite/gas/mips/branch-local-3.d: New test.
1736 * testsuite/gas/mips/branch-local-n32-2.d: New test.
1737 * testsuite/gas/mips/branch-local-n32-3.d: New test.
1738 * testsuite/gas/mips/branch-local-n64-2.d: New test.
1739 * testsuite/gas/mips/branch-local-n64-3.d: New test.
1740 * testsuite/gas/mips/mips.exp: Fold corresponding list tests
1743 2017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
1746 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
1747 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
1749 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1751 * configure.tgt (aarch64*-*-rtems*): Remove.
1752 (bfin-*-rtems*): Likewise.
1753 (h8300-*-rtems*): Likewise.
1754 (i386-*-rtems*): Likewise.
1755 (m32c-*-rtems*): Likewise.
1756 (m32r-*-rtems*): Likewise.
1757 (m68k-*-rtems*): Likewise.
1758 (mips-*-rtems*): Likewise.
1759 (nios2-*-rtems*): Likewise.
1760 (ppc-*-rtems*): Likewise.
1761 (sh-*-rtems*): Likewise.
1762 (sparc64-*-rtems*): Likewise.
1763 (sparc-*-rtems*): Likewise.
1764 (*-*-rtems*) Use ELF format.
1766 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1768 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
1770 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1772 * configure.tgt (sh-*-rtemscoff*): Remove.
1774 2017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
1776 * configure.tgt (riscv*-*-*): Remove em=linux.
1778 2017-01-23 Sebastian Rasmussen <sebras@gmail.com>
1781 * asintl.h: Fix spelling mistakes and typos.
1782 * atof-generic.c: Likewise.
1783 * bit_fix.h: Likewise.
1784 * config/atof-ieee.c: Likewise.
1785 * config/bfin-defs.h: Likewise.
1786 * config/bfin-parse.y: Likewise.
1787 * config/obj-coff-seh.h: Likewise.
1788 * config/obj-coff.c: Likewise.
1789 * config/obj-evax.c: Likewise.
1790 * config/obj-macho.c: Likewise.
1791 * config/rx-parse.y: Likewise.
1792 * config/tc-aarch64.c: Likewise.
1793 * config/tc-alpha.c: Likewise.
1794 * config/tc-arc.c: Likewise.
1795 * config/tc-arm.c: Likewise.
1796 * config/tc-avr.c: Likewise.
1797 * config/tc-bfin.c: Likewise.
1798 * config/tc-cr16.c: Likewise.
1799 * config/tc-cris.c: Likewise.
1800 * config/tc-crx.c: Likewise.
1801 * config/tc-d10v.c: Likewise.
1802 * config/tc-d30v.c: Likewise.
1803 * config/tc-dlx.c: Likewise.
1804 * config/tc-epiphany.c: Likewise.
1805 * config/tc-frv.c: Likewise.
1806 * config/tc-hppa.c: Likewise.
1807 * config/tc-i370.c: Likewise.
1808 * config/tc-i386-intel.c: Likewise.
1809 * config/tc-i386.c: Likewise.
1810 * config/tc-i960.c: Likewise.
1811 * config/tc-ia64.c: Likewise.
1812 * config/tc-m32r.c: Likewise.
1813 * config/tc-m68hc11.c: Likewise.
1814 * config/tc-m68k.c: Likewise.
1815 * config/tc-mcore.c: Likewise.
1816 * config/tc-mep.c: Likewise.
1817 * config/tc-mep.h: Likewise.
1818 * config/tc-metag.c: Likewise.
1819 * config/tc-microblaze.c: Likewise.
1820 * config/tc-mips.c: Likewise.
1821 * config/tc-mmix.c: Likewise.
1822 * config/tc-mn10200.c: Likewise.
1823 * config/tc-mn10300.c: Likewise.
1824 * config/tc-msp430.c: Likewise.
1825 * config/tc-msp430.h: Likewise.
1826 * config/tc-nds32.c: Likewise.
1827 * config/tc-nds32.h: Likewise.
1828 * config/tc-nios2.c: Likewise.
1829 * config/tc-nios2.h: Likewise.
1830 * config/tc-ns32k.c: Likewise.
1831 * config/tc-pdp11.c: Likewise.
1832 * config/tc-ppc.c: Likewise.
1833 * config/tc-pru.c: Likewise.
1834 * config/tc-rx.c: Likewise.
1835 * config/tc-s390.c: Likewise.
1836 * config/tc-score.c: Likewise.
1837 * config/tc-score7.c: Likewise.
1838 * config/tc-sh.c: Likewise.
1839 * config/tc-sh64.c: Likewise.
1840 * config/tc-sparc.c: Likewise.
1841 * config/tc-tic4x.c: Likewise.
1842 * config/tc-tic54x.c: Likewise.
1843 * config/tc-v850.c: Likewise.
1844 * config/tc-vax.c: Likewise.
1845 * config/tc-visium.c: Likewise.
1846 * config/tc-xgate.c: Likewise.
1847 * config/tc-xtensa.c: Likewise.
1848 * config/tc-z80.c: Likewise.
1849 * config/tc-z8k.c: Likewise.
1850 * config/te-vms.c: Likewise.
1851 * config/xtensa-relax.c: Likewise.
1852 * doc/as.texinfo: Likewise.
1853 * doc/c-arm.texi: Likewise.
1854 * doc/c-hppa.texi: Likewise.
1855 * doc/c-i370.texi: Likewise.
1856 * doc/c-i386.texi: Likewise.
1857 * doc/c-m32r.texi: Likewise.
1858 * doc/c-m68k.texi: Likewise.
1859 * doc/c-mmix.texi: Likewise.
1860 * doc/c-msp430.texi: Likewise.
1861 * doc/c-nds32.texi: Likewise.
1862 * doc/c-ns32k.texi: Likewise.
1863 * doc/c-riscv.texi: Likewise.
1864 * doc/c-rx.texi: Likewise.
1865 * doc/c-s390.texi: Likewise.
1866 * doc/c-tic6x.texi: Likewise.
1867 * doc/c-tilegx.texi: Likewise.
1868 * doc/c-tilepro.texi: Likewise.
1869 * doc/c-v850.texi: Likewise.
1870 * doc/c-xgate.texi: Likewise.
1871 * doc/c-xtensa.texi: Likewise.
1872 * dwarf2dbg.c: Likewise.
1873 * ecoff.c: Likewise.
1874 * itbl-ops.c: Likewise.
1875 * listing.c: Likewise.
1876 * macro.c: Likewise.
1877 * po/gas.pot: Likewise.
1879 * struc-symbol.h: Likewise.
1880 * symbols.h: Likewise.
1881 * testsuite/gas/arc/relocs-errors.err: Likewise.
1882 * write.c: Likewise.
1884 2017-01-23 Nick Clifton <nickc@redhat.com>
1886 * po/sv.po: Updated Swedish translation.
1888 2017-01-20 Nick Clifton <nickc@redhat.com>
1890 * config/tc-i386.c (parse_operands): Check for operand overflow
1891 before setting the unspecified bit.
1893 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
1896 * config/tc-mips.c (pic_need_relax): Don't check for linkonce
1897 symbols, remove the `segtype' parameter.
1898 (mips_frob_file, md_estimate_size_before_relax): Adjust
1900 (s_is_linkonce): Add an explanatory comment.
1901 * testsuite/gas/mips/comdat-reloc.d: New test.
1902 * testsuite/gas/mips/comdat-reloc.s: New test source.
1903 * testsuite/gas/mips/mips.exp: Run the new test.
1905 2017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1907 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
1908 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
1910 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
1913 * config/bfin-lex.l: Support processing with flex 2.6.3.
1914 * itbl-lex.l: Likewise.
1916 2017-01-18 Nathan Sidwell <nathan@acm.org>
1918 * as.h (gas_assert): Use abort.
1919 (as_assert): Remove.
1920 (signal_init): Declare.
1921 * as.c (main): Call signal_init.
1922 * messages.c: #include <signal.h>
1923 (as_assert): Delete.
1924 (as_abort): Allow NULL FILE.
1925 (signal_crash): New.
1926 (signal_init): Register fatal signal handlers.
1927 * configure.ac: Check for strsignal.
1928 * config.in: Rebuilt.
1929 * configure: Rebuilt.
1931 2017-01-17 Nick Clifton <nickc@redhat.com>
1933 * po/sv.po: Updated Swedish translation.
1935 2017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1937 * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
1938 (cpu_noarch): Add noavx512_vpopcntdq.
1939 * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
1940 * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
1941 * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
1942 * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
1943 * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
1944 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
1945 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
1946 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
1948 2017-01-12 Nick Clifton <nickc@redhat.com>
1950 * read.c (temp_ilp): New function. Installs a temporary input
1952 (restore_ilp): New function. Restores the original input line
1954 * read.h (temp_ilp): Prototype.
1955 (restore_ilp): Prototype.
1956 * stabs.c (dot_func_p): Use bfd_boolean type.
1957 (generate_asm_file): Use temp_ilp and restore_ilp.
1958 (stabs_generate_asm_lineno): Likewise.
1959 (stabs_generate_asm_endfunc): Likewise.
1961 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
1963 * configure.tgt: Add entry for i386-redox.
1965 2017-01-10 Nick Clifton <nickc@redhat.com>
1967 * po/sv.po: Updated Swedish translation.
1969 2017-01-10 Tristan Gingold <gingold@adacore.com>
1971 * testsuite/gas/all/sleb128-8.d: Adjust test.
1972 * testsuite/gas/all/gas.exp (test_cond): Likewise.
1974 2017-01-10 Tristan Gingold <gingold@adacore.com>
1976 * read.c (emit_leb128_expr): Extended unsigned big number for
1978 * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
1979 * testsuite/gas/all/sleb128.d: New test.
1980 * testsuite/gas/all/sleb128.s: New test source.
1982 2017-01-09 Andrew Waterman <andrew@sifive.com>
1984 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
1986 (md_apply_fix): Mark relocations against constants as "done."
1988 2017-01-09 Andrew Waterman <andrew@sifive.com>
1990 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
1992 (md_apply_fix): Mark relocations against constants as "done."
1994 2017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
1995 Kito Cheng <kito.cheng@gmail.com>
1997 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
1999 (SDATA_START_SYMBOLS): Likewise.
2001 2017-01-09 Nick Clifton <nickc@redhat.com>
2003 * po/sv.po: New Swedish translation.
2004 * configure.ac (ALL_LINGUAS): Add sv.
2005 * configure: Regenerate.
2007 2017-01-09 Andrew Waterman <andrew@sifive.com>
2009 * config/tc-riscv.c (relaxed_branch_length): Use the long
2010 sequence when the target is a weak symbol.
2012 2017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2014 * config/tc-aarch64.c (aarch64_features): Add rcpc.
2015 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
2016 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
2017 * testsuite/gas/aarch64/ldst-rcpc.d: This.
2018 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
2019 * testsuite/gas/aarch64/ldst-rcpc.s: This.
2020 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
2022 2017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
2025 * configure.tgt: Treat sparcv9 as sparc64.
2027 2017-01-03 Kito Cheng <kito.cheng@gmail.com>
2029 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
2031 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
2032 enabled and no other ABI is specified.
2034 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
2036 * config/tc-pru.c (md_number_to_chars): Fix parameter to be
2037 valueT, as declared in tc.h.
2038 (md_apply_fix): Fix to work on 32-bit hosts.
2040 2017-01-02 Alan Modra <amodra@gmail.com>
2042 Update year range in copyright notice of all files.
2044 For older changes see ChangeLog-2016
2046 Copyright (C) 2017 Free Software Foundation, Inc.
2048 Copying and distribution of this file, with or without modification,
2049 are permitted in any medium without royalty provided the copyright
2050 notice and this notice are preserved.
2056 version-control: never