Adds the new Fields and Operand types for the new instructions in Armv8.4-a.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
f42f1a1d
TC
12017-11-09 Tamar Christina <tamar.christina@arm.com>
2
3 * config/tc-aarch64.c (process_omitted_operand):
4 Add AARCH64_OPND_Va, AARCH64_OPND_SM3_IMM2
5 and AARCH64_OPND_IMM_2.
6 (parse_operands): Add AARCH64_OPND_Va, AARCH64_OPND_SM3_IMM2,
7 AARCH64_OPND_IMM_2, AARCH64_OPND_MASK
8 and AARCH64_OPND_ADDR_OFFSET.
9
b6b9ca0c
TC
102017-11-09 Tamar Christina <tamar.christina@arm.com>
11
12 * config/tc-aarch64.c (aarch64_arch_option_table): Add armv8.4-a.
13 (aarch64_features): Add SM4 and SHA3.
14
c0e7cef7
NC
152017-11-08 Tamar Christina <tamar.christina@arm.com>
16
2841837f 17 * config/tc-aarch64.c
c0e7cef7
NC
18 (aarch64_features): Include AES and SHA2 in CRYPTO.
19 Add SHA2 and AES.
20
dec41383
JW
212017-11-08 Jiong Wang <jiong.wang@arm.com>
22 Tamar Christina <tamar.christina@arm.com>
23
24 * config/tc-arm.c (arm_extensions):
25 (arm_archs): New entry for "armv8.4-a".
26 Add FPU_ARCH_DOTPROD_NEON_VFP_ARMV8.
27 (arm_ext_v8_2): New variable.
28 (enum arm_reg_type): New enumeration REG_TYPE_NSD.
29 (reg_expected_msgs): New entry for REG_TYPE_NSD.
30 (parse_typed_reg_or_scalar): Handle REG_TYPE_NSD.
31 (parse_scalar): Support REG_TYPE_VFS.
32 (enum operand_parse_code): New enumerations OP_RNSD and OP_RNSD_RNSC.
33 (parse_operands): Handle OP_RNSD and OP_RNSD_RNSC.
34 (NEON_SHAPE_DEF): New entries for DHH and DHS.
35 (neon_scalar_for_fmac_fp16_long): New function to generate Rm encoding
36 for new FP16 instructions in ARMv8.2-A.
37 (do_neon_fmac_maybe_scalar_long): New function to encode new FP16
38 instructions in ARMv8.2-A.
39 (do_neon_vfmal): Wrapper function for vfmal.
40 (do_neon_vfmsl): Wrapper function for vfmsl.
41 (insns): New entries for vfmal and vfmsl.
42 * doc/c-arm.texi (-march): Document "armv8.4-a".
43 * testsuite/gas/arm/dotprod-mandatory.d: New test.
44 * testsuite/gas/arm/armv8_2-a-fp16.s: New test source.
45 * testsuite/gas/arm/armv8_2-a-fp16-illegal.s: New test source.
46 * testsuite/gas/arm/armv8_2-a-fp16.d: New test.
47 * testsuite/gas/arm/armv8_3-a-fp16.d: New test.
48 * testsuite/gas/arm/armv8_4-a-fp16.d: New test.
49 * testsuite/gas/arm/armv8_2-a-fp16-thumb2.d: New test.
50 * testsuite/gas/arm/armv8_2-a-fp16-illegal.d: New test.
51 * testsuite/gas/arm/armv8_2-a-fp16-illegal.l: New error file.
52
6e98b342
AM
532017-11-08 Alan Modra <amodra@gmail.com>
54
55 * config/tc-xtensa.c (finish_vinsn): Properly pluralize error message.
56
f77bb6c5
JW
572017-11-07 Jim Wilson <jimw@sifive.com>
58
59 * config/tc-riscv.c (append_insn): Call frag_wane and frag_new at
60 end for linker optimizable relocs.
61 * testsuite/gas/riscv/eh-relocs.d: New.
62 * testsuite/gas/riscv/eh-relocs.s: New.
63 * testsuite/gas/riscv/riscv.exp: Run eh-relocs test.
64
1270b047
PD
652017-11-07 Palmer Dabbelt <palmer@dabbelt.com>
66
67 * testsuite/gas/riscv/satp.d: New test.
68 testsuite/gas/riscv/satp.s: Likewise.
69 testsuite/gas/riscv/riscv.exp: Likewise.
70 config/tc-riscv.c (md_begin): Handle CSR aliases.
71
0198d5e6
TC
722017-11-07 Tamar Christina <tamar.christina@arm.com>
73
74 * config/tc-arm.c (arm_cpus):
75 Change FPU_ARCH_CRYPTO_NEON_VFP_ARMV8
76 into FPU_ARCH_CRYPTO_NEON_VFP_ARMV8_DOTPROD.
77
e54e9ac5
AM
782017-11-07 Alan Modra <amodra@gmail.com>
79
80 * read.c (assemble_one, s_bundle_unlock): Formatting.
81 Consistently add comma and "bytes" to error message.
82 * testsuite/gas/i386/bundle-bad.l: Adjust to suit.
83
d3a49aa8
AM
842017-11-07 Alan Modra <amodra@gmail.com>
85
86 * testsuite/gas/arm/got_prel.d,
87 * testsuite/gas/elf/dwarf2-1.d,
88 * testsuite/gas/elf/dwarf2-2.d,
89 * testsuite/gas/elf/dwarf2-3.d,
90 * testsuite/gas/elf/dwarf2-5.d,
91 * testsuite/gas/elf/dwarf2-6.d,
92 * testsuite/gas/i386/debug1.d,
93 * testsuite/gas/i386/dw2-compress-1.d,
94 * testsuite/gas/i386/dw2-compress-3a.d,
95 * testsuite/gas/i386/dw2-compress-3b.d,
96 * testsuite/gas/i386/dw2-compressed-1.d,
97 * testsuite/gas/i386/dw2-compressed-3a.d,
98 * testsuite/gas/i386/dw2-compressed-3b.d,
99 * testsuite/gas/i386/ilp32/x86-64-localpic.d,
100 * testsuite/gas/i386/localpic.d,
101 * testsuite/gas/i386/x86-64-localpic.d,
102 * testsuite/gas/ia64/pr13167.d,
103 * testsuite/gas/mips/loc-swap-2.d,
104 * testsuite/gas/mips/loc-swap.d,
105 * testsuite/gas/mips/micromips@loc-swap-2.d,
106 * testsuite/gas/mips/micromips@loc-swap.d,
107 * testsuite/gas/mips/mips16-dwarf2-n32.d,
108 * testsuite/gas/mips/mips16-dwarf2.d,
109 * testsuite/gas/mips/mips16@loc-swap-2.d,
110 * testsuite/gas/mips/mips16@loc-swap.d,
111 * testsuite/gas/mips/mips16e@loc-swap.d,
112 * testsuite/gas/mmix/bspec-1.d,
113 * testsuite/gas/mmix/bspec-2.d,
114 * testsuite/gas/tic6x/unwind-1.d,
115 * testsuite/gas/tic6x/unwind-2.d,
116 * testsuite/gas/tic6x/unwind-3.d: Update for pluralization
117 fixes.
118
992a06ee
AM
1192017-11-07 Alan Modra <amodra@gmail.com>
120
121 * as.c (main): Properly pluralize messages.
122 * frags.c (frag_grow): Likewise.
123 * read.c (emit_expr_with_reloc, emit_expr_fix): Likewise.
124 (parse_bitfield_cons): Likewise.
125 * write.c (fixup_segment, compress_debug, write_contents): Likewise.
126 (relax_segment): Likewise.
127 * config/tc-arm.c (s_arm_elf_cons): Likewise.
128 * config/tc-cr16.c (l_cons): Likewise.
129 * config/tc-i370.c (i370_elf_cons): Likewise.
130 * config/tc-m68k.c (m68k_elf_cons): Likewise.
131 * config/tc-msp430.c (msp430_operands): Likewise.
132 * config/tc-s390.c (s390_elf_cons, s390_literals): Likewise.
133 * config/tc-mcore.c (md_apply_fix): Likewise.
134 * config/tc-tic54x.c (md_assemble): Likewise.
135 * config/tc-xtensa.c (xtensa_elf_cons): Likewise.
136 (xg_expand_assembly_insn): Likewise.
137 * config/xtensa-relax.c (build_transition): Likewise.
138
6003e27e
AM
1392017-11-07 Alan Modra <amodra@gmail.com>
140
141 * asintl.h (textdomain, bindtextdomain): Use safer "do nothing".
142 (ngettext, dngettext, dcngettext): Define when !ENABLE_NLS.
143
7605d944
SP
1442017-11-03 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
145 Jim Wilson <jim.wilson@linaro.org>
146
147 * config/tc-aarch64.c (aarch64_cpus): Add saphira.
148 * doc/c-aarch64.texi: Likewise.
149
85273580
TP
1502017-11-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
151
152 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-1.d: Add
153 --disassembler-options=force-thumb to objdump options.
154 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-2.d: Likewise.
155
81b42bca
JB
1562017-11-01 James Bowman <james.bowman@ftdichip.com>
157
158 * config/tc-ft32.c (md_assemble): Add relaxation reloc
159 BFD_RELOC_FT32_RELAX.
160 (md_longopts): Add "norelax" and "no-relax".
161 (md_apply_fix): Add reloc BFD_RELOC_FT32_DIFF32.
162 (relaxable_section, ft32_validate_fix_sub, ft32_force_relocation,
163 ft32_allow_local_subtract): New function.
164 * config/tc-ft32.h: Remove unused MD_PCREL_FROM_SECTION.
165 * testsuite/gas/ft32/insnsc.s: New test exercising all FT32B
166 shortcodes.
167 * testsuite/gas/ft32/insnsc.d: New driver file.
168 * testsuite/gas/all/gas.exp: Update.
169 * testsuite/gas/ft32/ft32.exp: Run the new test.
170 * testsuite/gas/ft32/insn.d: Update.
171 * testsuite/gas/elf/dwarf2-11.d: Update.
172 * testsuite/gas/elf/dwarf2-12.d: Update.
173 * testsuite/gas/elf/dwarf2-13.d: Update.
174 * testsuite/gas/elf/dwarf2-14.d: Update.
175 * testsuite/gas/elf/dwarf2-15.d: Update.
176 * testsuite/gas/elf/dwarf2-16.d: Update.
177 * testsuite/gas/elf/dwarf2-17.d: Update.
178 * testsuite/gas/elf/dwarf2-18.d: Update.
179 * testsuite/gas/elf/dwarf2-3.d: Update.
180 * testsuite/gas/elf/dwarf2-5.d: Update.
181 * testsuite/gas/elf/dwarf2-7.d: Update.
182
4070243b
TP
1832017-11-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
184
185 * config/tc-arm.c (arm_ext_v2): Define to ARM_EXT_V2 feature bit.
81b42bca 186 * testsuite/gas/arm/copro.s: Split into
4070243b 187 * testsuite/gas/arm/copro-arm_v2plus-thumb_v6t2plus.s: This while
81b42bca 188 changing it to unified syntax and
4070243b
TP
189 * testsuite/gas/arm/copro-arm_v5plus-thumb_v6t2plus.s: this and ...
190 * testsuite/gas/arm/copro-arm_v5teplus-thumb_v6t2plus.s: This and ...
191 * testsuite/gas/arm/copro-arm_v6plus-thumb_v6t2plus.s: This.
192 * testsuite/gas/arm/copro.d: Split into ...
193 * testsuite/gas/arm/copro-arm_v2plus-arm_v2.d: This but target ARMv2
194 and ...
195 * testsuite/gas/arm/copro-arm_v5plus-arm_v5.d: this but target ARMv5
196 and ...
197 * testsuite/gas/arm/copro-arm_v5teplus-arm_v5te.d: This but target
198 ARMv5TE and ...
199 * testsuite/gas/arm/copro-arm_v6plus-arm_v6.d: This but target ARMv6.
200 * testsuite/gas/arm/copro-arm_v2plus-arm_v1.d: New testcase.
201 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v4t-1.d: New testcase.
202 * testsuite/gas/arm/copro-arm_v2plus-thumb_v6t2plus-unavail.l: Expected
203 errors for the above two testcases.
204 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-1.d: New testcase.
205 * testsuite/gas/arm/copro-arm_v5plus-arm_v4.d: New testcase.
206 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v4t-2.d: New testcase.
207 * testsuite/gas/arm/copro-arm_v5plus-thumb_v6t2plus-unavail.l:
208 Expected errors for the above two testcases.
209 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-2.d: New testcase.
210 * testsuite/gas/arm/copro-arm_v5teplus-arm_v5.d: New testcase.
211 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v4t-3.d: New testcase.
212 * testsuite/gas/arm/copro-arm_v5teplus-thumb_v6t2plus-unavail.l:
213 Expected errors for the above two testcases.
214 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-3.d: New testcase.
215 * testsuite/gas/arm/copro-arm_v6plus-arm_v5te.d: New testcase.
216 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v4t-4.d: New testcase.
217 * testsuite/gas/arm/copro-arm_v6plus-thumb_v6t2plus-unavail.l:
218 Expected errors for the above two testcases.
219 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-4.d: New testcase.
220
514f6023
L
2212017-10-26 H.J. Lu <hongjiu.lu@intel.com>
222
223 PR gas/22352
224 * config/tc-i386.c (check_VecOperands): Also check XMM register
225 for invalid register in AVX512 gathers.
226 * testsuite/gas/i386/vgather-check.s: Add tests for AVX512
227 gathers with XMM register.
228 * testsuite/gas/i386/x86-64-vgather-check.s: Likewise.
229 * testsuite/gas/i386/vgather-check-error.l: Updated.
230 * testsuite/gas/i386/vgather-check-none.d: Likewise.
231 * testsuite/gas/i386/vgather-check-warn.d: Likewise.
232 * testsuite/gas/i386/vgather-check-warn.e: Likewise.
233 * testsuite/gas/i386/vgather-check.d: Likewise.
234 * testsuite/gas/i386/x86-64-vgather-check-error.l: Likewise.
235 * testsuite/gas/i386/x86-64-vgather-check-none.d: Likewise.
236 * testsuite/gas/i386/x86-64-vgather-check-warn.d: Likewise.
237 * testsuite/gas/i386/x86-64-vgather-check-warn.e: Likewise.
238 * testsuite/gas/i386/x86-64-vgather-check.d: Likewise.
239
238c141b
HPN
2402017-10-26 Hans-Peter Nilsson <hp@bitrange.com>
241
242 * testsuite/gas/all/fill-1.s: Use L2 rather than .L2.
243
e5d70d6b
AM
2442017-10-25 Alan Modra <amodra@gmail.com>
245
246 PR 22348
247 * config/tc-crx.c (instruction, output_opcode): Make static.
248 (relocatable, ins_parse, cur_arg_num): Likewise.
249 (parse_insn): Adjust for renamed opcodes globals.
250 (check_range): Likewise
251
94092126
AM
2522017-10-25 Alan Modra <amodra@gmail.com>
253
254 * testsuite/gas/all/fill-1.d: Exclude tic4x and tic54x.
255 * testsuite/gas/all/fill-1.s: Use L1 rather than .L1.
256
63a25ea0
AW
2572017-10-24 Andrew Waterman <andrew@sifive.com>
258
259 * testsuite/gas/riscv/c-addi16sp-fail.d: New test.
94092126
AM
260 * testsuite/gas/riscv/c-addi16sp-fail.l: Likewise.
261 * testsuite/gas/riscv/c-addi16sp-fail.s: Likewise.
262 * testsuite/gas/riscv/c-addi4spn-fail.d: Likewise.
263 * testsuite/gas/riscv/c-addi4spn-fail.l: Likewise.
264 * testsuite/gas/riscv/c-addi4spn-fail.s: Likewise.
265 * testsuite/gas/riscv/riscv.exp: Add new tests.
63a25ea0 266
3342be5d
AW
2672017-10-24 Andrew Waterman <andrew@sifive.com>
268
269 * testsuite/gas/riscv/c-lui-fail.d: New testcase.
94092126
AM
270 * gas/testsuite/gas/riscv/c-lui-fail.l: Likewise.
271 * gas/testsuite/gas/riscv/c-lui-fail.s: Likewise.
272 * gas/testsuite/gas/riscv/riscv.exp: Likewise.
3342be5d 273
da5f19a2
L
2742017-10-24 H.J. Lu <hongjiu.lu@intel.com>
275
276 * config/tc-i386.c (md_pseudo_table): Add .code64 directive
277 only if BFD64 is defined.
278 * testsuite/gas/i386/code64-inval.l: New file.
279 * gas/testsuite/gas/i386/code64-inval.s: Likewise.
280 * gas/testsuite/gas/i386/code64.d: Likewise.
281 * gas/testsuite/gas/i386/code64.s: Likewise.
282 * testsuite/gas/i386/i386.exp: Run mixed-mode-reloc32,
283 att-regs, intel-regs, intel-expr and string-ok tests only if
284 assembler supports x86-64. Run code64 and code64-inval.
285
2c3f27ed
PD
2862017-10-23 Palmer Dabbelt <palmer@dabbelt.com>
287
3779bbe0
PD
288 * config/tc-riscv.c (riscv_frag_align_code): Align code by 4
289 bytes on non-RVC systems.
2c3f27ed 290
defc8e2b
MR
2912017-10-23 Maciej W. Rozycki <macro@imgtec.com>
292
293 * config/tc-mips.c (mips_elf_final_processing): Don't set
294 EF_MIPS_ABI2 in `e_flags'.
295
2739ef6d
IT
2962017-10-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
297
298 * config/tc-i386.c (cpu_arch): Add .avx512_bitalg.
299 (cpu_noarch): noavx512_bitalg.
300 * doc/c-i386.texi: Document .avx512_bitalg, noavx512_bitalg.
301 * testsuite/gas/i386/i386.exp: Add AVX512_BITALG tests.
302 * testsuite/gas/i386/avx512f_bitalg-intel.d: New test.
303 * testsuite/gas/i386/avx512f_bitalg.d: Likewise.
304 * testsuite/gas/i386/avx512f_bitalg.s: Likewise.
305 * testsuite/gas/i386/avx512vl_bitalg-intel.d: Likewise.
306 * testsuite/gas/i386/avx512vl_bitalg.d: Likewise.
307 * testsuite/gas/i386/avx512vl_bitalg.s: Likewise.
308 * testsuite/gas/i386/x86-64-avx512f_bitalg-intel.d: Likewise.
309 * testsuite/gas/i386/x86-64-avx512f_bitalg.d: Likewise.
310 * testsuite/gas/i386/x86-64-avx512f_bitalg.s: Likewise.
311 * testsuite/gas/i386/x86-64-avx512vl_bitalg-intel.d: Likewise.
312 * testsuite/gas/i386/x86-64-avx512vl_bitalg.d: Likewise.
313 * testsuite/gas/i386/x86-64-avx512vl_bitalg.s: Likewise.
314
3152017-10-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
316
317 * config/tc-i386.c (cpu_arch): Add .avx512_vnni.
318 (cpu_noarch): Add noavx512_vnni.
319 * doc/c-i386.texi: Document .avx512_vnni.
320 * testsuite/gas/i386/i386.exp: Add AVX512_VNNI tests.
321 * testsuite/gas/i386/avx512vnni-intel.d: New test.
322 * testsuite/gas/i386/avx512vnni.d: Likewise.
323 * testsuite/gas/i386/avx512vnni.s: Likewise.
324 * testsuite/gas/i386/avx512vnni_vl-intel.d: Likewise.
325 * testsuite/gas/i386/avx512vnni_vl.d: Likewise.
326 * testsuite/gas/i386/avx512vnni_vl.s: Likewise.
327 * testsuite/gas/i386/x86-64-avx512vnni-intel.d: Likewise.
328 * testsuite/gas/i386/x86-64-avx512vnni.d: Likewise.
329 * testsuite/gas/i386/x86-64-avx512vnni.s: Likewise.
330 * testsuite/gas/i386/x86-64-avx512vnni_vl-intel.d: Likewise.
331 * testsuite/gas/i386/x86-64-avx512vnni_vl.d: Likewise.
332 * testsuite/gas/i386/x86-64-avx512vnni_vl.s: Likewise.
333
3342017-10-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
335
336 * config/tc-i386.c (cpu_arch): Add VPCLMULQDQ.
337 * doc/c-i386.texi: Document VPCLMULQDQ.
338 * testsuite/gas/i386/i386.exp: Run VPCLMULQDQ tests.
339 * testsuite/gas/i386/avx512f_vpclmulqdq-intel.d: New test.
340 * testsuite/gas/i386/avx512f_vpclmulqdq-wig.s: Ditto.
341 * testsuite/gas/i386/avx512f_vpclmulqdq-wig1-intel.d: Ditto.
342 * testsuite/gas/i386/avx512f_vpclmulqdq-wig1.d: Ditto.
343 * testsuite/gas/i386/avx512f_vpclmulqdq.d: Ditto.
344 * testsuite/gas/i386/avx512f_vpclmulqdq.s: Ditto.
345 * testsuite/gas/i386/avx512vl_vpclmulqdq-intel.d: Ditto.
346 * testsuite/gas/i386/avx512vl_vpclmulqdq-wig.s: Ditto.
347 * testsuite/gas/i386/avx512vl_vpclmulqdq-wig1-intel.d: Ditto.
348 * testsuite/gas/i386/avx512vl_vpclmulqdq-wig1.d: Ditto.
349 * testsuite/gas/i386/avx512vl_vpclmulqdq.d: Ditto.
350 * testsuite/gas/i386/avx512vl_vpclmulqdq.s: Ditto.
351 * testsuite/gas/i386/vpclmulqdq-intel.d: Ditto.
352 * testsuite/gas/i386/vpclmulqdq.d: Ditto.
353 * testsuite/gas/i386/vpclmulqdq.s: Ditto.
354 * testsuite/gas/i386/x86-64-avx512f_vpclmulqdq-intel.d: Ditto.
355 * testsuite/gas/i386/x86-64-avx512f_vpclmulqdq-wig.s: Ditto.
356 * testsuite/gas/i386/x86-64-avx512f_vpclmulqdq-wig1-intel.d: Ditto.
357 * testsuite/gas/i386/x86-64-avx512f_vpclmulqdq-wig1.d: Ditto.
358 * testsuite/gas/i386/x86-64-avx512f_vpclmulqdq.d: Ditto.
359 * testsuite/gas/i386/x86-64-avx512f_vpclmulqdq.s: Ditto.
360 * testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq-intel.d: Ditto.
361 * testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq-wig.s: Ditto.
362 * testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq-wig1-intel.d: Ditto.
363 * testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq-wig1.d: Ditto.
364 * testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq.d: Ditto.
365 * testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq.s: Ditto.
366 * testsuite/gas/i386/x86-64-vpclmulqdq-intel.d: Ditto.
367 * testsuite/gas/i386/x86-64-vpclmulqdq.d: Ditto.
368 * testsuite/gas/i386/x86-64-vpclmulqdq.s: Ditto.
369
3702017-10-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
371
372 * config/tc-i386.c (cpu_arch): Add VAES.
373 * doc/c-i386.texi: Document VAES.
374 * testsuite/gas/i386/i386.exp: Run VAES tests.
375 * testsuite/gas/i386/avx512f_vaes-intel.d: New test.
376 * testsuite/gas/i386/avx512f_vaes-wig.s: Ditto.
377 * testsuite/gas/i386/avx512f_vaes-wig1-intel.d: Ditto.
378 * testsuite/gas/i386/avx512f_vaes-wig1.d: Ditto.
379 * testsuite/gas/i386/avx512f_vaes.d: Ditto.
380 * testsuite/gas/i386/avx512f_vaes.s: Ditto.
381 * testsuite/gas/i386/avx512vl_vaes-intel.d: Ditto.
382 * testsuite/gas/i386/avx512vl_vaes-wig.s: Ditto.
383 * testsuite/gas/i386/avx512vl_vaes-wig1-intel.d: Ditto.
384 * testsuite/gas/i386/avx512vl_vaes-wig1.d: Ditto.
385 * testsuite/gas/i386/avx512vl_vaes.d: Ditto.
386 * testsuite/gas/i386/avx512vl_vaes.s: Ditto.
387 * testsuite/gas/i386/vaes-intel.d: Ditto.
388 * testsuite/gas/i386/vaes.d: Ditto.
389 * testsuite/gas/i386/vaes.s: Ditto.
390 * testsuite/gas/i386/x86-64-avx512f_vaes-intel.d: Ditto.
391 * testsuite/gas/i386/x86-64-avx512f_vaes-wig.s: Ditto.
392 * testsuite/gas/i386/x86-64-avx512f_vaes-wig1-intel.d: Ditto.
393 * testsuite/gas/i386/x86-64-avx512f_vaes-wig1.d: Ditto.
394 * testsuite/gas/i386/x86-64-avx512f_vaes.d: Ditto.
395 * testsuite/gas/i386/x86-64-avx512f_vaes.s: Ditto.
396 * testsuite/gas/i386/x86-64-avx512vl_vaes-intel.d: Ditto.
397 * testsuite/gas/i386/x86-64-avx512vl_vaes-wig.s: Ditto.
398 * testsuite/gas/i386/x86-64-avx512vl_vaes-wig1-intel.d: Ditto.
399 * testsuite/gas/i386/x86-64-avx512vl_vaes-wig1.d: Ditto.
400 * testsuite/gas/i386/x86-64-avx512vl_vaes.d: Ditto.
401 * testsuite/gas/i386/x86-64-avx512vl_vaes.s: Ditto.
402 * testsuite/gas/i386/x86-64-vaes-intel.d: Ditto.
403 * testsuite/gas/i386/x86-64-vaes.d: Ditto.
404 * testsuite/gas/i386/x86-64-vaes.s: Ditto.
405
4062017-10-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
407
408 * config/tc-i386.c (cpu_arch): Add .gfni.
409 * doc/c-i386.texi: Document .gfni.
410 * testsuite/gas/i386/i386.exp: Add GFNI tests.
411 * testsuite/gas/i386/avx.s: New GFNI test.
412 * testsuite/gas/i386/x86-64-avx.s: Likewise.
413 * testsuite/gas/i386/avx.d: Adjust.
414 * testsuite/gas/i386/avx-intel.d: Likewise
415 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
416 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
417 * testsuite/gas/i386/avx512f_gfni-intel.d: New test.
418 * testsuite/gas/i386/avx512f_gfni.d: Likewise.
419 * testsuite/gas/i386/avx512f_gfni.s: Likewise.
420 * testsuite/gas/i386/avx512vl_gfni-intel.d: Likewise.
421 * testsuite/gas/i386/avx512vl_gfni.d: Likewise.
422 * testsuite/gas/i386/avx512vl_gfni.s: Likewise.
423 * testsuite/gas/i386/gfni-intel.d: Likewise.
424 * testsuite/gas/i386/gfni.d: Likewise.
425 * testsuite/gas/i386/gfni.s: Likewise.
426 * testsuite/gas/i386/x86-64-avx512f_gfni-intel.d: Likewise.
427 * testsuite/gas/i386/x86-64-avx512f_gfni.d: Likewise.
428 * testsuite/gas/i386/x86-64-avx512f_gfni.s: Likewise.
429 * testsuite/gas/i386/x86-64-avx512vl_gfni-intel.d: Likewise.
430 * testsuite/gas/i386/x86-64-avx512vl_gfni.d: Likewise.
431 * testsuite/gas/i386/x86-64-avx512vl_gfni.s: Likewise.
432 * testsuite/gas/i386/x86-64-avx_gfni-intel.d: Likewise.
433 * testsuite/gas/i386/x86-64-avx_gfni.d: Likewise.
434 * testsuite/gas/i386/x86-64-avx_gfni.s: Likewise.
435 * testsuite/gas/i386/x86-64-gfni-intel.d: Likewise.
436 * testsuite/gas/i386/x86-64-gfni.d: Likewise.
437 * testsuite/gas/i386/x86-64-gfni.s: Likewise.
438
4392017-10-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
440
441 * config/tc-i386.c (cpu_arch): Add .avx512_vbmi2.
442 (cpu_noarch): noavx512_vbmi2.
443 * doc/c-i386.texi: Document .avx512_vbmi2, noavx512_vbmi2.
444 * testsuite/gas/i386/i386.exp: Add AVX512_VBMI2 tests.
445 * testsuite/gas/i386/avx512vbmi2-intel.d: New test.
446 * testsuite/gas/i386/avx512vbmi2.d: Likewise.
447 * testsuite/gas/i386/avx512vbmi2.s: Likewise.
448 * testsuite/gas/i386/avx512vbmi2_vl-intel.d: Likewise.
449 * testsuite/gas/i386/avx512vbmi2_vl.d: Likewise.
450 * testsuite/gas/i386/avx512vbmi2_vl.s: Likewise.
451 * testsuite/gas/i386/x86-64-avx512vbmi2-intel.d: Likewise.
452 * testsuite/gas/i386/x86-64-avx512vbmi2.d: Likewise.
453 * testsuite/gas/i386/x86-64-avx512vbmi2.s: Likewise.
454 * testsuite/gas/i386/x86-64-avx512vbmi2_vl-intel.d: Likewise.
455 * testsuite/gas/i386/x86-64-avx512vbmi2_vl.d: Likewise.
456 * testsuite/gas/i386/x86-64-avx512vbmi2_vl.s: Likewise.
457
67c04379
HPN
4582017-10-22 Hans-Peter Nilsson <hp@axis.com>
459
460 PR gas/22304
461 * testsuite/gas/cris/range-err-1.s: Remove quotes left from last edit.
462
808811a3
NC
4632017-10-20 Nick Clifton <nickc@redhat.com>
464
465 PR 22324
466 * read.c (s_rept): Use size_t type for count parameter.
467 (do_repeat): Change type of count parameter to size_t.
468 Issue an error is the count parameter is negative.
469 (do_repeat_with_expression): Likewise.
470 * read.h: Update prototypes for do_repeat and
471 do_repeat_with_expression.
472 * doc/as.texinfo (Rept): Document that a zero count is allowed but
473 negative counts are not.
474 * config/tc-rx.c (rx_rept): Use size_t type for count parameter.
475 * config/tc-tic54x.c (tic54x_loop): Cast count parameter to size_t
476 type.
477 * testsuite/gas/macros/end.s: Add a test using a negative repeat
478 count.
479 * testsuite/gas/macros/end.l: Add expected error message.
480
9d06997a
PD
4812017-10-19 Palmer Dabbelt <palmer@dabbelt.com>
482
483 * config/tc-riscv.c (md_apply_fix): Mark
484 BFD_RELOC_RISCV_PCREL_HI20 as relaxable when relaxations are
485 enabled.
486
95e42ad4
NC
4872017-10-19 Nick Clifton <nickc@redhat.com>
488
489 PR 21621
490 * config/tc-avr.h (struct avr_frag_data): Add prev_opcode field.
491 (TC_FRAG_INIT): Define.
492 (avr_frag_init): Add prototype.
493 * config/tc-avr.c (avr_frag_init): New function.
494 (avr_operands): Replace static local 'prev' variable with
495 prev_opcode field in current frag.
496 * testsuite/gas/avr/pr21621.s: New test source file.
497 * testsuite/gas/avr/pr21621.d: New test driver file.
498 * testsuite/gas/avr/pr21621.s: New test error output file.
499
fa57faa0
AK
5002017-10-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
501
502 * testsuite/gas/all/fill-1.s: Use normal labels. Change .text to
503 .data. Pick different values. Use .dc.w instead of .word.
504 * testsuite/gas/all/fill-1.d: New objdump output check.
505 * testsuite/gas/all/gas.exp: Use run_dump_test to execute fill-1
506 testcase.
507
8dfa5d5a
PD
5082017-10-18 Palmer Dabbelt <palmer@dabbelt.com>
509
510 * testsuite/gas/all/align.d: Mark as unsupported on RISC-V.
511 testsuite/gas/all/relax.d: Likewise.
512 testsuite/gas/all/sleb128-2.d: Likewise.
513 testsuite/gas/all/sleb128-4.d: Likewise.
514 testsuite/gas/all/sleb128-5.d: Likewise.
515 testsuite/gas/all/sleb128-7.d: Likewise.
516 testsuite/gas/elf/section11.d: Likewise.
517 testsuite/gas/all/gas.exp (diff1.s): Likewise.
518
8ef027f0
NC
5192017-10-18 Nick Clifton <nickc@redhat.com>
520
521 PR gas/22304
522 * testsuite/gas/cris/range-err-1.s: Remove spurious xfails.
523 * testsuite/gas/cris/cris.exp: Expect the shexpr-1 test to pass.
524
94ea37b3
NC
5252017-10-18 Nick Clifton <nickc@redhat.com>
526
527 * po/sv.po: Updated Swedish translation.
528
487958d1
SL
5292017-10-16 Sandra Loosemore <sandra@codesourcery.com>
530 Henry Wong <henry@stuffedcow.net>
531
532 * config/tc-nios2.c (nios2_translate_pseudo_insn): Check for
533 correct number of arguments.
534 (md_assemble): Handle failure of nios2_translate_pseudo_insn.
535 * testsuite/gas/nios2/illegal_pseudoinst.l: New file.
536 * testsuite/gas/nios2/illegal_pseudoinst.s: New file.
537 * testsuite/gas/nios2/nios2.exp: Add illegal_pseudoinst test.
538
3b4b0a62
JB
5392017-10-12 James Bowman <james.bowman@ftdichip.com>
540
541 * config/tc-ft32.c (md_assemble): Replace FT32_FLD_K8 with
542 K15.
543 (md_apply_fix, tc_gen_reloc): Add BFD_RELOC_FT32_15.
544
39865a7f
NC
5452017-10-11 Nick Clifton <nickc@redhat.com>
546
547 PR 21977
548 * listing.c (listing_newline): Use the name of the current
549 physical input file, rather than the current logical input file,
550 unless including high level source in the listing.
551 * input-scrub.c (as_where_physical): New function. Returns the
552 name of the current physical input file.
553 * as.h: Add prototype for as_where_physical.
554
8e464506
AK
5552017-10-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
556
557 * testsuite/gas/s390/zarch-arch12.d (prno, tpei, irbm): New
558 instructions added.
559 * testsuite/gas/s390/zarch-arch12.s: Likewise.
560 * testsuite/gas/s390/zarch-z13.d: Rename ppno to prno.
561
e61933af
AK
5622017-10-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
563
564 * testsuite/gas/all/fill-1.s: Replace nop with .word 42
565
5662017-10-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
567
568 * read.c (s_fill): Invoke expression instead of
569 get_known_segmented_expression.
570 * testsuite/gas/all/fill-1.s: New testcase.
571 * testsuite/gas/all/gas.exp: Run fill-1 testcase
572
2bfa0cdf
NC
5732017-10-05 Nick Clifton <nickc@redhat.com>
574
575 PR 22133
576 * config/tc-msp430.c (parse_exp): Skip an 'h' suffix to constant
577 expressions.
578 (msp430_srcoperand): Check that the entire text was parsed by
579 parse_exp.
580 (msp430_operands): Likewise.
581 * testsuite/gas/msp430/pr22133.s: New test file.
582 * testsuite/gas/msp430/pr22133.d: New test driver.
583 * testsuite/gas/msp430/pr22133.s: Expected error output.
584 * testsuite/gas/msp430/msp430.exp: Run the new test.
585
7d36e279
L
5862017-10-04 H.J. Lu <hongjiu.lu@intel.com>
587
588 PR gas/21167
589 * testsuite/gas/elf/elf.exp: Run group3.
590 * testsuite/gas/elf/group3.d: New file.
591 * testsuite/gas/elf/group3.s: Likewise.
592
db4677b8
AM
5932017-10-05 Alan Modra <amodra@gmail.com>
594
595 PR 21167
596 * config/obj-elf.c (struct group_list): Delete elt_count.
597 (groups): New static.
598 (build_group_lists): Don't count elements.
599 (elf_adjust_symtab): Use "groups" rather than auto "list". Set up
600 pointer from group member to SHT_GROUP section. Don't size
601 SHT_GROUP section or clean up here..
602 (elf_frob_file_after_relocs): ..do so here instead.
603 * testsuite/gas/arc/jli-1.d,
604 * testsuite/gas/elf/groupautob.d,
605 * testsuite/gas/mips/compact-eh-eb-2.d,
606 * testsuite/gas/mips/compact-eh-eb-5.d,
607 * testsuite/gas/mips/compact-eh-el-2.d,
608 * testsuite/gas/mips/compact-eh-el-5.d: Adjust.
609
d2e6c9a3
AF
6102017-10-01 Alexander Fedotov <alfedotov@gmail.com>
611
612 * testsuite/gas/ppc/vle-mult-ld-st-insns.s: New file: Tests the
613 support for the VLE multiple load/store instructions.
614 * testsuite/gas/ppc/vle-mult-ld-st-insns.d: New file: Test
615 driver.
616 * testsuite/gas/ppc/ppc.exp: Run it.
617
8e43602e
NC
6182017-09-27 Nick Clifton <nickc@redhat.com>
619
620 PR 22179
621 * testsuite/gas/riscv/fmv.x.s: New file: Tests the support for the
622 renamed fmv.x.s and fmv.s.x instructions.
623 * testsuite/gas/riscv/fmv.x.d: New file: Test driver.
624
ef272caa
MR
6252017-09-21 Maciej W. Rozycki <macro@imgtec.com>
626
627 * testsuite/gas/mips/elf_mach_5900.d: New test.
628 * testsuite/gas/mips/mips.exp: Run it.
629
42c0794e
JC
6302017-09-21 James Cowgill <James.Cowgill@imgtec.com>
631
632 PR gas/21762
633 * config/tc-mips.c (s_mips_stab): Insert call to
634 file_mips_check_options.
635 * testsuite/gas/mips/micromips@stabs-symbol-type.d: New test.
636 * testsuite/gas/mips/mips.exp: Run the new tests.
637 * testsuite/gas/mips/mips16@stabs-symbol-type.d: New test.
638 * testsuite/gas/mips/stabs-symbol-type.d: New test.
639 * testsuite/gas/mips/stabs-symbol-type.s: New test source.
640
ba52cbb9
AM
6412017-09-21 Alan Modra <amodra@gmail.com>
642
643 * config/tc-ppc.h (EH_FRAME_ALIGNMENT): Define.
644
2578f2f3
AM
6452017-09-14 Alan Modra <amodra@gmail.com>
646
647 PR 22127
648 * write.c (resolve_reloc_expr_symbols): Don't segfault when
649 sec has been set to NULL.
650
4e9ac44a
L
6512017-09-09 H.J. Lu <hongjiu.lu@intel.com>
652
653 * config/tc-i386.c (NOTRACK_PREFIX): Removed.
654 (REX_PREFIX): Updated.
655 (MAX_PREFIXES): Likewise.
656 (parse_insn): Remove restriction on NOTRACK prefix position.
657 * testsuite/gas/i386/notrack.s: Add tests with NOTRACK prefix
658 before other prefixes.
659 * testsuite/gas/i386/x86-64-notrack.s: Likewise.
660 * testsuite/gas/i386/notrackbad.s: Remove tests with NOTRACK
661 prefix before other prefixes.
662 * testsuite/gas/i386/x86-64-notrackbad.s: Likewise.
663 * testsuite/gas/i386/notrack-intel.d: Updated.
664 * testsuite/gas/i386/notrack.d: Likewise.
665 * testsuite/gas/i386/notrackbad.l: Likewise.
666 * testsuite/gas/i386/x86-64-notrack-intel.d: Likewise.
667 * testsuite/gas/i386/x86-64-notrack.d: Likewise.
668 * testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
669
ed0816bd
PD
6702017-09-07 Palmer Dabbelt <palmer@dabbelt.com>
671
672 * config/tc-riscv.c (riscv_frag_align_code): Emit the entire
673 alignment sequence inside R_RISCV_ALIGN.
674
83eef883
AFB
6752017-09-05 Alexander Fedotov <alexander.fedotov@nxp.com>
676 Edmar Wienskoski <edmar.wienskoski@nxp.com
677
678 * config/tc-ppc.c (md_parse_option): Handle "mno-vle" flag.
679 (ppc_elf_section_letter): New function.
680 * config/tc-ppc.h (md_elf_section_letter): New.
681 * testsuite/gas/elf/section10.d: Adjust for VLE.
682
1c5c938a
TC
6832017-09-01 Tamar Christina <tamar.christina@arm.com>
684
685 * config/tc-aarch64.c (aarch64_cpus): Enable DOTPROD for
686 cortex-a55 and cortx-a75.
687
70e65ca8
MR
6882017-08-30 Maciej W. Rozycki <macro@imgtec.com>
689
690 * testsuite/gas/mips/branch-addend-micromips.d: New test.
691 * testsuite/gas/mips/branch-addend-micromips-n32.d: New test.
692 * testsuite/gas/mips/branch-addend-micromips-n64.d: New test.
693 * testsuite/gas/mips/branch-addend-micromips.s: New test source.
694 * testsuite/gas/mips/mips.exp: Run the new tests.
695
37b2d327
MR
6962017-08-30 Maciej W. Rozycki <macro@imgtec.com>
697
698 * config/tc-mips.c (md_convert_frag): Respect
699 `mips_ignore_branch_isa'.
700 * testsuite/gas/mips/branch-local-5.d: New test.
701 * testsuite/gas/mips/branch-local-n32-5.d: New test.
702 * testsuite/gas/mips/branch-local-n64-5.d: New test.
703 * testsuite/gas/mips/branch-local-6.d: New test.
704 * testsuite/gas/mips/branch-local-n32-6.d: New test.
705 * testsuite/gas/mips/branch-local-n64-6.d: New test.
706 * testsuite/gas/mips/branch-local-7.d: New test.
707 * testsuite/gas/mips/branch-local-n32-7.d: New test.
708 * testsuite/gas/mips/branch-local-n64-7.d: New test.
709 * testsuite/gas/mips/branch-local-ignore-5.d: New test.
710 * testsuite/gas/mips/branch-local-ignore-n32-5.d: New test.
711 * testsuite/gas/mips/branch-local-ignore-n64-5.d: New test.
712 * testsuite/gas/mips/branch-local-ignore-6.d: New test.
713 * testsuite/gas/mips/branch-local-ignore-n32-6.d: New test.
714 * testsuite/gas/mips/branch-local-ignore-n64-6.d: New test.
715 * testsuite/gas/mips/branch-local-5.l: New stderr output.
716 * testsuite/gas/mips/branch-local-6.l: New stderr output.
717 * testsuite/gas/mips/branch-local-5.s: New test source.
718 * testsuite/gas/mips/branch-local-6.s: New test source.
719 * testsuite/gas/mips/branch-local-7.s: New test source.
720 * testsuite/gas/mips/mips.exp: Run the new tests.
721
e491e58a
MR
7222017-08-30 Maciej W. Rozycki <macro@imgtec.com>
723
724 * testsuite/gas/mips/branch-local-n32-2.d: Use `branch-local-2.l'
725 for `error-output'.
726 * testsuite/gas/mips/branch-local-n64-2.d: Likewise.
727 * testsuite/gas/mips/branch-local-n32-3.d: Use `branch-local-3.l'
728 for `error-output'.
729 * testsuite/gas/mips/branch-local-n64-3.d: Likewise.
730 * testsuite/gas/mips/branch-local-n32-2.l: Remove file.
731 * testsuite/gas/mips/branch-local-n64-2.l: Remove file.
732 * testsuite/gas/mips/branch-local-n32-3.l: Remove file.
733 * testsuite/gas/mips/branch-local-n64-3.l: Remove file.
734
7ef3addb
JL
7352017-08-29 Jozef Lawrynowicz <jozef.l@somniumtech.com>
736
737 * config/tc-msp430.c (md_parse_option): Define high data and high
738 bss symbols if -mdata-region is passed.
739 Define -mdata-region open.
740 * doc/c-msp430.texi: Document -mdata-region.
741 * testsuite/gas/msp430/high-data-bss-sym.d: New test.
742 * testsuite/gas/msp430/high-data-bss-sym.s: New.
743 * testsuite/gas/msp430/msp430.exp: Add -mdata-region tests.
744
74081948
AF
7452017-08-23 Alexander Fedotov <alexander.fedotov@nxp.com>
746 Edmar Wienskoski <edmar.wienskoski@nxp.com
747
748 * config/tc-ppc.c:
749 (md_parse_option): Add mspe2 switch.
750 (md_show_usage): Document -mspe2.
751 (ppc_setup_opcodes): Handle spe2_opcodes.
752 * doc/as.texinfo: Document -mspe2.
753 * doc/c-ppc.texi: Likewise.
754 * testsuite/gas/ppc/efs.d: New file.
755 * testsuite/gas/ppc/efs.s: Likewise.
756 * testsuite/gas/ppc/efs2.d: Likewise.
757 * testsuite/gas/ppc/efs2.s: Likewise.
758 * testsuite/gas/ppc/ppc.exp: Run new tests.
759 * testsuite/gas/ppc/spe.d: New file.
760 * testsuite/gas/ppc/spe.s: Likewise.
761 * testsuite/gas/ppc/spe2-checks.d: Likewise.
762 * testsuite/gas/ppc/spe2-checks.l: Likewise.
763 * testsuite/gas/ppc/spe2-checks.s: Likewise.
764 * testsuite/gas/ppc/spe2.d: Likewise.
765 * testsuite/gas/ppc/spe2.s: Likewise.
766 * testsuite/gas/ppc/spe_ambiguous.d: Likewise.
767 * testsuite/gas/ppc/spe_ambiguous.s: Likewise.
768
f6a36b0c
JC
7692017-08-23 James Clarke <jrtc27@jrtc27.com>
770
771 * config/tc-sparc.c (tc_gen_reloc): Convert BFD_RELOC_8/16/32/64
772 into the corresponding BFD_RELOC_8/16/32/64_PCREL relocation
773 when requested.
774 * config/tc-sparc.h (DIFF_EXPR_OK): Define to enable PC-relative
775 diff relocations.
776 (TC_FORCE_RELOCATION_SUB_LOCAL): Define to ensure only supported
777 relocations are made PC-relative.
778 (CFI_DIFF_EXPR_OK): Define to 0 to force BFD_RELOC_32_PCREL to
779 be used directly, since otherwise BFD_RELOC_SPARC_UA32 will be
780 used for .eh_frame which cannot in general be converted to a
781 BFD_RELOC_32_PCREL due to alignment requirements.
782
bb4b64b0
AM
7832017-08-22 Alan Modra <amodra@gmail.com>
784
785 * testsuite/gas/ppc/lsp-checks.d: Assemble with -a32.
786 * testsuite/gas/ppc/lsp.d: Likewise.
787
e3c2f928
AF
7882017-08-21 Alexander Fedotov <alexander.fedotov@nxp.com>
789 Edmar Wienskoski <edmar.wienskoski@nxp.com
790
791 * testsuite/gas/ppc/lsp-checks.d,
792 * testsuite/gas/ppc/lsp-checks.l,
793 * testsuite/gas/ppc/lsp-checks.s: New test.
794 * testsuite/gas/ppc/lsp.d,
795 * testsuite/gas/ppc/lsp.s: New test.
796 * testsuite/gas/ppc/ppc.exp: Run new tests.
797
8975f864
RR
7982017-08-15 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
799
800 * config/tc-aarch64.c (REGDEF_ALIAS): Define
801 (reg_names): Update for ip0, ip1, fp, lr to use REGDEF_ALIAS
802 * doc/c-aarch64.texi: Update documentation on .req.
803 * testsuite/gas/diagnostic.s: Update
804 * testsuite/gas/diagnostic.l: Likewise
805 * testsuite/gas/register_aliases.s: New file.
806 * testsuite/gas/register_aliases.d: New file.
807
76db0a2e
L
8082017-08-11 H.J. Lu <hongjiu.lu@intel.com>
809
810 PR gas/21667
811 * read.c (pseudo_set): Update error message for alias of common
812 symbol.
813 * write.c (write_object_file): Disallow both local and global
814 aliases of common symbol.
815 * testsuite/gas/elf/common5a.d: New file.
816 * testsuite/gas/elf/common5a.l: Likewise.
817 * testsuite/gas/elf/common5a.s: Likewise.
818 * testsuite/gas/elf/common5b.d: Likewise.
819 * testsuite/gas/elf/common5b.l: Likewise.
820 * testsuite/gas/elf/common5b.s: Likewise.
821 * testsuite/gas/elf/common5c.d: Likewise.
822 * testsuite/gas/elf/common5c.s: Likewise.
823 * testsuite/gas/elf/common5d.d: Likewise.
824 * testsuite/gas/elf/common5d.s: Likewise.
825 * testsuite/gas/elf/elf.exp: Run common5a, common5b, common5c
826 and common5d.
827
4c2da80c
NC
8282017-08-10 Nick Clifton <nickc@redhat.com>
829
830 PR gas/21939
831 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Increase
832 size of indirect_syms array so that it is large enough to hold
833 every symbol if necessary.
834
cc4a945a
JW
8352017-08-09 Jiong Wang <jiong.wang@arm.com>
836
837 * config/tc-arm.c (do_crc32_1): Remove warning on REG_SP for thumb_mode.
838 * testsuite/gas/arm/crc32-armv8-a-bad.d: Update exepcted result.
839 * testsuite/gas/arm/crc32-armv8-r-bad.d: Likewise.
840 * testsuite/gas/arm/crc32-armv8-a.d: Likewise.
841 * testsuite/gas/arm/crc32-armv8-r.d: Likewise.
842 * testsuite/gas/arm/crc32-armv8-ar-bad.s: Update test case.
843 * testsuite/gas/arm/crc32-armv8-ar.s: Likewise.
844 * testsuite/gas/arm/crc32-bad.l: Update expected error message.
845
75800d2c
NC
8462017-08-02 Nick Clifton <nickc@redhat.com>
847
848 * testsuite/gas/all/gas.exp: Add am33 to the skip lists of tests
849 passed over by the mn10300 target.
850 * testsuite/gas/elf/elf.exp: Likewise.
851 * testsuite/gas/elf/dwarf2-11.d: Correct skip of am33 target.
852 * testsuite/gas/elf/dwarf2-12.d: Likewise.
853 * testsuite/gas/elf/dwarf2-13.d: Likewise.
854 * testsuite/gas/elf/dwarf2-14.d: Likewise.
855 * testsuite/gas/elf/dwarf2-15.d: Likewise.
856 * testsuite/gas/elf/dwarf2-16.d: Likewise.
857 * testsuite/gas/elf/dwarf2-17.d: Likewise.
858 * testsuite/gas/elf/dwarf2-18.d: Likewise.
859 * testsuite/gas/elf/dwarf2-5.d: Likewise.
860 * testsuite/gas/elf/dwarf2-6.d: Likewise.
861 * testsuite/gas/elf/dwarf2-7.d: Likewise.
862
4d36230d
L
8632017-08-01 H.J. Lu <hongjiu.lu@intel.com>
864
865 PR gas/21874
866 * config/tc-i386-intel.c (i386_intel_operand): Update segment
867 register check.
868 * testsuite/gas/i386/intelok.s: Replace "fs:gs:[eax]" with
869 "fs:[eax]".
870 * testsuite/gas/i386/inval-seg.s: Add tests for invalid segment
871 register.
872 * testsuite/gas/i386/x86-64-inval-seg.s: Likewise.
873 * testsuite/gas/i386/inval-seg.l: Updated.
874 * testsuite/gas/i386/x86-64-inval-seg.l: Likewise.
875
2e957b16
JDA
8762017-07-31 John David Anglin <danglin@gcc.gnu.org>
877
878 * config/tc-hppa.c (pa_ip): Clear `d' bit in branch on bit instructions
879 with a double-word condition and a fixed bit position greater than 31.
880
a8086704
AW
8812017-07-28 Andrew Waterman <andrew@sifive.com>
882
883 * config/tc-riscv.c (riscv_set_arch): Handle the Q subset like
884 all other subsets.
885 Obviate use-after-free.
886
7cbc739c
NC
8872017-07-25 Nick Clifton <nickc@redhat.com>
888
889 PR 21739
890 * testsuite/gas/arc/add_s-err.s: Update expected error message.
891
e8d84ca1
NC
8922017-07-24 Nick Clifton <nickc@redhat.com>
893
894 PR 21809
895 * config/tc-aarch64.c (aarch64_init_frag): Do not set a mapping
896 state for frags in debug sections.
897 * config/tc-arm.c (arm_init_frag): Likewise.
898
723dfee7
HPN
8992017-07-24 Hans-Peter Nilsson <hp@bitrange.com>
900
901 * dwarf2dbg.c (dwarf2dbg_final_check): Rename local variable exp
902 from expr.
903
47826cdb
AK
9042017-07-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
905
906 * config/tc-s390.c (s390_parse_cpu): Add z14 as alternate CPU
907 name.
908 * doc/as.texinfo: Add z14 to CPU string list.
909 * doc/c-s390.texi: Likewise.
910
ba8826a8
AO
9112017-07-21 Alexandre Oliva <aoliva@redhat.com>
912
913 * dwarf2dbg.c (unused): Check offset of next in struct line_entry.
914 (current): Initialize view.
915 (force_reset_view, view_assert_failed): New variables.
916 (reverse_line_entry_list): New function.
917 (set_or_check_view): Likewise.
918 (dwarf2_gen_line_info_1): Call it.
919 (dwarf2_where): Set view to NULL.
920 (dwarf2_emit_insn): Return early when called before first file.
921 (dwarf2_directive_loc): Add view support. Emit insn
922 immediately when view option is given.
923 (process_entries): Avoid set_address to reset view when a known
924 address change already implies the view reset.
925 (dwarf2dbg_final_check): New function.
926 * dwarf2dbg.h (struct dwarf2_line_info): Add view.
927 (dwarf2dbg_final_check): Declare.
928 * read.c (s_leb128): Parse expression as deferred.
929 * write.c (write_object_file): Check pending view asserts.
930 (cvt_frag_to_fill): Complain about undefined leb128 operand.
931 * doc/as.texinfo (.loc): Document view support.
932 * NEWS: Mention the new feature.
933 * testsuite/gas/all/gas.exp: Run sleb128-9.
934 * testsuite/gas/all/sleb128-9.d: New.
935 * testsuite/gas/all/sleb128-9.l: New.
936 * testsuite/gas/all/sleb128-9.s: New.
937 * testsuite/gas/elf/dwarf2-1.d: Add nonzero views.
938 * testsuite/gas/elf/dwarf2-2.d: Likewise.
939 * testsuite/gas/elf/dwarf2-5.d: New.
940 * testsuite/gas/elf/dwarf2-5.s: New.
941 * testsuite/gas/elf/dwarf2-6.d: New.
942 * testsuite/gas/elf/dwarf2-6.s: New.
943 * testsuite/gas/elf/dwarf2-7.d: New.
944 * testsuite/gas/elf/dwarf2-7.s: New.
945 * testsuite/gas/elf/dwarf2-8.d: New.
946 * testsuite/gas/elf/dwarf2-8.l: New.
947 * testsuite/gas/elf/dwarf2-8.s: New.
948 * testsuite/gas/elf/dwarf2-9.d: New.
949 * testsuite/gas/elf/dwarf2-9.l: New.
950 * testsuite/gas/elf/dwarf2-9.s: New.
951 * testsuite/gas/elf/dwarf2-10.d: New.
952 * testsuite/gas/elf/dwarf2-10.l: New.
953 * testsuite/gas/elf/dwarf2-10.s: New.
954 * testsuite/gas/elf/dwarf2-11.d: New.
955 * testsuite/gas/elf/dwarf2-11.s: New.
956 * testsuite/gas/elf/dwarf2-12.d: New.
957 * testsuite/gas/elf/dwarf2-12.s: New.
958 * testsuite/gas/elf/dwarf2-13.d: New.
959 * testsuite/gas/elf/dwarf2-13.s: New.
960 * testsuite/gas/elf/dwarf2-14.d: New.
961 * testsuite/gas/elf/dwarf2-14.s: New.
962 * testsuite/gas/elf/dwarf2-15.d: New.
963 * testsuite/gas/elf/dwarf2-15.s: New.
964 * testsuite/gas/elf/dwarf2-16.d: New.
965 * testsuite/gas/elf/dwarf2-16.s: New.
966 * testsuite/gas/elf/dwarf2-17.d: New.
967 * testsuite/gas/elf/dwarf2-17.s: New.
968 * testsuite/gas/elf/dwarf2-18.d: New.
969 * testsuite/gas/elf/dwarf2-18.s: New.
970 * testsuite/gas/elf/elf.exp: Run dwarf2-5..18 tests.
971 * testsuite/gas/i386/dw2-compress-1.d: Add nonzero views.
972 * testsuite/gas/i386/dw2-compressed-1.d: Likewise.
973 * testsuite/gas/i386/ilp32/lns/lns-duplicate.d: Likewise.
974 * testsuite/gas/lns/lns-big-delta.d: Likewise.
975 * testsuite/gas/lns/lns-duplicate.d: Likewise.
976 * testsuite/gas/mips/loc-swap-2.d: Likewise.
977 * testsuite/gas/mips/loc-swap-3.d: Likewise.
978 * testsuite/gas/mips/loc-swap.d: Likewise.
979 * testsuite/gas/mips/micromips@loc-swap-2.d: Likewise.
980 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
981 * testsuite/gas/mips/mips16@loc-swap-2.d: Likewise.
982 * testsuite/gas/mips/mips16@loc-swap.d: Likewise.
983 * testsuite/gas/mips/mips16e@loc-swap.d: Likewise.
984
684d5a10
JEM
9852017-07-19 Claudiu Zissulescu <claziss@synopsys.com>
986
987 * testsuite/gas/arc/jli-1.d: New file.
988 * testsuite/gas/arc/jli-1.s: Likewise.
989 * testsuite/gas/arc/taux.d: Update for jli_base.
990
e4943f2c
TG
9912017-07-19 Tristan Gingold <gingold@adacore.com>
992
993 * as.c (start_sbrk): Remove.
994 (main): Remove assignment.
995 (dump_statistics): Remove display of data size.
996
804a4093
TG
9972017-07-19 Tristan Gingold <gingold@adacore.com>
998
999 * testsuite/gas/pe/seh-x64-err-2.s: New test.
1000 * testsuite/gas/pe/seh-x64-err-2.l: New stderr output.
1001 * testsuite/gas/pe/pe.exp: Add test.
1002 * config/obj-coff-seh.c (obj_coff_seh_do_final): Don't try to end
1003 seh part.
1004
de194d85
YC
10052017-07-18 Nick Clifton <nickc@redhat.com>
1006
1007 PR 21775
1008 * config/tc-arm.c: Fix spelling typos.
1009 * config/tc-mips.c: Likewise.
1010 * config/tc-msp430.c: Likewise.
1011 * config/tc-sh64.c: Likewise.
1012 * config/tc-tic4x.c: Likewise.
1013 * ecoff.c: Likewise.
1014 * testsuite/gas/arm/ldr-bad.l: Likewise.
1015 * testsuite/gas/arm/ldr-t-bad.l: Likewise.
1016 * testsuite/gas/tic54x/opcodes.s: Likewise.
1017 * testsuite/gas/msp340/errata_warns.l: Likewise.
1018
b6a57713
NC
10192017-07-18 Nick Clifton <nickc@redhat.com>
1020
1021 * po/uk.po: Updated Ukranian translation.
1022
f27dadca
GJL
10232017-07-17 Georg-Johann Lay <avr@gjlay.de>
1024
1025 PR 21472
1026 * config/tc-avr.c (mcu_types): Add entries for: attiny212,
1027 attiny214, attiny412, attiny414, attiny814, attiny1614,
1028 attiny1616, attiny1617, attiny3214, attiny3216, attiny3217.
1029 (md_show_usage): Adjust doc for "avrxmega3".
1030 * doc/c-avr.texi (AVR options) [-mmcu=]: Adjust doc for avrxmega3.
1031 Add MCUs: attiny212, attiny214, attiny412, attiny414, attiny416,
1032 attiny417, attiny814, attiny816, attiny817, attiny1614,
1033 attiny1616, attiny1617, attiny3214, attiny3216, attiny3217.
1034
e58ff055
JW
10352017-07-13 Jim Wilson <jim.wilson@linaro.org>
1036
1037 * config/tc-arch64.c (aarch64_cpus): Add AARCH64_FEATURE_RDMA to
1038 falkor and qdf24xx entries.
1039
429d795d
AM
10402017-07-12 Alan Modra <amodra@gmail.com>
1041
1042 * po/es.po: Update from translationproject.org/latest/gas/.
1043 * po/fi.po: Likewise.
1044 * po/fr.po: Likewise.
1045 * po/id.po: Likewise.
1046 * po/ja.po: Likewise.
1047 * po/ru.po: Likewise.
1048 * po/sv.po: Likewise.
1049 * po/tr.po: Likewise.
1050 * po/uk.po: Likewise.
1051 * po/zh_CN.po: Likewise.
1052
0bae9e9e
NC
10532017-07-12 Nick Clifton <nickc@redhat.com>
1054
1055 Fix compile time warnings using gcc 7.1.1.
1056 * config/tc-pru.c (md_assemble): Add continue statement after
1057 handling 'E' operand character.
1058 * config/tc-v850.c (md_assemble): Initialise the 'insn' variable.
1059
15a7695f
JG
10602017-07-05 James Greenhalgh <james.greenhalgh@arm.com>
1061
1062 * config/tc-arm.c (arm_cpus): Add Cortex-A55 and Cortex-A75.
1063 * doc/c-arm.texi (-mcpu): Document Cortex-A55 and Cortex-A75.
1064
e4bdd679
BP
10652017-07-05 Borislav Petkov <bp@suse.de>
1066
1067 * testsuite/gas/i386/opcode.s: Add tests for ModRM.reg == 6 variants.
1068 * testsuite/gas/i386/opcode.d: ditto.
1069 * testsuite/gas/i386/x86-64-opcode.s: Add x86_64 variants too.
1070 * testsuite/gas/i386/x86-64-opcode.d: ditto.
1071
60c96dbf
RR
10722017-07-04 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1073
1074 * config/tc-arm.c (arm_regs): Add MVFR2.
1075 (do_vmrs): Constraint for MVFR2 and armv8.
1076 (do_vmsr): Likewise.
1077 * testsuite/gas/arm/armv8-a+fp.d: Update.
1078 * testsuite/gas/arm/armv8-ar+fp.s: Likewise.
1079 * testsuite/gas/arm/armv8-r+fp.d: Likewise.
1080 * testsuite/gas/arm/vfp-bad.s: Likewise.
1081 * testsuite/gas/arm/vfp-bad.l: Likewise.
1082
0d702cfe
TG
10832017-07-04 Tristan Gingold <gingold@adacore.com>
1084
1085 * configure: Regenerate.
1086
55a09eb6
TG
10872017-07-04 Tristan Gingold <gingold@adacore.com>
1088
1089 * NEWS: Add marker for 2.29.
1090
8d219acd
AM
10912017-07-03 Alan Modra <amodra@gmail.com>
1092
1093 * testsuite/gas/elf/symver.d: Don't run on hppa64-hpux.
1094
834a65aa
MR
10952017-06-30 Maciej W. Rozycki <macro@imgtec.com>
1096
1097 * config/tc-mips.c (md_convert_frag): Use a switch on the
1098 microMIPS relaxation type rather than a chain of conditionals.
1099
bbd27b76
MR
11002017-06-30 Maciej W. Rozycki <macro@imgtec.com>
1101
1102 * config/tc-mips.c (md_convert_frag): Rewrite `fix_new_exp'
1103 calls in terms of `fix_new'.
1104
9f00292e
MR
11052017-06-30 Maciej W. Rozycki <macro@imgtec.com>
1106
1107 * config/tc-mips.c (md_convert_frag): Don't make a helper
1108 expression symbol for `fix_new_exp' called with a non-zero
1109 offset.
1110 * testsuite/gas/mips/relax-offset.d: New test.
1111 * testsuite/gas/mips/mips1@relax-offset.d: New test.
1112 * testsuite/gas/mips/r3000@relax-offset.d: New test.
1113 * testsuite/gas/mips/r3900@relax-offset.d: New test.
1114 * testsuite/gas/mips/micromips@relax-offset.d: New test.
1115 * testsuite/gas/mips/relax-offset.l: New stderr output.
1116 * testsuite/gas/mips/relax-offset.s: New test source.
1117 * testsuite/gas/mips/mips.exp: Run the new tests.
1118
32f76c67
GJL
11192017-06-30 Georg-Johann Lay <avr@gjlay.de>
1120
1121 PR gas/21683
1122 * doc/c-avr.texi (AVR Options) <-mgcc-isr>: Document it.
1123 (AVR Pseudo Instructions): New node.
1124 * config/tc-avr.h (md_pre_output_hook): Define to avr_pre_output_hook.
1125 (md_undefined_symbol): Define to avr_undefined_symbol.
1126 (avr_pre_output_hook, avr_undefined_symbol): New protos.
1127 * config/tc-avr.c (struc-symbol.h): Include it.
1128 (ISR_CHUNK_Done, ISR_CHUNK_Prologue, ISR_CHUNK_Epilogue): New enums.
1129 (avr_isr, avr_gccisr_opcode)
1130 (avr_no_sreg_hash, avr_no_sreg): New static variables.
1131 (avr_opt_s) <have_gccisr>: Add field.
1132 (avr_opt): Add initializer for have_gccisr.
1133 (enum options) <OPTION_HAVE_GCCISR>: Add enum.
1134 (md_longopts) <"mgcc-isr">: Add entry.
1135 (md_show_usage): Document -mgcc-isr.
1136 (md_parse_option) [OPTION_HAVE_GCCISR]: Handle it.
1137 (md_undefined_symbol): Remove.
1138 (avr_undefined_symbol, avr_pre_output_hook): New fuctions.
1139 (md_begin) <avr_no_sreg_hash, avr_gccisr_opcode>: Initialize them.
1140 (avr_operand) <pregno>: Add argument and set *pregno if function
1141 is called for a register constraint.
1142 [N]: Handle constraint.
1143 (avr_operands) <avr_operand>: Pass 5th parameter to calls.
1144 [avr_opt.have_gccisr]: Call avr_update_gccisr. Call
1145 avr_gccisr_operands instead of avr_operands.
1146 (avr_update_gccisr, avr_emit_insn, avr_patch_gccisr_frag)
1147 (avr_gccisr_operands, avr_check_gccisr_done): New static functions.
1148 * testsuite/gas/avr/gccisr-01.d: New test.
1149 * testsuite/gas/avr/gccisr-01.s: New test.
1150 * testsuite/gas/avr/gccisr-02.d: New test.
1151 * testsuite/gas/avr/gccisr-02.s: New test.
1152 * testsuite/gas/avr/gccisr-03.d: New test.
1153 * testsuite/gas/avr/gccisr-03.s: New test.
1154
33f46696
MR
11552017-06-30 Maciej W. Rozycki <macro@imgtec.com>
1156
1157 * config/tc-mips.c (match_float_constant): Update description.
1158 (match_operand): Likewise.
1159
909b4e3d
MR
11602017-06-30 Andrew Bennett <andrew.bennett@imgtec.com>
1161 Maciej W. Rozycki <macro@imgtec.com>
1162
1163 * config/tc-mips.c (mips_ases): Add microMIPS XPA support.
1164 * testsuite/gas/mips/micromips@xpa.d: New test.
1165 * testsuite/gas/mips/mips.exp: Run the new test. Enable
1166 `xpa-virt-err' test for `micromips'.
1167
f5b2fd52
MR
11682017-06-30 Andrew Bennett <andrew.bennett@imgtec.com>
1169 Maciej W. Rozycki <macro@imgtec.com>
1170
1171 * testsuite/gas/mips/micromips@r5.d: New test.
1172 * testsuite/gas/mips/mips.exp: Run the new test.
1173
9785fc2a
MR
11742017-06-30 Maciej W. Rozycki <macro@imgtec.com>
1175 Andrew Bennett <andrew.bennett@imgtec.com>
1176
1177 * config/tc-mips.c (mips_set_ase): Handle the ASE_XPA_VIRT flag.
1178 * testsuite/gas/mips/xpa.d: Remove `xpa' from `-M' in `objdump'
1179 flags. Add `-mvirt' to `as' flags.
1180 * testsuite/gas/mips/xpa-err.d: New test.
1181 * testsuite/gas/mips/xpa-virt-err.d: New test.
1182 * testsuite/gas/mips/xpa-err.l: New stderr output.
1183 * testsuite/gas/mips/xpa-virt-err.l: New stderr output.
1184 * testsuite/gas/mips/xpa-err.s: New test source.
1185 * testsuite/gas/mips/xpa-virt-err.s: New test source.
1186 * testsuite/gas/mips/mips.exp: Run the new tests.
1187
60804c53
MR
11882017-06-29 Maciej W. Rozycki <macro@imgtec.com>
1189
1190 * testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: Adjust for the
1191 ASE_MIPS16E2_MT flag disassembler fix.
1192 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e2-mt-sub.d:
1193 Likewise.
1194
92cebb3d
MR
11952017-06-29 Maciej W. Rozycki <macro@imgtec.com>
1196
1197 * config/tc-mips.c (mips_set_ase): Clear the ASE_MIPS16E2_MT
1198 flag before recalculating.
1199 * testsuite/gas/mips/mips16e2-mt-err.d: New test.
1200 * testsuite/gas/mips/mips16e2-mt-err.l: New stderr output.
1201 * testsuite/gas/mips/mips16e2-mt-err.s: New test source.
1202 * testsuite/gas/mips/mips.exp: Run the new test.
1203
65a55fbb
TC
12042017-06-28 Tamar Christina <tamar.christina@arm.com>
1205
1206 * config/tc-aarch64.c (aarch64_reg_parse_32_64): Accept 4B.
1207 (aarch64_features): Added dotprod.
1208 * doc/c-aarch64.texi: Added dotprod.
1209 * testsuite/gas/aarch64/dotproduct.d: New.
1210 * testsuite/gas/aarch64/dotproduct.s: New.
1211
c604a79a
JW
12122017-06-28 Jiong Wang <jiong.wang@arm.com>
1213
1214 * config/tc-arm.c (fpu_neon_ext_dotprod): New variable.
1215 (neon_scalar_for_mul): Improve comments.
1216 (do_neon_dotproduct): New function to encode Dot Product instructions.
1217 (do_neon_dotproduct_s): Wrapper function for signed Dot Product
1218 instructions.
1219 (do_neon_dotproduct_u): Wrapper function for unsigned Dot Product
1220 instructions.
1221 (insns): New entries for vsdot and vudot.
1222 (arm_extensions): New entry for "dotprod".
1223 * doc/c-arm.texi: Document new "dotprod" extension.
1224 * testsuite/gas/arm/dotprod.s: New test source.
1225 * testsuite/gas/arm/dotprod-illegal.s: New test source.
1226 * testsuite/gas/arm/dotprod.d: New test.
1227 * testsuite/gas/arm/dotprod-thumb2.d: New test.
1228 * testsuite/gas/arm/dotprod-illegal.d: New test.
1229 * testsuite/gas/arm/dotprod-legacy-arch.d: New test.
1230 * testsuite/gas/arm/dotprod-illegal.l: New error file.
1231 * testsuite/gas/arm/dotprod-legacy-arch.l: New error file.
1232
819e1f86
MR
12332017-06-28 Maciej W. Rozycki <macro@imgtec.com>
1234
1235 * testsuite/gas/mips/elf_mach_interaptiv-mr2.d: New test.
1236 * testsuite/gas/mips/save-err.d: New test.
1237 * testsuite/gas/mips/save-sub.d: New test.
1238 * testsuite/gas/mips/interaptiv-mr2@save.d: New test.
1239 * testsuite/gas/mips/mips1@save-sub.d: New test.
1240 * testsuite/gas/mips/mips2@save-sub.d: New test.
1241 * testsuite/gas/mips/mips3@save-sub.d: New test.
1242 * testsuite/gas/mips/mips4@save-sub.d: New test.
1243 * testsuite/gas/mips/mips5@save-sub.d: New test.
1244 * testsuite/gas/mips/mips32@save-sub.d: New test.
1245 * testsuite/gas/mips/mips64@save-sub.d: New test.
1246 * testsuite/gas/mips/mips16@save-sub.d: New test.
1247 * testsuite/gas/mips/mips16e@save-sub.d: New test.
1248 * testsuite/gas/mips/r3000@save-sub.d: New test.
1249 * testsuite/gas/mips/r3900@save-sub.d: New test.
1250 * testsuite/gas/mips/r4000@save-sub.d: New test.
1251 * testsuite/gas/mips/vr5400@save-sub.d: New test.
1252 * testsuite/gas/mips/interaptiv-mr2@save-sub.d: New test.
1253 * testsuite/gas/mips/sb1@save-sub.d: New test.
1254 * testsuite/gas/mips/octeon2@save-sub.d: New test.
1255 * testsuite/gas/mips/octeon3@save-sub.d: New test.
1256 * testsuite/gas/mips/xlr@save-sub.d: New test.
1257 * testsuite/gas/mips/r5900@save-sub.d: New test.
1258 * testsuite/gas/mips/mips16e2-copy.d: New test.
1259 * testsuite/gas/mips/mips16e2-copy-err.d: New test.
1260 * testsuite/gas/mips/save.d: Remove `MIPS16e' from the `name'
1261 option. Adjust for trailing padding change.
1262 * testsuite/gas/mips/mips16e2-copy-err.l: New stderr output.
1263 * testsuite/gas/mips/save-sub.s: New test source.
1264 * testsuite/gas/mips/mips16e2-copy.s: New test source.
1265 * testsuite/gas/mips/mips16e2-copy-err.s: New test source.
1266 * testsuite/gas/mips/save.s: Update description, change trailing
1267 padding and remove trailing white space.
1268 * testsuite/gas/mips/mips.exp: Expand `save' and `save-err'
1269 tests across the regular MIPS interAptiv MR2 architecture. Run
1270 the new tests.
1271
c7d289d1
MR
12722017-06-28 Maciej W. Rozycki <macro@imgtec.com>
1273
1274 * testsuite/gas/mips/mips.exp (interaptiv-mr2): New architecture.
1275 (mips16e2-interaptiv-mr2): Likewise.
1276 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro.d: New
1277 test.
1278 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-t.d:
1279 New test.
1280 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-e.d:
1281 New test.
1282 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-t.d:
1283 New test.
1284 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-e.d:
1285 New test.
1286 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64.d: New
1287 test.
1288 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-sub.d: New
1289 test.
1290 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-sub.d: New
1291 test.
1292 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64-sub.d:
1293 New test.
1294 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e2-mt-sub.d:
1295 New test.
1296 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-asmacro.d:
1297 New test.
1298 * testsuite/gas/mips/interaptiv-mr2@mcu.d: New test.
1299 * testsuite/gas/mips/interaptiv-mr2@isa-override-1.d: New test.
1300 * testsuite/gas/mips/interaptiv-mr2@isa-override-2.d: New test.
1301 * testsuite/gas/mips/attr-gnu-4-5.d: Ignore any number of ASE
1302 flag lines present rather than just one.
1303 * testsuite/gas/mips/attr-gnu-4-6.d: Likewise.
1304 * testsuite/gas/mips/attr-gnu-4-7.d: Likewise.
1305 * testsuite/gas/mips/attr-none-o32-fp64-nooddspreg.d: Likewise.
1306 * testsuite/gas/mips/attr-none-o32-fp64.d: Likewise.
1307 * testsuite/gas/mips/attr-none-o32-fpxx.d: Likewise.
1308 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro.l: New
1309 stderr output.
1310 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-t.l:
1311 New stderr output.
1312 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-e.l:
1313 New stderr output.
1314 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-t.l:
1315 New stderr output.
1316 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-e.l:
1317 New stderr output.
1318 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-sub.l: New
1319 stderr output.
1320 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-sub.l: New
1321 stderr output.
1322 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64-sub.l:
1323 New stderr output.
1324 * testsuite/gas/mips/interaptiv-mr2@isa-override-1.l: New stderr
1325 output.
1326 * testsuite/gas/mips/interaptiv-mr2@isa-override-2.l: New stderr
1327 output.
1328
38bf472a
MR
13292017-06-28 Maciej W. Rozycki <macro@imgtec.com>
1330 Matthew Fortune <matthew.fortune@imgtec.com>
1331
1332 * config/tc-mips.c (validate_mips_insn): Handle
1333 OP_SAVE_RESTORE_LIST specially.
1334 (mips_encode_save_restore, mips16_encode_save_restore): New
1335 functions.
1336 (match_save_restore_list_operand): Factor out SAVE/RESTORE
1337 operand insertion into the instruction word or halfword to these
1338 new functions.
1339 (mips_cpu_info_table): Add "interaptiv-mr2" entry.
1340
1341 * doc/c-mips.texi (MIPS Options): Add `interaptiv-mr2' to the
1342 `-march=' argument list.
1343
79cb3f75
MR
13442017-06-27 Maciej W. Rozycki <macro@imgtec.com>
1345
1346 * testsuite/gas/mips/mips16e-save.d: Rename to...
1347 * testsuite/gas/mips/save.d: ... this.
1348 * testsuite/gas/mips/mips16e-save-err.d: Update the
1349 `error-output' option and rename to...
1350 * testsuite/gas/mips/save-err.d: ... this.
1351 * testsuite/gas/mips/mips16e-save-err.l: Rename to...
1352 * testsuite/gas/mips/save-err.l: ... this.
1353 * testsuite/gas/mips/mips16e-save.s: Rename to...
1354 * testsuite/gas/mips/save.s: ... this.
1355 * testsuite/gas/mips/mips16e-save-err.s: Rename to...
1356 * testsuite/gas/mips/save-err.s: ... this.
1357 * testsuite/gas/mips/mips.exp: Rename `mips16e-save' and
1358 `mips16e-save-err' invocations to `save' and `save-err'
1359 respectively and reorder these tests away from MIPS16 tests.
1360
b0bd097e
MR
13612017-06-27 Maciej W. Rozycki <macro@imgtec.com>
1362
1363 * testsuite/gas/mips/mips16e-save.d: Remove `-mmips:isa32
1364 -mmips:16' from `objdump' flags and `-march=mips32 -mips16' from
1365 `as' flags.
1366 * testsuite/gas/mips/mips16e-save-err.d: Remove `-march=mips32'
1367 from `as' flags.
1368 * testsuite/gas/mips/mips16e-save.s: Remove the `.set mips16'
1369 pseudo-op.
1370 * testsuite/gas/mips/mips16e-save-err.s: Likewise.
1371 * testsuite/gas/mips/mips.exp: Run SAVE/RESTORE tests across all
1372 MIPS16e architectures.
1373
2438385a
MR
13742017-06-27 Maciej W. Rozycki <macro@imgtec.com>
1375
1376 * testsuite/gas/mips/mips16e-save-err.d: New test.
1377 * gas/testsuite/gas/mips/mips.exp: Fold `mips16e-save-err' list
1378 test into the new test.
1379
daba08c9
MR
13802017-06-27 Maciej W. Rozycki <macro@imgtec.com>
1381
1382 * testsuite/gas/mips/mips16e-save.d: Capitalize the `name'
1383 option.
1384
a6cbf936
KLC
13852017-06-26 Kuan-Lin Chen <rufus@andestech.com>
1386
1387 * config/tc-riscv.c (md_apply_fix) [BFD_RELOC_32]: Convert to a
1388 R_RISCV_32_PCREL relocation.
1389
a3aea05a
L
13902017-06-26 H.J. Lu <hongjiu.lu@intel.com>
1391
1392 PR gas/21661
1393 * config/obj-elf.c (obj_elf_symver): Don't allow .symver with
1394 common symbol.
1395 (elf_frob_symbol): Likewise.
1396 * testsuite/gas/elf/elf.exp: Run pr21661.
1397 * testsuite/gas/elf/pr21661.d: New file.
1398 * testsuite/gas/elf/pr21661.s: Likewise.
1399
49fa50ef
NC
14002017-06-26 Nick Clifton <nickc@redhat.com>
1401
1402 * config/tc-arm.c (fpu_any): Only define for ELF based targets.
1403
cf9bdae9 14042017-06-26 Claudiu Zissulescu <claziss@synopsys.com>
1405
1406 * /config/tc-arc.c (is_br_jmp_insn_p): Update macro with known
1407 instructions to be accounted as jumps.
1408 (assemble_insn): Check for limms into the delay slots. Emit an
1409 error if so.
1410 * testsuite/gas/arc/asm-errors-3.d: New file.
1411 * testsuite/gas/arc/asm-errors-3.err: Likewise.
1412 * testsuite/gas/arc/asm-errors-3.s: Likewise.
1413
0cda1e19
TP
14142017-06-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1415
1416 * NEWS: Mention support of ARM Cortex-R52 processor.
1417 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-R52 processor.
1418 * doc/c-arm.texi: Mention support for -mcpu=cortex-r52.
1419
ced40572
TP
14202017-06-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
1421
1422 * NEWS: Mention support for ARMv8-R architecture.
1423 * config/tc-arm.c (arm_archs): Add entry for ARMv8-R.
1424 (arm_extensions): Restrict pan, ras and rdma extension to
1425 ARMv8-A and make crypto, fp and simd extensions available to
1426 ARMv8-R.
1427 (cpu_arch_ver): Add entry for ARMv8-R.
1428 (aeabi_set_public_attributes): Update gas_assert for Tag_DIV_use
1429 logic.
1430 * testsuite/gas/arm/armv8-a+fp.s: Rename into ...
1431 * testsuite/gas/arm/armv8-ar+fp.s: This. Remove .arch directive.
1432 * testsuite/gas/arm/armv8-a+fp.d: Specify source to assemble and
1433 architecture to assemble for.
1434 * testsuite/gas/arm/armv8-r+fp.d: New.
1435 * testsuite/gas/arm/armv8-a+simd.s: Rename into ...
1436 * testsuite/gas/arm/armv8-ar+simd.s: This. Remove .arch directive.
1437 * testsuite/gas/arm/armv8-a+simd.d: Specify source to assemble and
1438 architecture to assemble for.
1439 * testsuite/gas/arm/armv8-r+simd.d: New.
1440 * testsuite/gas/arm/armv8-a-bad.s: Rename into ...
1441 * testsuite/gas/arm/armv8-ar-bad.s: This. Remove .arch directive.
1442 * testsuite/gas/arm/armv8-a-bad.l: Rename into ...
1443 * testsuite/gas/arm/armv8-ar-bad.l: This. Decrement line number by 1.
1444 * testsuite/gas/arm/armv8-a-bad.d: Specify source to assemble,
1445 architecture to assemble for and adjust error output file.
1446 * testsuite/gas/arm/armv8-r-bad.d: New.
1447 * testsuite/gas/arm/armv8-a-barrier.s: Rename into ...
1448 * testsuite/gas/arm/armv8-ar-barrier.s: This.
1449 * testsuite/gas/arm/armv8-a-barrier-arm.d: Adjust source.
1450 * testsuite/gas/arm/armv8-a-barrier-thumb.d: Likewise.
1451 * testsuite/gas/arm/armv8-r-barrier-arm.d: New.
1452 * testsuite/gas/arm/armv8-r-barrier-thumb.d: New.
1453 * testsuite/gas/arm/armv8-a-it-bad.s: Rename into ...
1454 * testsuite/gas/arm/armv8-ar-it-bad.s: This. Remove .arch directive.
1455 * testsuite/gas/arm/armv8-a-it-bad.l: Rename into ...
1456 * testsuite/gas/arm/armv8-ar-it-bad.l: This. Decrement line number
1457 by 1.
1458 * testsuite/gas/arm/armv8-a-it-bad.d: Specify source to assemble,
1459 architecture to assemble for and adjust error output file.
1460 * testsuite/gas/arm/armv8-r-it-bad.d: New.
1461 * testsuite/gas/arm/armv8-a.s: Rename into ...
1462 * testsuite/gas/arm/armv8-ar.s: This. Remove .arch directive.
1463 * testsuite/gas/arm/armv8-a.d: Specify source to assemble and
1464 architecture to assemble for.
1465 * testsuite/gas/arm/armv8-r.d: New.
1466 * testsuite/gas/arm/attr-march-armv8-r+crypto.d: New.
1467 * testsuite/gas/arm/attr-march-armv8-r+fp.d: New.
1468 * testsuite/gas/arm/attr-march-armv8-r+simd.d: New.
1469 * testsuite/gas/arm/attr-march-armv8-r.d: New.
1470 * testsuite/gas/arm/crc32.s: Rename into ...
1471 * testsuite/gas/arm/crc32-armv8-ar.s: This.
1472 * testsuite/gas/arm/crc32.d: Rename into ...
1473 * testsuite/gas/arm/crc32-armv8-a.d: This. Specify source to assemble.
1474 * testsuite/gas/arm/crc32-armv8-r.d: New.
1475 * testsuite/gas/arm/crc32-bad.s: Rename into ...
1476 * testsuite/gas/arm/crc32-armv8-ar-bad.s: This.
1477 * testsuite/gas/arm/crc32-bad.d: Rename into ...
1478 * testsuite/gas/arm/crc32-armv8-a-bad.d: This. Specify source to
1479 assemble.
1480 * testsuite/gas/arm/crc32-armv8-r-bad.d: New.
1481 * testsuite/gas/arm/mask_1.s: Rename into ...
1482 * testsuite/gas/arm/mask_1-armv8-ar.s: This.
1483 * testsuite/gas/arm/mask_1.d: Rename into ...
1484 * testsuite/gas/arm/mask_1-armv8-a.d: This. Specify source to
1485 assemble.
1486 * testsuite/gas/arm/mask_1-armv8-r.d: new.
1487
173205ca
TP
14882017-06-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
1489
1490 * config/tc-arm.c (arm_ext_v6m): Delete.
1491 (arm_ext_v7m): Delete.
1492 (arm_ext_m): Remove ARM_EXT_OS from the set of feature defined M
1493 profile.
1494 (arm_arch_v6m_only): Delete.
1495 (do_t_swi): Remove special case for ARMv6S-M.
1496 (md_assemble): Display error message previously in do_t_swi when
1497 SVC is not available.
1498 (insns): Guard swi and svc by arm_ext_os for Thumb mode.
1499 (aeabi_set_public_attributes): Remove special case for ARMv6S-M.
1500
94f78a77
AW
15012017-05-11 Andrew Waterman <andrew@sifive.com>
1502
1503 * config/tc-riscv.c (riscv_ip): Changes as_warn to as_bad for improper
1504 shift amounts.
1505
e7d39ed3
NC
15062017-06-22 Nick Clifton <nickc@redhat.com>
1507
1508 * config/tc-arm.c (arm_ext_v7m): Add ATTRIBUTE_UNUSED.
1509
2c6b98ea
TP
15102017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
1511
1512 * config/tc-arm.c (fpu_any): Defined from FPU_ANY.
1513 (cpu_arch_ver): Add all architectures and sort by release date.
1514 (have_ext_for_needed_feat_p): New.
1515 (get_aeabi_cpu_arch_from_fset): New.
1516 (aeabi_set_public_attributes): Call above function to determine
1517 Tag_CPU_arch and Tag_CPU_arch_profile values. Adapt Tag_ARM_ISA_use
1518 and Tag_THUMB_ISA_use selection logic to check absence of feature bit
1519 accordingly.
1520 * testsuite/gas/arm/attr-march-armv1.d: Fix expected Tag_CPU_arch build
1521 attribute value.
1522 * testsuite/gas/arm/attr-march-armv2.d: Likewise.
1523 * testsuite/gas/arm/attr-march-armv2a.d: Likewise.
1524 * testsuite/gas/arm/attr-march-armv2s.d: Likewise.
1525 * testsuite/gas/arm/attr-march-armv3.d: Likewise.
1526 * testsuite/gas/arm/attr-march-armv3m.d: Likewise.
1527 * testsuite/gas/arm/pr12198-2.d: Likewise.
1528
2234eee6
L
15292017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1530
1531 * testsuite/gas/i386/cet-intel.d: Updated.
1532 * testsuite/gas/i386/cet.d: Likewise.
1533 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
1534 * testsuite/gas/i386/x86-64-cet.d: Likewise.
1535 * testsuite/gas/i386/cet.s: Update incsspd and setssbsy tests.
1536 * testsuite/gas/i386/x86-64-cet.s: Likewise.
1537
c2f76402
L
15382017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1539
1540 * testsuite/gas/i386/cet-intel.d: Updated.
1541 * testsuite/gas/i386/cet.d: Likewise.
1542 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
1543 * testsuite/gas/i386/x86-64-cet.d: Likewise.
1544 * testsuite/gas/i386/cet.s: Replace savessp with saveprevssp.
1545 * testsuite/gas/i386/x86-64-cet.s: Likewise.
1546
9fef80d6
L
15472017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1548
1549 * config/tc-i386.c (md_assemble): Update NOTRACK prefix check.
1550 * testsuite/gas/i386/notrack-intel.d: Updated.
1551 * testsuite/gas/i386/notrack.d: Likewise.
1552 * testsuite/gas/i386/notrackbad.l: Likewise.
1553 * testsuite/gas/i386/x86-64-notrack-intel.d: Likewise.
1554 * testsuite/gas/i386/x86-64-notrack.d: Likewise.
1555 * testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
1556 * testsuite/gas/i386/notrack.s: Add NOTRACK prefix tests with
1557 memory indirect branch.
1558 * testsuite/gas/i386/x86-64-notrack.s: Likewise.
1559 * testsuite/gas/i386/notrackbad.s: Remove memory indirect branch
1560 with NOTRACK prefix.
1561 * testsuite/gas/i386/x86-64-notrackbad.s: Likewise.
1562
3d030cdb
TP
15632017-06-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
1564
1565 * config/tc-arm.c (arm_extensions): New duplicate idiv entry to enable
1566 Thumb division for ARMv7 architecture.
1567 (arm_parse_extension): Document expected behavior for duplicate
1568 entries.
1569 (s_arm_arch_extension): Likewise.
1570 * testsuite/gas/arm/forbid-armv7-idiv-ext.d: New test.
1571 * testsuite/gas/arm/forbid-armv7-idiv-ext.l: New expected output for
1572 above test.
1573
54bab281
TP
15742017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
1575
1576 * config/tc-arm.c (aeabi_set_public_attributes): Populate flags from
1577 feature bits used or selected_cpu depending on whether a CPU was
1578 selected by the user.
1579
6c290d53
TP
15802017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
1581
1582 * config/tc-arm.c (aeabi_set_public_attributes): Test *mcpu_ext_opt to
1583 decide whether to set Tag_DSP_extension build attribute value. Remove
1584 now useless arm_arch variable.
1585
c168ce07
TP
15862017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
1587
1588 * config/tc-arm.c (dyn_mcpu_ext_opt): New static variable.
1589 (dyn_march_ext_opt): Likewise.
1590 (md_begin): Copy extension feature bits alongside architecture ones.
1591 Merge extensions feature bits in selected_cpu and cpu_variant if there
1592 is some.
1593 (arm_parse_extension): Pass architecture and extension feature bits in
1594 separate parameters, with architecture bits being read only. Update
1595 **opt_p directly rather than *ext_set and initialize it if needed.
1596 (arm_parse_cpu): Stop merging architecture and extension feature bits
1597 and instead use mcpu_cpu_opt and dyn_mcpu_ext_opt to memorize them
1598 respectively. Adapt to change in parameters of arm_parse_extension.
1599 (arm_parse_arch): Adapt to change in parameters of arm_parse_extension.
1600 (aeabi_set_attribute_string): Make function static.
1601 (arm_md_post_relax): New function.
1602 (s_arm_cpu): Stop merging architecture and extension feature bits and
1603 instead use mcpu_cpu_opt and dyn_mcpu_ext_opt to memorize them
1604 respectively. Merge extension feature bits in cpu_variant
1605 if there is any.
1606 (s_arm_arch): Reset extension feature bit. Set selected_cpu from
1607 *mcpu_cpu_opt and cpu_variant from selected_cpu and *mfpu_opt for
1608 consistency with s_arm_cpu.
1609 (s_arm_arch_extension): Update *dyn_mcpu_ext_opt rather than
1610 selected_cpu, allocating it before hand if needed. Set selected_cpu
1611 from it and then cpu_variant.
1612 (s_arm_fpu): Merge *mcpu_ext_opt feature bits if any in cpu_variant.
1613 * config/tc-arm.h (md_post_relax_hook): Set to arm_md_post_relax.
1614 (aeabi_set_public_attributes): Delete external declaration.
1615 (arm_md_post_relax): Declare externally.
1616
996b5569
TP
16172017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
1618
1619 * config/tc-arm.c (struct arm_cpu_option_table): New ext field.
1620 (ARM_CPU_OPT): Add parameter to set new ext field and reorder canonical
1621 name field just after the name field.
1622 (arm_cpus): Move extension feature bit from value field to ext field,
1623 reorder parameter according to changes in ARM_CPU_OPT and reindent.
1624 (arm_parse_cpu): Point mcpu_cpu_opt to a bitfield merging the value and
1625 ext field from the selected arm_cpus entry.
1626 (s_arm_cpu): Likewise.
1627
1e292627
JG
16282017-06-21 James Greenhalgh <james.greenhalgh@arm.com>
1629
1630 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a55 and cortex-a75.
1631 * doc/c-aarch64.texi (-mcpu): Document cortex-a55 and cortex-a75.
1632
8cac017d
L
16332017-06-15 H.J. Lu <hongjiu.lu@intel.com>
1634
1635 PR binutils/21594
1636 * testsuite/gas/i386/mpx.s: Add 2 tests with invalid bnd
1637 register.
1638 * testsuite/gas/i386/x86-64-mpx.s: Likewise.
1639 * testsuite/gas/i386/mpx.d: Updated.
1640 * testsuite/gas/i386/x86-64-mpx.d: Likewise.
1641
f7e16c2a
MF
16422017-06-14 Max Filippov <jcmvbkbc@gmail.com>
1643
1644 * config/tc-xtensa.c (density_supported, xtensa_fetch_width,
1645 absolute_literals_supported): Leave definitions uninitialized.
1646 (directive_state): Leave entries for directive_density and
1647 directive_absolute_literals initialized to false.
1648 (xg_init_global_config, xtensa_init): New functions.
1649 * config/tc-xtensa.h (TARGET_BYTES_BIG_ENDIAN): Define as 0.
1650 (HOST_SPECIAL_INIT): New definition.
1651 (xtensa_init): New declaration.
1652
62e20ed4
MC
16532017-06-07 Michael Collison <michael.collison@arm.com>
1654
1655 * config/tc-aarch64.c (reg_entry_reg_names): Add IP0,
1656 IP1, FP, and LR as register aliases of register 16, 17, 29
1657 and 30 respectively.
1658 * testsuite/gas/aarch64/diagnostic.l: Remove diagnostic
1659 prohibiting register 'lr' which is now an alias.
1660 * testsuite/gas/aarch64/diagnostic.s: Remove instruction
1661 utilizing register 'lr' which is now an alias.
1662
5c8ed6a4
JW
16632017-06-06 Jiong Wang <jiong.wang@arm.com>
1664
1665 * config/tc-arm.c (reject_bad_reg): Allow REG_SP on ARMv8-A.
1666 (parse_operands): Allow REG_SP for OP_oRRnpcsp and OP_RRnpcsp on
1667 ARMv8-A.
1668 (do_co_reg): Allow REG_SP for Rd on ARMv8-A.
1669 (do_t_add_sub): Likewise.
1670 (do_t_mov_cmp): Likewise.
1671 (do_t_tb): Likewise.
1672 * testsuite/gas/arm/ld-sp-warn.l: Delete the warning on REG_SP as Rt for
1673 ldrsb.
1674 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.d: New test.
1675 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: New test.
1676 * testsuite/gas/arm/sp-pc-validations-bad-t.d: Specifies -march=armv7-a.
1677 * testsuite/gas/arm/sp-pc-validations-bad-t.s: Remove ".arch armv7-a".
1678 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v7.d: New test.
1679 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v7.l: New test.
1680 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v8.d: New test.
1681 * testsuite/gas/arm/sp-usage-thumb2-relax.s: New test.
1682 * testsuite/gas/arm/strex-bad-t.d: Specifies -march=armv7-a.
1683
61756f84
JW
16842017-06-05 Jim Wilson <jim.wilson@linaro.org>
1685
1686 * config/tc-arm.c (arm_cpus): Delete falkor and qdf24xx entries.
1687 * doc/c-arm.texi (-mcpu): Likewise.
1688
940171d0
AK
16892017-05-30 Anton Kolesov <anton.kolesov@synopsys.com>
1690
1691 * config/tc-arc.c (cpu_types): Include arc-cpu.def
1692
6e92fed5
L
16932017-05-23 H.J. Lu <hongjiu.lu@intel.com>
1694
1695 * gas/testsuite/gas/i386/notrackbad.l: Updated for non-ELF
1696 targets.
1697 * gas/testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
1698
6e3f3473 16992017-05-23 Claudiu Zissulescu <claziss@synopsys.com>
1700
1701 * config/tc-arc.c (md_apply_fix): Use as_bad_where.
1702 (assemble_insn): Use as_bad.
1703
04ef582a
L
17042017-05-22 H.J. Lu <hongjiu.lu@intel.com>
1705
1706 * config/tc-i386.c (REX_PREFIX): Changed to 7.
1707 (NOTRACK_PREFIX): New.
1708 (MAX_PREFIXES): Changed to 8.
1709 (_i386_insn): Add notrack_prefix.
1710 (PREFIX_GROUP): Add PREFIX_DS.
1711 (add_prefix): Return PREFIX_DS for DS_PREFIX_OPCODE.
1712 (md_assemble): Check if NOTRACK prefix is supported.
1713 (parse_insn): Set notrack_prefix and issue an error for
1714 other prefixes after NOTRACK prefix.
1715 * testsuite/gas/i386/i386.exp: Run tests for NOTRACK prefix.
1716 * testsuite/gas/i386/notrack-intel.d: New file.
1717 * testsuite/gas/i386/notrack.d: Likewise.
1718 * testsuite/gas/i386/notrack.s: Likewise.
1719 * testsuite/gas/i386/notrackbad.l: Likewise.
1720 * testsuite/gas/i386/notrackbad.s: Likewise.
1721 * testsuite/gas/i386/x86-64-notrack-intel.d: Likewise.
1722 * testsuite/gas/i386/x86-64-notrack.d: Likewise.
1723 * testsuite/gas/i386/x86-64-notrack.s: Likewise.
1724 * testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
1725 * testsuite/gas/i386/x86-64-notrackbad.s: Likewise.
1726
3c0367d0
JW
17272017-05-22 Jiong Wang <jiong.wang@arm.com>
1728
1729 * configure.tgt: Set "arch" to "aarch64" if ${cpu} equals "aarch64".
1730 Recognize the new triplet name aarch64*-linux-gnu_ilp32.
1731 * configure.ac: Output DEFAULT_ARCH macro for AArch64.
1732 * configure: Regenerate.
1733 * config/tc-aarch64.h (aarch64_after_parse_args): New declaration.
1734 (md_after_parse_args): New define.
1735 * config/tc-aarch64.c (aarch64_abi_type): New enumeration
1736 AARCH64_ABI_NONE.
1737 (DEFAULT_ARCH): New define.
1738 (aarch64_abi): Set default value to AARCH64_ABI_NONE.
1739 (aarch64_after_parse_args): New function.
1740
64517994
JM
17412017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
1742
1743 * config/tc-sparc.c (sparc_arch_table): Entries for `sparc6',
1744 `v9m8' and `v8plusm8'.
1745 (sparc_md_end): Handle SPARC_OPCODE_ARCH_M8.
1746 (get_hwcap_name): Support the M8 hardware capabilities.
1747 (sparc_ip): Handle new operand types.
1748 * doc/c-sparc.texi (Sparc-Opts): Document -Av9m8, -Av8plusm8 and
1749 -Asparc6, and the corresponding -xarch aliases.
1750 * testsuite/gas/sparc/sparc6.s: New file.
1751 * testsuite/gas/sparc/sparc6.d: Likewise.
1752 * testsuite/gas/sparc/sparc6-diag.s: Likewise.
1753 * testsuite/gas/sparc/sparc6-diag.l: Likewise.
1754 * testsuite/gas/sparc/fpcmpshl.s: Likewise.
1755 * testsuite/gas/sparc/fpcmpshl.d: Likewise.
1756 * testsuite/gas/sparc/fpcmpshl-diag.s: Likewise.
1757 * testsuite/gas/sparc/fpcmpshl-diag.l: Likewise.
1758 * testsuite/gas/sparc/ldm-stm.s: Likewise.
1759 * testsuite/gas/sparc/ldm-stm.d: Likewise.
1760 * testsuite/gas/sparc/ldm-stm-diag.s: Likewise.
1761 * testsuite/gas/sparc/ldm-stm-diag.l: Likewise.
1762 * testsuite/gas/sparc/ldmf-stmf.s: Likewise.
1763 * testsuite/gas/sparc/ldmf-stmf.d: Likewise.
1764 * testsuite/gas/sparc/ldmf-stmf-diag.s: Likewise.
1765 * testsuite/gas/sparc/ldmf-stmf-diag.l: Likewise.
1766 * testsuite/gas/sparc/on.s: Likewise.
1767 * testsuite/gas/sparc/on.d: Likewise.
1768 * testsuite/gas/sparc/on-diag.s: Likewise.
1769 * testsuite/gas/sparc/on-diag.l: Likewise.
1770 * testsuite/gas/sparc/rle.s: Likewise.
1771 * testsuite/gas/sparc/rle.d: Likewise.
1772 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run new tests.
1773 * testsuite/gas/sparc/rdasr.s: Add test for RDENTROPY.
1774 * testsuite/gas/sparc/rdasr.d: Likewise.
1775
ae0264a6
JM
17762017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
1777
1778 * testsuite/gas/sparc/call-relax.d: Support 32-bit targets.
1779 * testsuite/gas/sparc/sparc.exp (gas_64_check): Use -64 to
1780 run asi-bump-warn.
1781
f4203b2b
JL
17822017-05-19 Georg-Johann Lay <avr@gjlay.de>
1783
1784 PR ld/21472
1785 * config/tc-avr.c (mcu_types): Add entries for: attiny416,
1786 attiny417, attiny816, attiny817.
1787
535b785f
AM
17882017-05-18 Alan Modra <amodra@gmail.com>
1789
1790 * config/tc-aarch64.c: Don't compare booleans against TRUE or FALSE.
1791 * config/tc-hppa.c: Likewise.
1792 * config/tc-mips.c: Likewise.
1793 * config/tc-score7.c: Likewise.
1794
91cb9803
AM
17952017-05-16 Alan Modra <amodra@gmail.com>
1796
1797 * write.c (GENERIC_FORCE_RELOCATION_LOCAL): Define.
1798 (TC_FORCE_RELOCATION_LOCAL): Use it.
1799 (GENERIC_FORCE_RELOCATION_SUB_SAME): Define.
1800 (TC_FORCE_RELOCATION_SUB_SAME): Use it.
1801 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL,
1802 TC_FORCE_RELOCATION_SUB_SAME): Use GENERIC defines.
1803 * config/tc-aarch64.h: Similarly.
1804 * config/tc-avr.h: Similarly.
1805 * config/tc-cris.h: Similarly.
1806 * config/tc-i386.h: Similarly.
1807 * config/tc-i960.h: Similarly.
1808 * config/tc-ia64.h: Similarly.
1809 * config/tc-microblaze.h: Similarly.
1810 * config/tc-mips.h: Similarly.
1811 * config/tc-msp430.h: Similarly.
1812 * config/tc-nds32.h: Similarly.
1813 * config/tc-pru.h: Similarly.
1814 * config/tc-riscv.h: Similarly.
1815 * config/tc-rl78.h: Similarly.
1816 * config/tc-s390.h: Similarly.
1817 * config/tc-sh.h: Similarly.
1818 * config/tc-sh64.h: Similarly.
1819 * config/tc-sparc.h: Similarly.
1820 * config/tc-xtensa.h: Similarly.
1821 * config/tc-mn10300.h: Similarly.
1822 (GENERIC_FORCE_RELOCATION_LOCAL): Define.
1823 * config/tc-msp430.c (msp430_force_relocation_local): Modify to
1824 be addition to rather than replacement of standard
1825 TC_FORCE_RELOCATION_LOCAL.
1826
52a86f84
NC
18272017-05-15 Nick Clifton <nickc@redhat.com>
1828
1829 PR gas/21458
1830 * config/tc-arm.c (do_adr): If the ADR involves a thumb function
1831 symbol, ensure that the T bit will be set.
1832 (do_adrl): Likewise.
1833 (do_t_adr): Likewise.
1834 * testsuite/gas/arm/pr21458.s: New test.
1835 * testsuite/gas/arm/pr21458.d: New test driver.
1836
b32465c9
MR
18372017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1838
1839 * testsuite/gas/mips/mips16-pcrel-1.d: Remove `-mips3' from `as'
1840 flags.
1841 * testsuite/gas/mips/mips16-pcrel-pic-1.d: Likewise.
1842 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
1843 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
1844 * testsuite/gas/mips/mips16-pcrel-n64-0.d: Likewise.
1845 * testsuite/gas/mips/mips16-pcrel-n64-1.d: Likewise.
1846 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
1847 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
1848 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: Likewise.
1849 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: Likewise.
1850 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Likewise.
1851 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Likewise.
1852 * testsuite/gas/mips/mips16-pcrel-addend-4.d: Likewise.
1853 * testsuite/gas/mips/mips16-pcrel-addend-5.d: Likewise.
1854 * testsuite/gas/mips/mips16-pcrel-addend-6.d: Likewise.
1855 * testsuite/gas/mips/mips16-pcrel-addend-7.d: Likewise.
1856 * testsuite/gas/mips/mips16-pcrel-addend-9.d: Likewise.
1857 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: Likewise.
1858 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: Likewise.
1859 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: Likewise.
1860 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d:
1861 Likewise.
1862 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d:
1863 Likewise.
1864 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: Likewise.
1865 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: Likewise.
1866 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: Likewise.
1867 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: Likewise.
1868 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: Likewise.
1869 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: Likewise.
1870 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: Likewise.
1871 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: Likewise.
1872 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: Likewise.
1873 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: Likewise.
1874 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: Likewise.
1875 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d:
1876 Likewise.
1877 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d:
1878 Likewise.
1879 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d:
1880 Likewise.
1881 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d:
1882 Likewise.
1883 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d:
1884 Likewise.
1885 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d:
1886 Likewise.
1887 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
1888 Likewise.
1889 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
1890 Likewise.
1891 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: New test.
1892 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: New test.
1893 * testsuite/gas/mips/mips16e2@mips16-pcrel-2.d: New test.
1894 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: New test.
1895 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: New test.
1896 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d: New
1897 test.
1898 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d: New
1899 test.
1900 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: New test.
1901 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: New test.
1902 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-2.d: New test.
1903 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-3.d: New test.
1904 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-6.d: New test.
1905 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-7.d: New test.
1906 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-2.d: New test.
1907 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-3.d: New test.
1908 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-6.d: New test.
1909 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-7.d: New test.
1910 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-8.d: New test.
1911 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-9.d: New test.
1912 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-8.d: New
1913 test.
1914 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-9.d: New
1915 test.
1916 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-8.d:
1917 New test.
1918 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-9.d:
1919 New test.
1920 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute.d: New test.
1921 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-1.d: New
1922 test.
1923 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-2.d: New
1924 test.
1925 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-3.d: New
1926 test.
1927 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-4.d: New
1928 test.
1929 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-5.d: New
1930 test.
1931 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-6.d: New
1932 test.
1933 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-7.d: New
1934 test.
1935 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-4.d: New
1936 test.
1937 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-6.d: New
1938 test.
1939 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-4.d: New
1940 test.
1941 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-6.d: New
1942 test.
1943 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-4.d:
1944 New test.
1945 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-6.d:
1946 New test.
1947 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-4.d:
1948 New test.
1949 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-6.d:
1950 New test.
1951 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-4.d:
1952 New test.
1953 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-6.d:
1954 New test.
1955 * testsuite/gas/mips/mips16-pcrel-1.l: Adjust line numbers.
1956 * testsuite/gas/mips/mips16-pcrel-1.s: Adjust for alignment
1957 preservation between MIPS16 and MIPS16e2 code.
1958 * testsuite/gas/mips/mips.exp: Run MIPS16 relaxation tests over
1959 all MIPS16 architectures.
1960
3f3467ff
MR
19612017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1962
1963 * testsuite/gas/mips/mips16e2.d: New test.
1964 * testsuite/gas/mips/mips16e2-mt.d: New test.
1965 * testsuite/gas/mips/mips16e2-sub.d: New test.
1966 * testsuite/gas/mips/mips16e2@mips16e2-sub.d: New test.
1967 * testsuite/gas/mips/mips16e2-mt-sub.d: New test.
1968 * testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: New test.
1969 * testsuite/gas/mips/mips16e2-hilo.d: New test.
1970 * testsuite/gas/mips/mips16e2-hilo-n32.d: New test.
1971 * testsuite/gas/mips/mips16e2-reloc-error.d: New test.
1972 * testsuite/gas/mips/mips16e2-imm-error.d: New test.
1973 * testsuite/gas/mips/elf_ase_mips16e2.d: New test.
1974 * testsuite/gas/mips/elf_ase_mips16e2-2.d: New test.
1975 * testsuite/gas/mips/elf-rel9-mips16e2.d: New test.
1976 * testsuite/gas/mips/mips16e2-lui.d: New test.
1977 * testsuite/gas/mips/mips16e2@mips32r2-sync.d: New test.
1978 * testsuite/gas/mips/mips16e2@mips32r2-sync-1.d: New test.
1979 * testsuite/gas/mips/mips16e2@lui-2.d: New test.
1980 * testsuite/gas/mips/mips16e2-reloc-error.l: New stderr output.
1981 * testsuite/gas/mips/mips16e2-imm-error.l: New stderr output.
1982 * testsuite/gas/mips/mips16e2@lui-2.l: New stderr output.
1983 * testsuite/gas/mips/mips16e2.s: New test source.
1984 * testsuite/gas/mips/mips16e2-mt.s: New test source.
1985 * testsuite/gas/mips/mips16e2-sub.s: New test source.
1986 * testsuite/gas/mips/mips16e2-mt-sub.s: New test source.
1987 * testsuite/gas/mips/mips16e2-hilo.s: New test source.
1988 * testsuite/gas/mips/mips16e2-reloc-error.s: New test source.
1989 * testsuite/gas/mips/mips16e2-imm-error.s: New test source.
1990 * testsuite/gas/mips/elf-rel9-mips16e2.s: New test source.
1991 * testsuite/gas/mips/mips16e2-lui.s: New test source.
1992 * testsuite/gas/mips/mips.exp: Expand `mips32r2-sync',
1993 `mips32r2-sync-1', `lui-1' and `lui-2' tests across MIPS16e2
1994 architectures. Run the new tests.
1995
70ab592f
MR
19962017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1997
1998 * testsuite/gas/mips/mips.exp (run_dump_test_arch): Add
1999 `mips16e2@' prefix.
2000 (run_list_test_arch): Likewise.
2001 (mips16e2-32, mips16e2-64): New architectures.
2002 * testsuite/gas/mips/mips16e2-32@mips16-macro.d: New test.
2003 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.d: New test.
2004 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.d: New test.
2005 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.d: New test.
2006 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.d: New test.
2007 * testsuite/gas/mips/mips16e2-32@mips16e-64.d: New test.
2008 * testsuite/gas/mips/mips16e2-32@mips16-sub.d: New test.
2009 * testsuite/gas/mips/mips16e2-32@mips16e-64-sub.d: New test.
2010 * testsuite/gas/mips/mips16e2@relax-swap3.d: New test.
2011 * testsuite/gas/mips/mips16-32@mips16-asmacro.d: Remove `source'
2012 tag. Add `-I$srcdir/$subdir' to `as' flags.
2013 * testsuite/gas/mips/mips16-64@mips16-asmacro.d: Likewise.
2014 * testsuite/gas/mips/mips16e2-32@mips16-macro.l: New stderr
2015 output.
2016 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.l: New stderr
2017 output.
2018 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.l: New stderr
2019 output.
2020 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.l: New stderr
2021 output.
2022 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.l: New stderr
2023 output.
2024 * testsuite/gas/mips/mips16-sub.s: Add `.set nomips16e2'.
2025 * testsuite/gas/mips/mips16e-sub.s: Likewise.
2026 * testsuite/gas/mips/mips16e-64-sub.s: Likewise.
2027 * testsuite/gas/mips/mips16-asmacro.s: Remove `.set mips32'.
2028 * testsuite/gas/mips/mips16-32@mips16-asmacro.s: New test
2029 source.
2030 * testsuite/gas/mips/mips16-64@mips16-asmacro.s: New test
2031 source.
2032
25499ac7
MR
20332017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2034 Matthew Fortune <matthew.fortune@imgtec.com>
2035 Andrew Bennett <andrew.bennett@imgtec.com>
2036
2037 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `e2' flag.
2038 (RELAX_MIPS16_E2): New macro.
2039 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO)
2040 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
2041 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
2042 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
2043 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
2044 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
2045 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED, RELAX_MIPS16_MACRO)
2046 (RELAX_MIPS16_MARK_MACRO, RELAX_MIPS16_CLEAR_MACRO): Shift bits.
2047 (mips16_immed_extend): New prototype.
2048 (options): Add OPTION_MIPS16E2 and OPTION_NO_MIPS16E2 enum
2049 values.
2050 (md_longopts): Add "mmips16e2" and "mno-mips16e2" options.
2051 (mips_ases): Add "mips16e2" entry.
2052 (mips_set_ase): Handle MIPS16e2 ASE.
2053 (insn_insert_operand): Explicitly handle immediates with MIPS16
2054 instructions that require 32-bit encoding.
2055 (is_opcode_valid_16): Pass enabled ASE bitmask on to
2056 `opcode_is_member'.
2057 (validate_mips_insn): Explicitly handle immediates with MIPS16
2058 instructions that require 32-bit encoding.
2059 (operand_reg_mask) <OP_REG28>: Add handler.
2060 (match_reg28_operand): New function.
2061 (match_operand) <OP_REG28>: Add handler.
2062 (append_insn): Pass ASE_MIPS16E2 setting to RELAX_MIPS16_ENCODE.
2063 (match_mips16_insn): Handle MIPS16 instructions that require
2064 32-bit encoding and `V' and `u' operand codes.
2065 (mips16_ip): Allow any characters except from `.' in opcodes.
2066 (mips16_immed_extend): Handle 9-bit immediates. Do not shuffle
2067 immediates whose width is not one of these listed.
2068 (md_estimate_size_before_relax): Handle MIPS16e2 relaxation.
2069 (mips_relax_frag): Likewise.
2070 (md_convert_frag): Likewise.
2071 (mips_convert_ase_flags): Handle MIPS16e2 ASE.
2072
2073 * doc/as.texinfo (Target MIPS options): Add `-mmips16e2' and
2074 `-mno-mips16e2' options.
2075 (-mmips16e2, -mno-mips16e2): New options.
2076 * doc/c-mips.texi (MIPS Options): Add `-mmips16e2' and
2077 `-mno-mips16e2' options.
2078 (MIPS ASE Instruction Generation Overrides): Add `.set mips16e2'
2079 and `.set nomips16e2'.
2080
20c59b84
MR
20812017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2082
2083 * config/tc-mips.c (match_int_operand): Call
2084 `match_out_of_range' before returning failure for 0x8000-0xffff
2085 values conditionally allowed.
2086
602b88e3
MR
20872017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2088
2089 * config/tc-mips.c (match_int_operand): Call
2090 `match_not_constant' before returning failure for a non-constant
2091 16-bit immediate conditionally allowed.
2092
c96425c5
MR
20932017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2094
2095 * config/tc-mips.c (match_const_int): Call `match_out_of_range'
2096 rather than `match_not_constant' for unrelocated operands
2097 retrieved as an `O_big' expression.
2098 (match_int_operand): Call `match_out_of_range' for relocatable
2099 operands retrieved as an `O_big' expression.
2100 (match_mips16_insn): Call `match_out_of_range' for relaxable
2101 operands retrieved as an `O_big' expression.
2102 * testsuite/gas/mips/addiu-error.d: New test.
2103 * testsuite/gas/mips/mips16@addiu-error.d: New test.
2104 * testsuite/gas/mips/micromips@addiu-error.d: New test.
2105 * testsuite/gas/mips/break-error.d: New test.
2106 * testsuite/gas/mips/lui-1.l: Adjust error message.
2107 * testsuite/gas/mips/addiu-error.l: New stderr output.
2108 * testsuite/gas/mips/mips16@addiu-error.l: New stderr output.
2109 * testsuite/gas/mips/micromips@addiu-error.l: New stderr output.
2110 * testsuite/gas/mips/break-error.l: New stderr output.
2111 * testsuite/gas/mips/addiu-error.s: New test source.
2112 * testsuite/gas/mips/break-error.s: New test source.
2113 * testsuite/gas/mips/mips.exp: Run the new tests.
2114
1a7bf198
MR
21152017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2116
2117 * config/tc-mips.c (match_mips16_insn): Remove the explicit
2118 OT_INTEGER check before the `match_expression' call.
2119 * testsuite/gas/mips/mips16-insn-e.l: Adjust messages.
2120 * testsuite/gas/mips/mips16-32@mips16-insn-e.l: Likewise.
2121 * testsuite/gas/mips/mips16-64@mips16-insn-e.l: Likewise.
2122 * testsuite/gas/mips/mips16e-32@mips16-insn-e.l: Likewise.
2123 * testsuite/gas/mips/mips16-reg-error.d: New test.
2124 * testsuite/gas/mips/mips16-reg-error.l: New stderr output.
2125 * testsuite/gas/mips/mips16-reg-error.s: New test source.
2126 * testsuite/gas/mips/mips.exp: Run the new test.
2127
e295202f
MR
21282017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2129
2130 * config/tc-mips.c (match_mips16_insn): Call
2131 `match_not_constant' for a disallowed relocation operation.
2132 * testsuite/gas/mips/mips16-reloc-error.d: New test.
2133 * testsuite/gas/mips/mips16-reloc-error.l: New stderr output.
2134 * testsuite/gas/mips/mips16-reloc-error.s: New test source.
2135 * testsuite/gas/mips/mips.exp: Run the new test.
2136
c76081bc
MR
21372017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2138
2139 * testsuite/gas/mips/lui-1.d: New test.
2140 * testsuite/gas/mips/lui-2.d: New test.
2141 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
2142 into the new tests.
2143
a54d5f8b
MR
21442017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2145
2146 * config/tc-mips.c (match_const_int): Update description.
2147
32035f51
MR
21482017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2149
2150 * doc/as.texinfo (-mips16, -no-mips16): Refer to `.module
2151 mips16' rather than `.set mips16'.
2152 (-mmicromips, -mno-micromips): Refer to `.module micromips' and
2153 `.module nomicromips' rather than `.set micromips' and `.set
2154 nomicromips'.
2155 (-msmartmips, -mno-smartmips): Refer to `.module smartmips'
2156 rather than `.set smartmips'.
2157 * doc/c-mips.texi (MIPS Options): Refer to `.module mips16',
2158 `.module micromips', `.module nomicromips' and `.module
2159 smartmips' rather than `.set mips16', `.set micromips', `.set
2160 nomicromips' and `.set smartmips' respectively.
2161
be3f1006
MR
21622017-05-12 Maciej W. Rozycki <macro@imgtec.com>
2163 Matthew Fortune <matthew.fortune@imgtec.com>
2164
2165 * config/tc-mips.c (mips_percent_op): Add "%gprel".
2166 (mips16_percent_op): Add "%gp_rel".
2167 * testsuite/gas/mips/elf-rel8.s:: Add `%gprel' forms.
2168 * testsuite/gas/mips/elf-rel8-mips16.s: Add `%gp_rel' forms.
2169 * testsuite/gas/mips/elf-rel8.d: Adjust accordingly.
2170 * testsuite/gas/mips/elf-rel8-mips16.d: Likewise.
2171
a4f89915
MR
21722017-05-12 Maciej W. Rozycki <macro@imgtec.com>
2173
2174 * testsuite/gas/mips/mips16.d: Adjust BREAK disassembly.
2175 * testsuite/gas/mips/mips16-64@mips16.d: Likewise.
2176 * testsuite/gas/mips/mips16-64.d: Likewise.
2177 * testsuite/gas/mips/mips16-64@mips16-64.d: Likewise.
2178 * testsuite/gas/mips/mips16-macro.d: Likewise.
2179 * testsuite/gas/mips/mips16-64@mips16-macro.d: Likewise.
2180 * testsuite/gas/mips/mips16-sub.d: Likewise.
2181 * testsuite/gas/mips/mips16-32@mips16-sub.d: Likewise.
2182
99e2d67a
MR
21832017-05-11 Maciej W. Rozycki <macro@imgtec.com>
2184
2185 * testsuite/gas/mips/mips32r2-sync-1.d: New test.
2186 * testsuite/gas/mips/micromips@mips32r2-sync-1.d: New test.
2187 * testsuite/gas/mips/mips.exp: Run the new tests.
2188
7f401e84
MR
21892017-05-10 Maciej W. Rozycki <macro@imgtec.com>
2190
2191 * testsuite/gas/mips/isa-override-2.d: New test.
2192 * testsuite/gas/mips/mips1@isa-override-2.d: New test.
2193 * testsuite/gas/mips/r3000@isa-override-2.d: New test.
2194 * testsuite/gas/mips/r3900@isa-override-2.d: New test.
2195 * testsuite/gas/mips/mips2@isa-override-2.d: New test.
2196 * testsuite/gas/mips/mips32@isa-override-2.d: New test.
2197 * testsuite/gas/mips/mips32r2@isa-override-2.d: New test.
2198 * testsuite/gas/mips/mips32r3@isa-override-2.d: New test.
2199 * testsuite/gas/mips/mips32r5@isa-override-2.d: New test.
2200 * testsuite/gas/mips/mips32r6@isa-override-2.d: New test.
2201 * testsuite/gas/mips/octeon3@isa-override-2.d: New test.
2202 * testsuite/gas/mips/r3000@isa-override-2.l: Remove list test.
2203 * testsuite/gas/mips/mips1@isa-override-2.s: Remove test source.
2204 * testsuite/gas/mips/r3000@isa-override-2.s: Remove test source.
2205 * testsuite/gas/mips/r3900@isa-override-2.s: Remove test source.
2206 * testsuite/gas/mips/mips2@isa-override-2.s: Remove test source.
2207 * testsuite/gas/mips/mips32@isa-override-2.s: Remove test
2208 source.
2209 * testsuite/gas/mips/mips32r2@isa-override-2.s: Remove test
2210 source.
2211 * testsuite/gas/mips/mips32r3@isa-override-2.s: Remove test
2212 source.
2213 * testsuite/gas/mips/mips32r5@isa-override-2.s: Remove test
2214 source.
2215 * testsuite/gas/mips/mips32r6@isa-override-2.s: Remove test
2216 source.
2217 * testsuite/gas/mips/octeon3@isa-override-2.s: Remove test
2218 source.
2219 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
2220 into the new tests.
2221
9fc18134
MR
22222017-05-10 Maciej W. Rozycki <macro@imgtec.com>
2223
2224 * testsuite/gas/mips/mips16e-sub.d: Correct test name.
2225 * testsuite/gas/mips/mips16-32@mips16e-sub.d: Likewise.
2226 * testsuite/gas/mips/mips16-64@mips16e-sub.d: Likewise.
2227 * testsuite/gas/mips/mips16e-64-sub.d: Likewise.
2228 * testsuite/gas/mips/mips16-32@mips16e-64-sub.d: Likewise.
2229 * testsuite/gas/mips/mips16-64@mips16e-64-sub.d: Likewise.
2230 * testsuite/gas/mips/mips16e-32@mips16e-64-sub.d: Likewise.
2231
f78c0b91
MR
22322017-05-10 Maciej W. Rozycki <macro@imgtec.com>
2233
2234 * testsuite/gas/mips/mips16-macro.l: Remove list test.
2235
58667758
MR
22362017-05-10 Maciej W. Rozycki <macro@imgtec.com>
2237
2238 * testsuite/gas/mips/r3900@ecoff@ld.d: Remove test.
2239 * testsuite/gas/mips/mips2@ecoff@ld.d: Remove test.
2240 * testsuite/gas/mips/mips32@ecoff@ld.d: Remove test.
2241 * testsuite/gas/mips/mips32r2@ecoff@ld.d: Remove test.
2242 * testsuite/gas/mips/r3900@ecoff@ld-forward.d: Remove test.
2243 * testsuite/gas/mips/mips2@ecoff@ld-forward.d: Remove test.
2244 * testsuite/gas/mips/mips32@ecoff@ld-forward.d: Remove test.
2245 * testsuite/gas/mips/mips32r2@ecoff@ld-forward.d: Remove test.
2246 * testsuite/gas/mips/mips1@ecoff@sd.d: Remove test.
2247 * testsuite/gas/mips/r3000@ecoff@sd.d: Remove test.
2248 * testsuite/gas/mips/r3900@ecoff@sd.d: Remove test.
2249 * testsuite/gas/mips/mips2@ecoff@sd.d: Remove test.
2250 * testsuite/gas/mips/mips32@ecoff@sd.d: Remove test.
2251 * testsuite/gas/mips/mips32r2@ecoff@sd.d: Remove test.
2252 * testsuite/gas/mips/mips1@ecoff@sd-forward.d: Remove test.
2253 * testsuite/gas/mips/r3000@ecoff@sd-forward.d: Remove test.
2254 * testsuite/gas/mips/r3900@ecoff@sd-forward.d: Remove test.
2255 * testsuite/gas/mips/mips2@ecoff@sd-forward.d: Remove test.
2256 * testsuite/gas/mips/mips32@ecoff@sd-forward.d: Remove test.
2257 * testsuite/gas/mips/mips32r2@ecoff@sd-forward.d: Remove test.
2258
53a346d8
CZ
22592017-05-10 Claudiu Zissulescu <claziss@synopsys.com>
2260
2261 * testsuite/gas/arc/attr-arc600.d: New file.
2262 * testsuite/gas/arc/attr-arc600_mul32x16.d: Likewise.
2263 * testsuite/gas/arc/attr-arc600_norm.d: Likewise.
2264 * testsuite/gas/arc/attr-arc601.d: Likewise.
2265 * testsuite/gas/arc/attr-arc601_mul32x16.d: Likewise.
2266 * testsuite/gas/arc/attr-arc601_mul64.d: Likewise.
2267 * testsuite/gas/arc/attr-arc601_norm.d: Likewise.
2268 * testsuite/gas/arc/attr-arc700.d: Likewise.
2269 * testsuite/gas/arc/attr-arcem.d: Likewise.
2270 * testsuite/gas/arc/attr-archs.d: Likewise.
2271 * testsuite/gas/arc/attr-autodetect-1.d: Likewise.
2272 * testsuite/gas/arc/attr-autodetect-1.s: Likewise.
2273 * testsuite/gas/arc/attr-cpu-a601.d: Likewise.
2274 * testsuite/gas/arc/attr-cpu-a601.s: Likewise.
2275 * testsuite/gas/arc/attr-cpu-a700.d: Likewise.
2276 * testsuite/gas/arc/attr-cpu-a700.s: Likewise.
2277 * testsuite/gas/arc/attr-cpu-em.d: Likewise.
2278 * testsuite/gas/arc/attr-cpu-em.s: Likewise.
2279 * testsuite/gas/arc/attr-cpu-hs.d: Likewise.
2280 * testsuite/gas/arc/attr-cpu-hs.s: Likewise.
2281 * testsuite/gas/arc/attr-em.d: Likewise.
2282 * testsuite/gas/arc/attr-em4.d: Likewise.
2283 * testsuite/gas/arc/attr-em4_dmips.d: Likewise.
2284 * testsuite/gas/arc/attr-em4_fpuda.d: Likewise.
2285 * testsuite/gas/arc/attr-em4_fpus.d: Likewise.
2286 * testsuite/gas/arc/attr-hs.d: Likewise.
2287 * testsuite/gas/arc/attr-hs34.d: Likewise.
2288 * testsuite/gas/arc/attr-hs38.d: Likewise.
2289 * testsuite/gas/arc/attr-hs38_linux.d: Likewise.
2290 * testsuite/gas/arc/attr-mul64.d: Likewise.
2291 * testsuite/gas/arc/attr-name.d: Likewise.
2292 * testsuite/gas/arc/attr-name.s: Likewise.
2293 * testsuite/gas/arc/attr-nps400.d: Likewise.
2294 * testsuite/gas/arc/attr-override-mcpu.d: Likewise.
2295 * testsuite/gas/arc/attr-override-mcpu.s
2296 * testsuite/gas/arc/attr-quarkse_em.d: Likewise.
2297 * testsuite/gas/arc/blank.s: Likewise.
2298 * testsuite/gas/elf/section2.e-arc: Likewise.
2299 * testsuite/gas/arc/cpu-pseudop-1.d: Update test.
2300 * testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
2301 * testsuite/gas/arc/nps400-0.d: Likewise.
2302 * testsuite/gas/elf/elf.exp: Set target_machine for ARC.
2303 * config/tc-arc.c (opcode/arc-attrs.h): Include.
2304 (ARC_GET_FLAG, ARC_SET_FLAG, streq): Define.
2305 (arc_attribute): Declare new function.
2306 (md_pseudo_table): Add arc_attribute.
2307 (cpu_types): Rename default cpu features.
2308 (selected_cpu): Set the default OSABI flag.
2309 (mpy_option): New variable.
2310 (pic_option): Likewise.
2311 (sda_option): Likewise.
2312 (tls_option): Likewise.
2313 (feature_type, feature_list): Remove.
2314 (arc_initial_eflag): Likewise.
2315 (attributes_set_explicitly): New variable.
2316 (arc_check_feature): Check also for the conflicting features.
2317 (arc_select_cpu): Refactor assignment of selected_cpu.eflags.
2318 (arc_option): Remove setting of private flags and architecture.
2319 (check_cpu_feature): Refactor feature names.
2320 (autodetect_attributes): New function.
2321 (assemble_tokens): Use above function.
2322 (md_parse_option): Refactor feature names.
2323 (arc_attribute): New function.
2324 (arc_set_attribute_int): Likewise.
2325 (arc_set_attribute_string): Likewise.
2326 (arc_stralloc): Likewise.
2327 (arc_set_public_attributes): Likewise.
2328 (arc_md_end): Likewise.
2329 (arc_copy_symbol_attributes): Likewise.
2330 (rc_convert_symbolic_attribute): Likewise.
2331 * config/tc-arc.h (md_end): Define.
2332 (CONVERT_SYMBOLIC_ATTRIBUTE): Likewise.
2333 (TC_COPY_SYMBOL_ATTRIBUTES): Likewise.
2334 * doc/c-arc.texi: Document ARC object attributes.
2335
8507b6e7
MR
23362017-05-03 Maciej W. Rozycki <macro@imgtec.com>
2337
2338 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `pic', `sym32' and
2339 `nomacro' flags.
2340 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO):
2341 New macros.
2342 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
2343 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
2344 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
2345 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
2346 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
2347 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): Shift bits.
2348 (RELAX_MIPS16_MACRO, RELAX_MIPS16_MARK_MACRO)
2349 (RELAX_MIPS16_CLEAR_MACRO): New macros.
2350 (append_insn): Pass `mips_pic', HAVE_32BIT_SYMBOLS and
2351 `mips_opts.warn_about_macros' settings to RELAX_MIPS16_ENCODE.
2352 (mips16_macro_frag): New function.
2353 (md_estimate_size_before_relax): Handle HI16/LO16 relaxation.
2354 (mips_relax_frag): Likewise.
2355 (md_convert_frag): Likewise.
2356
2357 * testsuite/gas/mips/mips16@relax-swap3.d: Remove error output,
2358 add dump patterns.
2359 * testsuite/gas/mips/mips16e@relax-swap3.d: New test
2360 subarchitecture.
2361 * testsuite/gas/mips/micromips@relax-swap3.d: Remove trailing
2362 NOP padding.
2363 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: Remove error
2364 output, add dump patterns.
2365 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: Remove error
2366 output, add dump patterns.
2367 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Remove error
2368 output, add dump patterns.
2369 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Remove error
2370 output, add dump patterns.
2371 * testsuite/gas/mips/mips16-pcrel-addend-2.d: Remove error
2372 output, add dump patterns.
2373 * testsuite/gas/mips/mips16-pcrel-addend-3.d: Remove error
2374 output, add dump patterns.
2375 * testsuite/gas/mips/mips16-pcrel-absolute.d: Remove error
2376 output, add dump patterns.
2377 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: Remove error
2378 output, add dump patterns.
2379 * testsuite/gas/mips/mips16@relax-swap3.l: Remove file.
2380 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: Remove file.
2381 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: Remove file.
2382 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: Remove file.
2383 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: Remove file.
2384 * testsuite/gas/mips/mips16-pcrel-addend-2.l: Remove file.
2385 * testsuite/gas/mips/mips16-pcrel-addend-3.l: Remove file.
2386 * testsuite/gas/mips/mips16-pcrel-absolute.l: Remove file.
2387 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: Remove file.
2388 * testsuite/gas/mips/relax-swap3.s: Adjust trailing padding.
2389
2390 * testsuite/gas/mips/mips16-pcrel-0.d: New test.
2391 * testsuite/gas/mips/mips16-pcrel-1.d: New test.
2392 * testsuite/gas/mips/mips16-pcrel-2.d: New test.
2393 * testsuite/gas/mips/mips16-pcrel-3.d: New test.
2394 * testsuite/gas/mips/mips16-pcrel-4.d: New test.
2395 * testsuite/gas/mips/mips16-pcrel-5.d: New test.
2396 * testsuite/gas/mips/mips16-pcrel-pic-0.d: New test.
2397 * testsuite/gas/mips/mips16-pcrel-pic-1.d: New test.
2398 * testsuite/gas/mips/mips16-pcrel-n32-0.d: New test.
2399 * testsuite/gas/mips/mips16-pcrel-n32-1.d: New test.
2400 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: New test.
2401 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: New test.
2402 * testsuite/gas/mips/mips16-pcrel-n64-0.d: New test.
2403 * testsuite/gas/mips/mips16-pcrel-n64-1.d: New test.
2404 * testsuite/gas/mips/mips16-pcrel-delay-0.d: New test.
2405 * testsuite/gas/mips/mips16-pcrel-delay-1.d: New test.
2406 * testsuite/gas/mips/mips16-pcrel-addend-4.d: New test.
2407 * testsuite/gas/mips/mips16-pcrel-addend-5.d: New test.
2408 * testsuite/gas/mips/mips16-pcrel-addend-6.d: New test.
2409 * testsuite/gas/mips/mips16-pcrel-addend-7.d: New test.
2410 * testsuite/gas/mips/mips16-pcrel-addend-8.d: New test.
2411 * testsuite/gas/mips/mips16-pcrel-addend-9.d: New test.
2412 * testsuite/gas/mips/mips16-pcrel-addend-pic-8.d: New test.
2413 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: New test.
2414 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: New test.
2415 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: New test.
2416 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d: New test.
2417 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d: New test.
2418 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: New test.
2419 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: New test.
2420 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: New test.
2421 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: New test.
2422 * testsuite/gas/mips/mips16-pcrel-absolute-4.d: New test.
2423 * testsuite/gas/mips/mips16-pcrel-absolute-5.d: New test.
2424 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: New test.
2425 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: New test.
2426 * testsuite/gas/mips/mips16-pcrel-absolute-pic-4.d: New test.
2427 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: New test.
2428 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: New test.
2429 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: New test.
2430 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: New test.
2431 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: New test.
2432 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d: New
2433 test.
2434 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d: New
2435 test.
2436 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d: New
2437 test.
2438 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d: New
2439 test.
2440 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d: New
2441 test.
2442 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d: New
2443 test.
2444 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
2445 New test.
2446 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
2447 New test.
2448 * testsuite/gas/mips/mips16-pcrel-0.l: New stderr output.
2449 * testsuite/gas/mips/mips16-pcrel-1.l: New stderr output.
2450 * testsuite/gas/mips/mips16-pcrel-2.l: New stderr output.
2451 * testsuite/gas/mips/mips16-pcrel-3.l: New stderr output.
2452 * testsuite/gas/mips/mips16-pcrel-4.l: New stderr output.
2453 * testsuite/gas/mips/mips16-pcrel-5.l: New stderr output.
2454 * testsuite/gas/mips/mips16-pcrel-delay-0.l: New stderr output.
2455 * testsuite/gas/mips/mips16-pcrel-delay-1.l: New stderr output.
2456 * testsuite/gas/mips/mips16-pcrel-addend-8.l: New stderr output.
2457 * testsuite/gas/mips/mips16-pcrel-addend-9.l: New stderr output.
2458 * testsuite/gas/mips/mips16-pcrel-absolute-4.l: New stderr
2459 output.
2460 * testsuite/gas/mips/mips16-pcrel-absolute-6.l: New stderr
2461 output.
2462 * testsuite/gas/mips/mips16-pcrel-0.s: New test source.
2463 * testsuite/gas/mips/mips16-pcrel-1.s: New test source.
2464 * testsuite/gas/mips/mips16-pcrel-2.s: New test source.
2465 * testsuite/gas/mips/mips16-pcrel-3.s: New test source.
2466 * testsuite/gas/mips/mips16-pcrel-4.s: New test source.
2467 * testsuite/gas/mips/mips16-pcrel-5.s: New test source.
2468 * testsuite/gas/mips/mips16-pcrel-delay-0.s: New test source.
2469 * testsuite/gas/mips/mips16-pcrel-delay-1.s: New test source.
2470 * testsuite/gas/mips/mips16-pcrel-addend-4.s: New test source.
2471 * testsuite/gas/mips/mips16-pcrel-addend-5.s: New test source.
2472 * testsuite/gas/mips/mips16-pcrel-addend-6.s: New test source.
2473 * testsuite/gas/mips/mips16-pcrel-addend-7.s: New test source.
2474 * testsuite/gas/mips/mips16-pcrel-addend-8.s: New test source.
2475 * testsuite/gas/mips/mips16-pcrel-addend-9.s: New test source.
2476 * testsuite/gas/mips/mips16-pcrel-absolute-2.s: New test.
2477 * testsuite/gas/mips/mips16-pcrel-absolute-3.s: New test.
2478 * testsuite/gas/mips/mips16-pcrel-absolute-4.s: New test.
2479 * testsuite/gas/mips/mips16-pcrel-absolute-5.s: New test.
2480 * testsuite/gas/mips/mips16-pcrel-absolute-6.s: New test.
2481 * testsuite/gas/mips/mips16-pcrel-absolute-7.s: New test.
2482 * testsuite/gas/mips/mips.exp: Run the new tests.
2483
e78bb25c
NC
24842017-05-03 Nick Clifton <nickc@redhat.com>
2485
2486 PR gas/20941
2487 * symbols.c (snapshot_symbol): Handle the case where
2488 resolve_expression returns a local symbol.
2489
82d808ed
MR
24902017-05-02 Maciej W. Rozycki <macro@imgtec.com>
2491
2492 * config/tc-mips.c (append_insn): Call `symbol_append' for any
2493 expression symbol created for MIPS16 relaxation.
2494 (match_mips16_insn): Don't encode a constant value as an
2495 immediate with a PC-relative operand.
2496
2497 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: New test.
2498 * testsuite/gas/mips/mips16-branch-absolute-1.d: New test.
2499 * testsuite/gas/mips/mips16-branch-absolute-2.d: New test.
2500 * testsuite/gas/mips/mips16-branch-absolute-addend-1.d: New
2501 test.
2502 * testsuite/gas/mips/mips16-branch-absolute-n32-1.d: New test.
2503 * testsuite/gas/mips/mips16-branch-absolute-n32-2.d: New test.
2504 * testsuite/gas/mips/mips16-branch-absolute-addend-n32-1.d: New
2505 test.
2506 * testsuite/gas/mips/mips16-branch-absolute-n64-1.d: New test.
2507 * testsuite/gas/mips/mips16-branch-absolute-n64-2.d: New test.
2508 * testsuite/gas/mips/mips16-branch-absolute-addend-n64-1.d: New
2509 test.
2510 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: New stderr
2511 output.
2512 * testsuite/gas/mips/mips16-pcrel-absolute-1.s: New test source.
2513 * testsuite/gas/mips/mips16-branch-absolute-1.s: New test
2514 source.
2515 * testsuite/gas/mips/mips16-branch-absolute-2.s: New test
2516 source.
2517 * testsuite/gas/mips/mips16-branch-absolute-addend-1.s: New test
2518 source.
2519 * testsuite/gas/mips/mips.exp: Run the new tests.
2520
14f72d45
MR
25212017-04-27 Maciej W. Rozycki <macro@imgtec.com>
2522
2523 * config/tc-mips.c (mips16_pcrel_val): New function, factored
2524 out from...
2525 (mips16_extended_frag): ... here.
2526 (md_convert_frag): Use `mips16_pcrel_val' rather than repeated
2527 code in MIPS16 relaxation, with `stretch' hardcoded to 0.
2528
1425c41d
MR
25292017-04-27 Maciej W. Rozycki <macro@imgtec.com>
2530
2531 * config/tc-mips.c (RELAX_MIPS16_LONG_BRANCH): Rename to...
2532 (RELAX_MIPS16_ALWAYS_EXTENDED): ... this.
2533 (RELAX_MIPS16_MARK_LONG_BRANCH): Rename to...
2534 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED): ... this.
2535 (RELAX_MIPS16_CLEAR_LONG_BRANCH): Rename to...
2536 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): ... this.
2537 (mips16_extended_frag): Adjust accordingly.
2538
f2d830a5
AM
25392017-04-27 Alan Modra <amodra@gmail.com>
2540
2541 * symbols.c (S_FORCE_RELOC): Separate section and symbol tests.
2542
ce8ad872
MR
25432017-04-26 Maciej W. Rozycki <macro@imgtec.com>
2544
2545 * config/tc-mips.c (RELAX_ENCODE): Add `PIC' flag.
2546 (RELAX_PIC): New macro.
2547 (RELAX_USE_SECOND, RELAX_SECOND_LONGER, RELAX_NOMACRO)
2548 (RELAX_DELAY_SLOT, RELAX_DELAY_SLOT_16BIT)
2549 (RELAX_DELAY_SLOT_SIZE_FIRST, RELAX_DELAY_SLOT_SIZE_SECOND):
2550 Shift bits.
2551 (RELAX_BRANCH_ENCODE): Add `pic' flag.
2552 (RELAX_BRANCH_UNCOND, RELAX_BRANCH_LIKELY, RELAX_BRANCH_LINK)
2553 (RELAX_BRANCH_TOOFAR): Shift bits.
2554 (RELAX_BRANCH_PIC): New macro.
2555 (RELAX_MICROMIPS_ENCODE): Add `pic' flag.
2556 (RELAX_MICROMIPS_PIC): New macro.
2557 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
2558 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_NODS)
2559 (RELAX_MICROMIPS_RELAX32): Shift bits.
2560 (relax_close_frag): Pass `mips_pic' setting to RELAX_ENCODE.
2561 (append_insn): Pass `mips_pic' setting to RELAX_BRANCH_ENCODE
2562 and RELAX_MICROMIPS_ENCODE, and record it in `fx_tcbit2' of the
2563 first fixup created.
2564 (md_apply_fix) <BFD_RELOC_16_PCREL_S2>: Use `fx_tcbit2' of the
2565 fixup processed rather than `mips_pic' in choosing to relax an
2566 out of range branch to a jump.
2567 (relaxed_branch_length): Use the `pic' flag of the relaxed frag
2568 rather than `mips_pic'.
2569 (relaxed_micromips_32bit_branch_length): Likewise.
2570 (md_estimate_size_before_relax): Likewise.
2571 (md_convert_frag): Likewise.
2572
2573 * testsuite/gas/mips/option-pic-relax-0.d: New test.
2574 * testsuite/gas/mips/option-pic-relax-1.d: New test.
2575 * testsuite/gas/mips/option-pic-relax-2.d: New test.
2576 * testsuite/gas/mips/option-pic-relax-3.d: New test.
2577 * testsuite/gas/mips/option-pic-relax-3a.d: New test.
2578 * testsuite/gas/mips/option-pic-relax-4.d: New test.
2579 * testsuite/gas/mips/option-pic-relax-5.d: New test.
2580 * testsuite/gas/mips/option-pic-relax-2.l: New stderr output.
2581 * testsuite/gas/mips/option-pic-relax-3.l: New stderr output.
2582 * testsuite/gas/mips/option-pic-relax-4.l: New stderr output.
2583 * testsuite/gas/mips/option-pic-relax-5.l: New stderr output.
2584 * testsuite/gas/mips/option-pic-relax-0.s: New test source.
2585 * testsuite/gas/mips/option-pic-relax-1.s: New test source.
2586 * testsuite/gas/mips/option-pic-relax-2.s: New test source.
2587 * testsuite/gas/mips/option-pic-relax-3.s: New test source.
2588 * testsuite/gas/mips/option-pic-relax-4.s: New test source.
2589 * testsuite/gas/mips/option-pic-relax-5.s: New test source.
2590 * testsuite/gas/mips/mips.exp: Run the new tests.
2591
126124cc
CZ
25922017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
2593
2594 * testsuite/gas/arc/leave_enter.d: Update test.
2595 * testsuite/gas/arc/leave_enter.s: Likewise.
2596
be6a24d8
CZ
25972017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
2598
2599 * testsuite/gas/arc/b.d: Update test.
2600 * testsuite/gas/arc/noargs_hs.d: Likewise.
2601
adc1273c
MR
26022017-04-25 Maciej W. Rozycki <macro@imgtec.com>
2603
2604 * config/tc-mips.c (md_convert_frag): Correct
2605 BFD_RELOC_MIPS16_16_PCREL_S1 fixup size.
2606 * testsuite/gas/mips/mips16-branch-addend-4.d: New test.
2607 * testsuite/gas/mips/mips16-branch-addend-5.d: New test.
2608 * testsuite/gas/mips/mips16-branch-addend-5.l: New stderr
2609 output.
2610 * testsuite/gas/mips/mips16-branch-addend-4.s: New test source.
2611 * testsuite/gas/mips/mips16-branch-addend-5.s: New test source.
2612 * testsuite/gas/mips/mips.exp: Run the new tests.
2613
d28b6364
JM
26142017-04-25 Jose E. Marchesi <jose.marchesi@oracle.com>
2615
2616 PR gas/21407
2617 * config/tc-sparc.c (md_apply_fix): Do not transform `call'
2618 instructions into branch instructions in fixups generating
2619 additional relocations.
2620 * testsuite/gas/sparc/call-relax.s: New file.
2621 * testsuite/gas/sparc/call-relax.d: Likewise.
2622 * testsuite/gas/sparc/call-relax-aout.d: Likewise.
2623 * testsuite/gas/sparc/sparc.exp: Test call-relax and call-relax-aout.
2624
53445554
TP
26252017-04-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
2626
2627 * config/tc-arm.c (move_or_literal_pool): Remove code generating MOVS.
2628 Forbid MOV.W and MOVW if destination is SP or PC.
2629 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.s: Explain
2630 expectation of LDR not generating a MOVS for low registers and small
2631 constants. Add tests of MOVW generation.
2632 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Update
2633 expected disassembly.
2634
a8cc8a54
AM
26352017-04-22 Alan Modra <amodra@gmail.com>
2636
2637 * testsuite/gas/ppc/vle.s: Format. Add se_rfgi and e_sc.
2638 * testsuite/gas/ppc/vle.d: Update.
2639
792f174f
NC
26402017-04-21 Nick Clifton <nickc@redhat.com>
2641
2642 PR binutils/21380
2643 * testsuite/gas/aarch64/illegal-3.s: New file.
2644 * testsuite/gas/aarch64/illegal-3.d: New file.
2645
ef85eab0
AM
26462017-04-11 Alan Modra <amodra@gmail.com>
2647
2648 * config/tc-ppc.c (md_show_usage): Delete mention of -mhtm.
2649 * testsuite/gas/ppc/htm.d: Pass -mpower8 and -Mpower8.
2650
947fa914
MF
26512017-04-10 Max Filippov <jcmvbkbc@gmail.com>
2652
2653 * config/tc-xtensa.c (xtensa_maybe_create_literal_pool_frag):
2654 Initialize lps->frag_count with auto_litpool_limit.
2655 (xg_promote_candidate_litpool): New function.
2656 (xtensa_move_literals): Extract candidate litpool promotion code
2657 into separate function. Call it for all possible found
2658 candidates.
2659 (xtensa_switch_to_literal_fragment): Drop 'recursive' flag and
2660 call to xtensa_mark_literal_pool_location that it guards.
2661 Replace it with call to xtensa_maybe_create_literal_pool_frag.
2662 Initialize pool_location with created literal pool candidate.
2663 * testsuite/gas/xtensa/all.exp: Add new tests.
2664 * testsuite/gas/xtensa/auto-litpools-first1.d: New test results.
2665 * testsuite/gas/xtensa/auto-litpools-first1.s: New test.
2666 * testsuite/gas/xtensa/auto-litpools-first2.d: New test results.
2667 * testsuite/gas/xtensa/auto-litpools-first2.s: New test.
2668 * testsuite/gas/xtensa/auto-litpools.d: Fix offsets changed due
2669 to additional jump instruction.
2670
ac8f0f72
AM
26712017-04-07 Alan Modra <amodra@gmail.com>
2672
2673 * testsuite/gas/ppc/altivec2.s: Delete E6500 vector insns.
2674 * testsuite/gas/ppc/altivec2.d: Adjust to suit.
2675
498e3442
AM
26762017-04-07 Alan Modra <amodra@gmail.com>
2677
2678 * testsuite/gas/elf/section12a.d: Don't expect alignment of 1
2679 for .mbind.text.
2680
62ecb94c
PC
26812017-04-06 Pip Cet <pipcet@gmail.com>
2682
2683 * testsuite/gas/wasm32/allinsn.d: Adjust test for disassembler
2684 changes.
2685 * testsuite/gas/wasm32/disass.d: New test.
2686 * testsuite/gas/wasm32/disass.s: New test.
2687 * testsuite/gas/wasm32/disass-2.d: New test.
2688 * testsuite/gas/wasm32/disass-2.s: New test.
2689 * testsuite/gas/wasm32/reloc.d: Adjust test for changed reloc
2690 names.
2691 * testsuite/gas/wasm32/reloc.s: Update test for changed assembler
2692 syntax.
2693 * testsuite/gas/wasm32/wasm32.exp: Run new tests. Expect allinsn
2694 test to succeed.
2695
a91e1603
L
26962017-04-04 H.J. Lu <hongjiu.lu@intel.com>
2697
2698 * NEWS: Mention support for ELF SHF_GNU_MBIND.
2699 * config/obj-elf.c (section_match): New.
2700 (get_section): Match both sh_info and group name.
2701 (obj_elf_change_section): Add argument for sh_info. Pass both
2702 sh_info and group name to get_section. Issue an error for
2703 SHF_GNU_MBIND section without SHF_ALLOC. Set sh_info.
2704 (obj_elf_parse_section_letters): Set SHF_GNU_MBIND for 'd'.
2705 (obj_elf_section): Support SHF_GNU_MBIND section info.
2706 * config/obj-elf.h (obj_elf_change_section): Add argument for
2707 sh_info.
2708 * config/tc-arm.c (start_unwind_section): Pass 0 as sh_info to
2709 obj_elf_change_section.
2710 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
2711 * config/tc-microblaze.c (microblaze_s_data): Likewise.
2712 (microblaze_s_sdata): Likewise.
2713 (microblaze_s_rdata): Likewise.
2714 (microblaze_s_bss): Likewise.
2715 * config/tc-mips.c (s_change_section): Likewise.
2716 * config/tc-msp430.c (msp430_profiler): Likewise.
2717 * config/tc-rx.c (parse_rx_section): Likewise.
2718 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
2719 * doc/as.texinfo: Document 'd' for SHF_GNU_MBIND.
2720 * testsuite/gas/elf/elf.exp: Run section12a, section12b and
2721 section13.
2722 * testsuite/gas/elf/section10.d: Updated.
2723 * testsuite/gas/elf/section10.s: Likewise.
2724 * testsuite/gas/elf/section12.s: New file.
2725 * testsuite/gas/elf/section12a.d: Likewise.
2726 * testsuite/gas/elf/section12b.d: Likewise.
2727 * testsuite/gas/elf/section13.l: Likewise.
2728 * testsuite/gas/elf/section13.d: Likewise.
2729 * testsuite/gas/elf/section13.s: Likewise.
2730
c41cf6fd
PD
27312017-04-03 Palmer Dabbelt <palmer@dabbelt.com>
2732
2733 * config/tc-riscv.c (riscv_clear_subsets): Cast argument to free to
2734 avoid const warnings.
2735
fecb9c46
PD
27362017-03-30 Palmer Dabbelt <palmer@dabbelt.com>
2737
2738 * config/tc-riscv.c (riscv_clear_subsets): New function.
2739 (riscv_add_subset): Call riscv_clear_subsets and riscv_set_rvc to
2740 clear RVC when it's been previously set.
2741
dc1e4d6d
NC
27422017-03-31 Nick Clifton <nickc@redhat.com>
2743
2744 PR gas/21333
2745 * config/tc-s390.c (tc_s390_fix_adjustable): Allow non pc-relative
2746 fixups in mergeable sections to be adjusted.
2747
f96bd6c2
PC
27482017-03-30 Pip Cet <pipcet@gmail.com>
2749
2750 * config/tc-wasm32.h: New file: Add WebAssembly assembler target.
2751 * config/tc-wasm32.c: New file: Add WebAssembly assembler target.
2752 * Makefile.am: Add WebAssembly assembler target.
2753 * configure.tgt: Add WebAssembly assembler target.
2754 * doc/c-wasm32.texi: New file: Start documenting WebAssembly
2755 assembler.
2756 * doc/all.texi: Define WASM32.
2757 * doc/as.texinfo: Add WebAssembly entries.
2758 * NEWS: Mention the new support.
2759 * Makefile.in: Regenerate.
2760 * po/gas.pot: Regenerate.
2761 * po/POTFILES.in: Regenerate.
2762 * testsuite/gas/wasm32: New directory.
2763 * testsuite/gas/wasm32/allinsn.d: New file.
2764 * testsuite/gas/wasm32/allinsn.s: New file.
2765 * testsuite/gas/wasm32/illegal.l: New file.
2766 * testsuite/gas/wasm32/illegal.s: New file.
2767 * testsuite/gas/wasm32/illegal-2.l: New file.
2768 * testsuite/gas/wasm32/illegal-2.s: New file.
2769 * testsuite/gas/wasm32/illegal-3.l: New file.
2770 * testsuite/gas/wasm32/illegal-3.s: New file.
2771 * testsuite/gas/wasm32/illegal-4.l: New file.
2772 * testsuite/gas/wasm32/illegal-4.s: New file.
2773 * testsuite/gas/wasm32/illegal-5.l: New file.
2774 * testsuite/gas/wasm32/illegal-5.s: New file.
2775 * testsuite/gas/wasm32/illegal-6.l: New file.
2776 * testsuite/gas/wasm32/illegal-6.s: New file.
2777 * testsuite/gas/wasm32/illegal-7.l: New file.
2778 * testsuite/gas/wasm32/illegal-7.s: New file.
2779 * testsuite/gas/wasm32/illegal-8.l: New file.
2780 * testsuite/gas/wasm32/illegal-8.s: New file.
2781 * testsuite/gas/wasm32/illegal-9.l: New file.
2782 * testsuite/gas/wasm32/illegal-9.s: New file.
2783 * testsuite/gas/wasm32/illegal-10.l: New file.
2784 * testsuite/gas/wasm32/illegal-10.s: New file.
2785 * testsuite/gas/wasm32/illegal-11.l: New file.
2786 * testsuite/gas/wasm32/illegal-11.s: New file.
2787 * testsuite/gas/wasm32/illegal-12.l: New file.
2788 * testsuite/gas/wasm32/illegal-12.s: New file.
2789 * testsuite/gas/wasm32/illegal-13.l: New file.
2790 * testsuite/gas/wasm32/illegal-13.s: New file.
2791 * testsuite/gas/wasm32/illegal-14.l: New file.
2792 * testsuite/gas/wasm32/illegal-14.s: New file.
2793 * testsuite/gas/wasm32/illegal-15.l: New file.
2794 * testsuite/gas/wasm32/illegal-15.s: New file.
2795 * testsuite/gas/wasm32/illegal-16.l: New file.
2796 * testsuite/gas/wasm32/illegal-16.s: New file.
2797 * testsuite/gas/wasm32/illegal-17.l: New file.
2798 * testsuite/gas/wasm32/illegal-17.s: New file.
2799 * testsuite/gas/wasm32/illegal-18.l: New file.
2800 * testsuite/gas/wasm32/illegal-18.s: New file.
2801 * testsuite/gas/wasm32/illegal-19.l: New file.
2802 * testsuite/gas/wasm32/illegal-19.s: New file.
2803 * testsuite/gas/wasm32/illegal-20.l: New file.
2804 * testsuite/gas/wasm32/illegal-20.s: New file.
2805 * testsuite/gas/wasm32/illegal-21.l: New file.
2806 * testsuite/gas/wasm32/illegal-21.s: New file.
2807 * testsuite/gas/wasm32/illegal-22.l: New file.
2808 * testsuite/gas/wasm32/illegal-22.s: New file.
2809 * testsuite/gas/wasm32/illegal-24.l: New file.
2810 * testsuite/gas/wasm32/illegal-24.s: New file.
2811 * testsuite/gas/wasm32/illegal-25.l: New file.
2812 * testsuite/gas/wasm32/illegal-25.s: New file.
2813 * testsuite/gas/wasm32/reloc.d: New file.
2814 * testsuite/gas/wasm32/reloc.s: New file.
2815 * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly
2816 architecture.
2817
52be03fd
AM
28182017-03-29 Alan Modra <amodra@gmail.com>
2819
2820 * config/tc-ppc.c (md_parse_option): Reject -mraw.
2821
9b753937
AM
28222017-03-27 Alan Modra <amodra@gmail.com>
2823
2824 PR 21303
2825 * testsuite/gas/ppc/pr21303.d,
2826 * testsuite/gas/ppc/pr21303.s: New test
2827 * testsuite/gas/ppc/ppc.exp: Run it.
2828
c0c31e91
RZ
28292017-03-27 Rinat Zelig <rinat@mellanox.com>
2830
2831 * testsuite/gas/arc/nps400-12.s: New file.
2832 * testsuite/gas/arc/nps400-12.d: New file.
2833
62785b09
TP
28342017-03-24 Thomas preud'homme <thomas.preudhomme@arm.com>
2835
2836 * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
2837 CPU_DEFAULT is defined.
2838
19683c04
PD
28392017-03-21 Palmer Dabbbelt <palmer@dabbelt.com>
2840
2841 * config/tc-riscv.c (md_show_usage): Remode defuct -m32, -m64,
2842 -msoft-float, -mhard-float, -mno-rvc, and -mrvc options; and don't
2843 print an invalid default ISA string.
2844 * doc/c-riscv.texi (OPTIONS): Add -fpic and -fno-pic options.
2845
24e5b4e6
MF
28462017-03-22 Max Filippov <jcmvbkbc@gmail.com>
2847
2848 * config/tc-xtensa.c (xtensa_relax_frag): Change fx_size of the
2849 reassigned fixup to size of jump instruction (3) and fx_r_type
2850 to BFD_RELOC_XTENSA_SLOT0_OP, as there's only one slot.
2851 (add_jump_to_trampoline): Search
2852 origfrag->tc_frag_data.slot_symbols for the slot with non-NULL
2853 symbol and use that slot instead of slot 0.
2854
2253c8f0
AK
28552017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
2856
2857 * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
2858 from cpu_table. Remove vx2, and novx2 from cpu_flags.
2859
645d3342
RZ
28602017-03-21 Rinat Zelig <rinat@mellanox.com>
2861
2862 * testsuite/gas/arc/nps400-11.s: New file.
2863 * testsuite/gas/arc/nps400-11.d: New file.
2864
e406e428
NC
28652017-03-20 Nick Clifton <nickc@redhat.com>
2866
2867 * doc/as.texinfo (2byte): Note that if no expressions are present
2868 the directive does nothing. Emphasize that the output is
2869 unaligned, and that this can have an effect on the relocations
2870 generated.
2871 (4byte): Simplify description. Refer back to the 2byte
2872 description.
2873 (8byte): Likewise.
2874
d5e0ba9c
RE
28752017-03-20 Richard Earnshaw <rearnsha@arm.com>
2876
2877 * config/tc-arm.c (arm_fpus): Note entires that should not be
2878 documented.
2879 * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
2880 neon-fp16. Fix spelling error.
2881
d3375ddd
RE
28822017-03-20 Richard Earnshaw <rearnsha@arm.com>
2883
2884 * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
2885
2c52e2e8
RZ
28862017-03-16 Rinat Zelig <rinat@mellanox.com>
2887
2888 * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
2889 specially for ARCv2.
2890
b416fe87
KC
28912017-03-14 Kito Cheng <kito.cheng@gmail.com>
2892
2893 * config/tc-riscv.c (validate_riscv_insn): Add 'o' RVC immediate
2894 encoding format, which can accept 0-valued immediates.
2895 (riscv_ip): Likewise.
2896
7cb7b948
NC
28972017-03-15 Nick Clifton <nickc@redhat.com>
2898
2899 * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
2900 warning about discarding a const qualifier.
2901
d47c3ff7
KLC
29022017-03-02 Kuan-Lin Chen <rufus@andestech.com>
2903
2904 * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
2905
2aece2ba
KLC
29062017-03-02 Kuan-Lin Chen <rufus@andestech.com>
2907
2908 * config/tc-riscv.c (md_apply_fix): Set fx_frag and
2909 fx_next->fx_frag for CFA_advance_loc relocations.
2910
c1b465c9
KLC
29112017-03-02 Kuan-Lin Chen <rufus@andestech.com>
2912
2913 * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
2914 for CFA relocations.
2915
f955cccf
NC
29162017-03-13 Nick Clifton <nickc@redhat.com>
2917
2918 PR binutils/21202
2919 * config/tc-aarch64.c (reloc_table): Rename
2920 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC to
2921 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12. Rname
2922 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC to
2923 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
2924 (md_apply_fix): Likewise.
2925 (aarch64_force_relocation): Likewise.
2926 * testsuite/gas/aarch64/tls.d: Update regexp.
2927
8b1e5da1
NC
29282017-03-10 Tobin C. Harding <me@tobin.cc>
2929 Nick Clifton <nickc@redhat.com>
2930
2931 * doc/as.texinfo (2byte): Tidy up wording. Add note that
2932 overlarge values will produce a warning message and be trunacted.
2933 (4byte): Likewise.
2934
86fa6981
L
29352017-03-09 H.J. Lu <hongjiu.lu@intel.com>
2936
2937 * config/tc-i386.c (_i386_insn): Add dir_encoding and
2938 vec_encoding. Remove swap_operand and need_vrex.
2939 (extra_symbol_chars): Add '}'.
2940 (md_begin): Mark '}' with LEX_BEGIN_NAME. Allow '}' in
2941 mnemonic.
2942 (build_vex_prefix): Don't use 2-byte VEX encoding with
2943 {vex3}. Check dir_encoding and load.
2944 (parse_insn): Check pseudo prefixes. Set dir_encoding.
2945 (VEX_check_operands): Likewise.
2946 (match_template): Check dir_encoding and load.
2947 (parse_real_register): Set vec_encoding instead of need_vrex.
2948 (parse_register): Likewise.
2949 * doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
2950 {vex2}, {vex3} and {evex}. Remove ".s", ".d8" and ".d32"
2951 * testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
2952 * testsuite/gas/i386/pseudos.d: New file.
2953 * testsuite/gas/i386/pseudos.s: Likewise.
2954 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
2955 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
2956
4b8b687e
PB
29572017-03-08 Peter Bergner <bergner@vnet.ibm.com>
2958
2959 * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
2960 (objdump): Use the -Mpower8 option.
2961
1437d063
PB
29622017-03-08 Peter Bergner <bergner@vnet.ibm.com>
2963
2964 * testsuite/gas/ppc/power9.d <lnia> New test.
2965 * testsuite/gas/ppc/power9.s: Likewise.
2966
ea86f534
AM
29672017-03-07 Alan Modra <amodra@gmail.com>
2968
2969 * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
2970
2b841ec2
AM
29712017-03-07 Tobin C. Harding <me@tobin.cc>
2972 Alan Modra <amodra@gmail.com>
2973
2974 * doc/as.texinfo (2byte, 4byte, 8byte): Document.
2975 * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
2976
603555e5
L
29772017-03-06 H.J. Lu <hongjiu.lu@intel.com>
2978
2979 * config/tc-i386.c (cpu_arch): Add .cet.
2980 * doc/c-i386.texi: Document cet.
2981 * testsuite/gas/i386/cet-intel.d: New file.
2982 * testsuite/gas/i386/cet.d: Likewise.
2983 * testsuite/gas/i386/cet.s: Likewise.
2984 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
2985 * testsuite/gas/i386/x86-64-cet.d: Likewise.
2986 * testsuite/gas/i386/x86-64-cet.s: Likewise.
2987 * testsuite/gas/i386/i386.exp: Run Intel CET tests.
2988
1cccfb31
L
29892017-03-06 H.J. Lu <hongjiu.lu@intel.com>
2990
2991 * testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment.
2992 * testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
2993
ea0de82e
AM
29942017-03-06 Alan Modra <amodra@gmail.com>
2995
2996 * dw2gencfi.c (encoding_size): Return unsigned int.
2997 (emit_expr_encoded): Assert size matches reloc bitsize.
2998 (output_fde): Use unsigned for offset_size and addr_size. Set
2999 addr_size earlier and use in place of constant 4 and uses of
3000 DWARF2_FDE_RELOC_SIZE. Assert it matches reloc bitsize.
3001
9e1a8675
AM
30022017-03-06 Alan Modra <amodra@gmail.com>
3003
3004 * dw2gencfi.c: Wrap overlong lines. Add parens for emacs
3005 auto reformat. Formatting and whitespace fixes.
3006
49fced12
MW
30072017-03-05 Mark Wielaard <mark@klomp.org>
3008
3009 * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_strp instead of
3010 DW_FORM_string for DW_AT_name, DW_AT_comp_dir and DW_AT_producer.
3011 (out_debug_info): Accept symbols to name, comp_dir and producer in
3012 the .debug_str section and emit those offsets not full strings.
3013 (out_debug_str): New function that outputs the strings for name,
3014 comp_dir and producer in .debug_str and generates symbols to those
3015 strings.
3016 (out_debug_line): Create a .debug_str section if necessary and call
3017 out_debug_str before calling out_debug_info.
3018 * testsuite/gas/aarch64/dwarf.d: Add extra section symbol to expected
3019 output.
3020
9875b365
MR
30212017-03-02 Maciej W. Rozycki <macro@imgtec.com>
3022
3023 * write.c (relax_segment) <rs_org>: Only bail out if the fixed
3024 part of the frag has overrun the location requested.
3025
3026 * testsuite/gas/all/org-1.d: New test.
3027 * testsuite/gas/all/org-2.d: New test.
3028 * testsuite/gas/all/org-3.d: New test.
3029 * testsuite/gas/all/org-4.d: New test.
3030 * testsuite/gas/all/org-5.d: New test.
3031 * testsuite/gas/all/org-6.d: New test.
3032 * testsuite/gas/all/org-1.l: New stderr output.
3033 * testsuite/gas/all/org-2.l: New stderr output.
3034 * testsuite/gas/all/org-3.l: New stderr output.
3035 * testsuite/gas/all/org-1.s: New test source.
3036 * testsuite/gas/all/org-2.s: New test source.
3037 * testsuite/gas/all/org-3.s: New test source.
3038 * testsuite/gas/all/org-4.s: New test source.
3039 * testsuite/gas/all/org-5.s: New test source.
3040 * testsuite/gas/all/org-6.s: New test source.
3041 * testsuite/gas/all/gas.exp: Run the new tests.
3042
3043 * testsuite/gas/mips/org-1.d: New test.
3044 * testsuite/gas/mips/org-2.d: New test.
3045 * testsuite/gas/mips/org-3.d: New test.
3046 * testsuite/gas/mips/org-4.d: New test.
3047 * testsuite/gas/mips/org-5.d: New test.
3048 * testsuite/gas/mips/org-6.d: New test.
3049 * testsuite/gas/mips/org-7.d: New test.
3050 * testsuite/gas/mips/org-8.d: New test.
3051 * testsuite/gas/mips/org-9.d: New test.
3052 * testsuite/gas/mips/org-10.d: New test.
3053 * testsuite/gas/mips/org-11.d: New test.
3054 * testsuite/gas/mips/org-12.d: New test.
3055 * testsuite/gas/mips/org-1.l: New stderr output.
3056 * testsuite/gas/mips/org-4.l: New stderr output.
3057 * testsuite/gas/mips/org-5.l: New stderr output.
3058 * testsuite/gas/mips/org-6.l: New stderr output.
3059 * testsuite/gas/mips/org-10.l: New stderr output.
3060 * testsuite/gas/mips/org-1.s: New test source.
3061 * testsuite/gas/mips/org-2.s: New test source.
3062 * testsuite/gas/mips/org-3.s: New test source.
3063 * testsuite/gas/mips/org-4.s: New test source.
3064 * testsuite/gas/mips/org-5.s: New test source.
3065 * testsuite/gas/mips/org-6.s: New test source.
3066 * testsuite/gas/mips/org-7.s: New test source.
3067 * testsuite/gas/mips/org-8.s: New test source.
3068 * testsuite/gas/mips/org-9.s: New test source.
3069 * testsuite/gas/mips/org-10.s: New test source.
3070 * testsuite/gas/mips/org-11.s: New test source.
3071 * testsuite/gas/mips/org-12.s: New test source.
3072 * testsuite/gas/mips/mips.exp: Run the new tests.
3073
01cca2f9
SN
30742017-03-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
3075
3076 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
3077
15c7c1d8
JB
30782017-02-28 Jan Beulich <jbeulich@suse.com>
3079
3080 * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
3081 VPCMPESTR{I,M}.
3082 * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
3083 * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
3084 of PCMPESTR{I,M}.
3085 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
3086 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
3087 * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Likewise.
3088 * testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d: Likewise.
3089 * testsuite/gas/i386/ilp32/x86-64-sse4_2.d: Likewise.
3090 * testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
3091 * testsuite/gas/i386/x86-64-avx.d: Likewise.
3092 * testsuite/gas/i386/x86-64-sse2avx.d: Likewise.
3093 * testsuite/gas/i386/x86-64-sse4_2-intel.d: Likewise.
3094 * testsuite/gas/i386/x86-64-sse4_2.d: Likewise.
3095
4ef97a1b
AM
30962017-02-28 Alan Modra <amodra@gmail.com>
3097
3098 * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
3099
7ba71655
AM
31002017-02-28 Alan Modra <amodra@gmail.com>
3101
3102 * config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
3103 (md_apply_fix): Remove fx_subsy check. Move code converting to
3104 pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA. Remove code
3105 emiiting errors on seeing fx_pcrel set on unexpected relocs, as
3106 that is done now by the generic code via..
3107 * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
3108 (TC_VALIDATE_FIX_SUB): Define.
3109
0e392101
MR
31102017-02-28 Maciej W. Rozycki <macro@imgtec.com>
3111
3112 * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
3113 * testsuite/gas/mips/jalr4.d: Adjust accordingly. Remove MIPSr6
3114 encoding patterns.
3115 * testsuite/gas/mips/jalr4-n64.d: Likewise.
3116 * testsuite/gas/mips/mipsr6@jalr4.d: New test.
3117 * testsuite/gas/mips/mipsr6@jalr4-n32.d: New test.
3118 * testsuite/gas/mips/mipsr6@jalr4-n64.d: New test.
3119
dd803a24
AM
31202017-02-25 Alan Modra <amodra@gmail.com>
3121
3122 * testsuite/gas/elf/strtab.s: Don't put directives on first
3123 column or continuation with labels not in first column.
3124
582e12bf
RS
31252017-02-24 Richard Sandiford <richard.sandiford@arm.com>
3126
3127 * doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
3128 * config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
3129 to be used with SVE registers.
3130 (parse_operands): Handle new SVE operands.
3131 (aarch64_features): Make "sve" require F16 rather than FP. Also
3132 require COMPNUM.
3133 * testsuite/gas/aarch64/sve.s: Add tests for new instructions.
3134 Include compnum tests.
3135 * testsuite/gas/aarch64/sve.d: Update accordingly.
3136 * testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
3137 * testsuite/gas/aarch64/sve-invalid.l: Update accordingly. Also
3138 update expected output for new FMOV and MOV alternatives.
3139
f482d304
RS
31402017-02-24 Richard Sandiford <richard.sandiford@arm.com>
3141
3142 * doc/c-aarch64.texi: Add a "compnum" entry.
3143 * config/tc-aarch64.c (aarch64_features): Likewise,
3144 * testsuite/gas/aarch64/advsimd-compnum.s: New test.
3145 * testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
3146
7db2c588
JB
31472017-02-24 Jan Beulich <jbeulich@suse.com>
3148
3149 * testsuite/gas/i386/opcode.s: Add alternative TEST forms.
3150 * testsuite/gas/i386/x86-64-opcode.s: Likewise.
3151 * testsuite/gas/i386/opcode.d: Adjust accordingly.
3152 * testsuite/gas/i386/opcode-intel.d: Likewise.
3153 * testsuite/gas/i386/x86-64-opcode.d: Likewise.
3154 * testsuite/gas/i386/ilp32/x86-64-opcode.d: Likewise.
3155
1b3cee56
SL
31562017-02-24 Sheldon Lobo <sheldon.lobo@oracle.com>
3157
3158 Test cases for the architecture level aware SPARC ASI work.
3159 * gas/testsuite/gas/sparc/sparc.exp: 2 new tests
3160 * gas/testsuite/gas/sparc/asi-bump-warn.s: New test
3161 * gas/testsuite/gas/sparc/asi-bump-warn.l: Likewise
3162 * gas/testsuite/gas/sparc/asi-arch-error.s: Likewise
3163 * gas/testsuite/gas/sparc/asi-arch-error.l: Likewise
3164
c1556ecd
MR
31652017-02-23 Maciej W. Rozycki <macro@imgtec.com>
3166
3167 * testsuite/gas/mips/jalr4.d: New test.
3168 * testsuite/gas/mips/jalr4-n32.d: New test.
3169 * testsuite/gas/mips/jalr4-n64.d: New test.
3170 * testsuite/gas/mips/jalr4.s: New test source.
3171 * testsuite/gas/mips/mips.exp: Run the new tests.
3172
1e9d41d4
SL
31732017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
3174
3175 Add support for associating SPARC ASIs with an architecture level.
3176 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
3177
946416fc
JB
31782017-02-23 Jan Beulich <jbeulich@suse.com>
3179
3180 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
3181 of symbols as expression.
3182
31832017-02-23 Jan Beulich <jbeulich@suse.com>
4c5b8d1e
JB
3184
3185 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.d: Add 32- and 16-
3186 bit GPR forms of BNDCL, BNDCU, and BNDCN. Add RSP-as-index
3187 Intel syntax forms of BNDMK, BNDSTX, and BNDLDX.
3188 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust.
3189
5ff6a06c
MR
31902017-02-22 Maciej W. Rozycki <macro@imgtec.com>
3191
3192 * ecoff.c (ecoff_directive_end) [md_flush_pending_output]: Call
3193 `md_flush_pending_output'.
3194 * config/tc-mips.c (s_mips_end) [md_flush_pending_output]: Call
3195 `md_flush_pending_output' unconditionally.
3196 * testsuite/gas/mips/debug-label-end-1.d: New test.
3197 * testsuite/gas/mips/debug-label-end-2.d: New test.
3198 * testsuite/gas/mips/debug-label-end-3.d: New test.
3199 * testsuite/gas/mips/debug-label-end.s: New test source.
3200 * testsuite/gas/mips/mips.exp: Run the new tests.
3201
25890fc2
HPN
32022017-02-22 Hans-Peter Nilsson <hp@axis.com>
3203
3204 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
3205 targets yielding an error message matching "too complex".
3206
5ffbd927
NC
32072017-02-22 Nick Clifton <nickc@redhat.com>
3208
3209 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
3210
b0c53498
JB
32112017-02-21 Jan Beulich <jbeulich@suse.com>
3212
3213 * expr.c (operand): Handle missing operand to .startof.() and
3214 .sizeof.().
3215 * testsuite/gas/all/err-sizeof.s: New.
3216
ece5dcc1
AM
32172017-02-20 Alan Modra <amodra@gmail.com>
3218
3219 PR 21118
3220 * NEWS: Revise powerpc register check.
3221 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
3222 register expression" a warning.
3223
37f9ec62
MR
32242017-02-17 Maciej W. Rozycki <macro@imgtec.com>
3225
3226 * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
3227 * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
3228 * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
3229 * testsuite/gas/mips/aent-2.d: New test.
3230 * testsuite/gas/mips/aent-mdebug.d: New test.
3231 * testsuite/gas/mips/aent-mdebug-2.d: New test.
3232 * testsuite/gas/mips/mips.exp: Run the new tests.
3233
773fb663
RS
32342017-02-15 Richard Sandiford <richard.sandiford@arm.com>
3235
3236 * testsuite/gas/aarch64/sve-sysreg.s,
3237 testsuite/gas/aarch64/sve-sysreg.d,
3238 testsuite/gas/aarch64/sve-sysreg-invalid.d,
3239 testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
3240
7a2114e7
RS
32412017-02-15 Richard Sandiford <richard.sandiford@arm.com>
3242
3243 * doc/c-aarch64.texi: Fix sve entry.
3244
cc07cda6
CZ
32452017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
3246
3247 * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
3248 information from input expression.
3249 (assemble_insn): Make sure pcrel is correctly set.
3250 (arc_pcrel_adjust): Compensate for PCL rounding.
3251 * testsuite/gas/arc/relax-add01.d: New file.
3252 * testsuite/gas/arc/relax-add01.s: Likewise.
3253 * testsuite/gas/arc/relax-add02.d: Likewise.
3254 * testsuite/gas/arc/relax-add02.s: Likewise.
3255 * testsuite/gas/arc/relax-add03.d: Likewise.
3256 * testsuite/gas/arc/relax-add03.s: Likewise.
3257 * testsuite/gas/arc/relax-add04.d: Likewise.
3258 * testsuite/gas/arc/relax-add04.s: Likewise.
3259 * testsuite/gas/arc/relax-ld01.d: Likewise.
3260 * testsuite/gas/arc/relax-ld01.s: Likewise.
3261 * testsuite/gas/arc/relax-ld02.d: Likewise.
3262 * testsuite/gas/arc/relax-ld02.s: Likewise.
3263 * testsuite/gas/arc/relax-mov01.d: Likewise.
3264 * testsuite/gas/arc/relax-mov01.s: Likewise.
3265 * testsuite/gas/arc/relax-mov02.d: Likewise.
3266 * testsuite/gas/arc/relax-mov02.s: Likewise.
3267 * testsuite/gas/arc/relax-mpy01.d: Likewise.
3268 * testsuite/gas/arc/relax-mpy01.s: Likewise.
3269 * testsuite/gas/arc/relax-sub01.d: Likewise.
3270 * testsuite/gas/arc/relax-sub01.s: Likewise.
3271 * testsuite/gas/arc/relax-sub02.d: Likewise.
3272 * testsuite/gas/arc/relax-sub02.s: Likewise.
3273 * testsuite/gas/arc/relax-sub03.d: Likewise.
3274 * testsuite/gas/arc/relax-sub03.s: Likewise.
3275 * testsuite/gas/arc/relax-sub04.d: Likewise.
3276 * testsuite/gas/arc/relax-sub04.s: Likewise.
3277
66a5a740
VG
32782017-02-09 Vineet Gupta <vgupta@synopsys.com>
3279
3280 * testsuite/gas/arc/st.d: Update for 0xe having a name now
3281
7e0de605
AM
32822017-02-14 Alan Modra <amodra@gmail.com>
3283
3284 PR 21118
3285 * NEWS: Mention powerpc register checks.
3286 * config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
3287 (pre_defined_registers): Delete fpscr and pmr entries. Set
3288 register type in flags.
3289 (cr_names): Set type in flags.
3290 (reg_name_search): Return pointer to struct pd_reg rather than value.
3291 (register_name): Adjust to suit. Set X_md from flags.
3292 (ppc_parse_name): Likewise.
3293 (ppc_optimize_expr): New function.
3294 (md_assemble): Verify expresion reg flags match operand.
3295 * config/tc-ppc.h (md_optimize_expr): Define.
3296 (ppc_optimize_expr): Declare.
3297
606a935e
AM
32982017-02-14 Alan Modra <amodra@gmail.com>
3299
3300 * testsuite/gas/ppc/cell.s: Correct invalid registers.
3301 * testsuite/gas/ppc/vle-simple-1.s: Likewise.
3302 * testsuite/gas/ppc/vle-simple-2.s: Likewise.
3303
3c6452ae
TP
33042017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
3305
3306 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
3307 syntax.
3308 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
3309 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
3310
dce75bf9
NP
33112017-02-10 Nicholas Piggin <npiggin@gmail.com>
3312
3313 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
3314
73201331
MR
33152017-02-02 Maciej W. Rozycki <macro@imgtec.com>
3316
3317 * doc/as.texinfo (Overview): Select MIPS options for man page
3318 inclusion.
3319
8b10b0b3
MR
33202017-01-30 Maciej W. Rozycki <macro@imgtec.com>
3321
3322 * config/tc-mips.c (mips_ignore_branch_isa): New variable.
3323 (options): Add OPTION_IGNORE_BRANCH_ISA and
3324 OPTION_NO_IGNORE_BRANCH_ISA enum values.
3325 (md_longopts): Add "mignore-branch-isa" and
3326 "mno-ignore-branch-isa" options.
3327 (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
3328 OPTION_NO_IGNORE_BRANCH_ISA.
3329 (fix_bad_cross_mode_branch_p): Return FALSE if
3330 `mips_ignore_branch_isa' has been set.
3331 (md_show_usage): Add `-mignore-branch-isa' and
3332 `-mno-ignore-branch-isa'.
3333
3334 * doc/as.texinfo (Target MIPS options): Add
3335 `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
3336 (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
3337 * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
3338 `-mno-ignore-branch-isa' options.
3339
3340 * testsuite/gas/mips/branch-local-ignore-2.d: New test.
3341 * testsuite/gas/mips/branch-local-ignore-3.d: New test.
3342 * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
3343 * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
3344 * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
3345 * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
3346 * testsuite/gas/mips/mips.exp: Run the new tests.
3347
7795a8f8
MR
33482017-01-30 Maciej W. Rozycki <macro@imgtec.com>
3349
3350 * testsuite/gas/mips/branch-local-2.d: New test.
3351 * testsuite/gas/mips/branch-local-3.d: New test.
3352 * testsuite/gas/mips/branch-local-n32-2.d: New test.
3353 * testsuite/gas/mips/branch-local-n32-3.d: New test.
3354 * testsuite/gas/mips/branch-local-n64-2.d: New test.
3355 * testsuite/gas/mips/branch-local-n64-3.d: New test.
3356 * testsuite/gas/mips/mips.exp: Fold corresponding list tests
3357 into the new tests.
3358
8ec5cf65
AD
33592017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
3360
3361 PR 21056
3362 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
3363 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
3364
de514cf3
SH
33652017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
3366
3367 * configure.tgt (aarch64*-*-rtems*): Remove.
3368 (bfin-*-rtems*): Likewise.
3369 (h8300-*-rtems*): Likewise.
3370 (i386-*-rtems*): Likewise.
3371 (m32c-*-rtems*): Likewise.
3372 (m32r-*-rtems*): Likewise.
3373 (m68k-*-rtems*): Likewise.
3374 (mips-*-rtems*): Likewise.
3375 (nios2-*-rtems*): Likewise.
3376 (ppc-*-rtems*): Likewise.
3377 (sh-*-rtems*): Likewise.
3378 (sparc64-*-rtems*): Likewise.
3379 (sparc-*-rtems*): Likewise.
3380 (*-*-rtems*) Use ELF format.
3381
3e97ba8a
SH
33822017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
3383
3384 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
3385
850d84f6
SH
33862017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
3387
3388 * configure.tgt (sh-*-rtemscoff*): Remove.
3389
666c6aff
SH
33902017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
3391
3392 * configure.tgt (riscv*-*-*): Remove em=linux.
3393
33eaf5de
NC
33942017-01-23 Sebastian Rasmussen <sebras@gmail.com>
3395
3396 PR gas/21072
3397 * asintl.h: Fix spelling mistakes and typos.
3398 * atof-generic.c: Likewise.
3399 * bit_fix.h: Likewise.
3400 * config/atof-ieee.c: Likewise.
3401 * config/bfin-defs.h: Likewise.
3402 * config/bfin-parse.y: Likewise.
3403 * config/obj-coff-seh.h: Likewise.
3404 * config/obj-coff.c: Likewise.
3405 * config/obj-evax.c: Likewise.
3406 * config/obj-macho.c: Likewise.
3407 * config/rx-parse.y: Likewise.
3408 * config/tc-aarch64.c: Likewise.
3409 * config/tc-alpha.c: Likewise.
3410 * config/tc-arc.c: Likewise.
3411 * config/tc-arm.c: Likewise.
3412 * config/tc-avr.c: Likewise.
3413 * config/tc-bfin.c: Likewise.
3414 * config/tc-cr16.c: Likewise.
3415 * config/tc-cris.c: Likewise.
3416 * config/tc-crx.c: Likewise.
3417 * config/tc-d10v.c: Likewise.
3418 * config/tc-d30v.c: Likewise.
3419 * config/tc-dlx.c: Likewise.
3420 * config/tc-epiphany.c: Likewise.
3421 * config/tc-frv.c: Likewise.
3422 * config/tc-hppa.c: Likewise.
3423 * config/tc-i370.c: Likewise.
3424 * config/tc-i386-intel.c: Likewise.
3425 * config/tc-i386.c: Likewise.
3426 * config/tc-i960.c: Likewise.
3427 * config/tc-ia64.c: Likewise.
3428 * config/tc-m32r.c: Likewise.
3429 * config/tc-m68hc11.c: Likewise.
3430 * config/tc-m68k.c: Likewise.
3431 * config/tc-mcore.c: Likewise.
3432 * config/tc-mep.c: Likewise.
3433 * config/tc-mep.h: Likewise.
3434 * config/tc-metag.c: Likewise.
3435 * config/tc-microblaze.c: Likewise.
3436 * config/tc-mips.c: Likewise.
3437 * config/tc-mmix.c: Likewise.
3438 * config/tc-mn10200.c: Likewise.
3439 * config/tc-mn10300.c: Likewise.
3440 * config/tc-msp430.c: Likewise.
3441 * config/tc-msp430.h: Likewise.
3442 * config/tc-nds32.c: Likewise.
3443 * config/tc-nds32.h: Likewise.
3444 * config/tc-nios2.c: Likewise.
3445 * config/tc-nios2.h: Likewise.
3446 * config/tc-ns32k.c: Likewise.
3447 * config/tc-pdp11.c: Likewise.
3448 * config/tc-ppc.c: Likewise.
3449 * config/tc-pru.c: Likewise.
3450 * config/tc-rx.c: Likewise.
3451 * config/tc-s390.c: Likewise.
3452 * config/tc-score.c: Likewise.
3453 * config/tc-score7.c: Likewise.
3454 * config/tc-sh.c: Likewise.
3455 * config/tc-sh64.c: Likewise.
3456 * config/tc-sparc.c: Likewise.
3457 * config/tc-tic4x.c: Likewise.
3458 * config/tc-tic54x.c: Likewise.
3459 * config/tc-v850.c: Likewise.
3460 * config/tc-vax.c: Likewise.
3461 * config/tc-visium.c: Likewise.
3462 * config/tc-xgate.c: Likewise.
3463 * config/tc-xtensa.c: Likewise.
3464 * config/tc-z80.c: Likewise.
3465 * config/tc-z8k.c: Likewise.
3466 * config/te-vms.c: Likewise.
3467 * config/xtensa-relax.c: Likewise.
3468 * doc/as.texinfo: Likewise.
3469 * doc/c-arm.texi: Likewise.
3470 * doc/c-hppa.texi: Likewise.
3471 * doc/c-i370.texi: Likewise.
3472 * doc/c-i386.texi: Likewise.
3473 * doc/c-m32r.texi: Likewise.
3474 * doc/c-m68k.texi: Likewise.
3475 * doc/c-mmix.texi: Likewise.
3476 * doc/c-msp430.texi: Likewise.
3477 * doc/c-nds32.texi: Likewise.
3478 * doc/c-ns32k.texi: Likewise.
3479 * doc/c-riscv.texi: Likewise.
3480 * doc/c-rx.texi: Likewise.
3481 * doc/c-s390.texi: Likewise.
3482 * doc/c-tic6x.texi: Likewise.
3483 * doc/c-tilegx.texi: Likewise.
3484 * doc/c-tilepro.texi: Likewise.
3485 * doc/c-v850.texi: Likewise.
3486 * doc/c-xgate.texi: Likewise.
3487 * doc/c-xtensa.texi: Likewise.
3488 * dwarf2dbg.c: Likewise.
3489 * ecoff.c: Likewise.
3490 * itbl-ops.c: Likewise.
3491 * listing.c: Likewise.
3492 * macro.c: Likewise.
3493 * po/gas.pot: Likewise.
3494 * read.c: Likewise.
3495 * struc-symbol.h: Likewise.
3496 * symbols.h: Likewise.
3497 * testsuite/gas/arc/relocs-errors.err: Likewise.
3498 * write.c: Likewise.
3499
8069955e
NC
35002017-01-23 Nick Clifton <nickc@redhat.com>
3501
3502 * po/sv.po: Updated Swedish translation.
3503
9d46ce34
NC
35042017-01-20 Nick Clifton <nickc@redhat.com>
3505
3506 * config/tc-i386.c (parse_operands): Check for operand overflow
3507 before setting the unspecified bit.
3508
9e009953
MR
35092017-01-18 Maciej W. Rozycki <macro@imgtec.com>
3510
3511 PR gas/20649
3512 * config/tc-mips.c (pic_need_relax): Don't check for linkonce
3513 symbols, remove the `segtype' parameter.
3514 (mips_frob_file, md_estimate_size_before_relax): Adjust
3515 accordingly.
3516 (s_is_linkonce): Add an explanatory comment.
3517 * testsuite/gas/mips/comdat-reloc.d: New test.
3518 * testsuite/gas/mips/comdat-reloc.s: New test source.
3519 * testsuite/gas/mips/mips.exp: Run the new test.
3520
c13a63b0
SN
35212017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
3522
3523 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
3524 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
3525
2cedb9eb
BR
35262017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
3527
3528 PR 21059
3529 * config/bfin-lex.l: Support processing with flex 2.6.3.
3530 * itbl-lex.l: Likewise.
3531
1ec4b9f2
NS
35322017-01-18 Nathan Sidwell <nathan@acm.org>
3533
3534 * as.h (gas_assert): Use abort.
3535 (as_assert): Remove.
3536 (signal_init): Declare.
3537 * as.c (main): Call signal_init.
3538 * messages.c: #include <signal.h>
3539 (as_assert): Delete.
3540 (as_abort): Allow NULL FILE.
3541 (signal_crash): New.
3542 (signal_init): Register fatal signal handlers.
3543 * configure.ac: Check for strsignal.
3544 * config.in: Rebuilt.
3545 * configure: Rebuilt.
3546
01fabda4 35472017-01-17 Nick Clifton <nickc@redhat.com>
6aa1df2d
NC
3548
3549 * po/sv.po: Updated Swedish translation.
3550
620214f7
IT
35512017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3552
3553 * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
3554 (cpu_noarch): Add noavx512_vpopcntdq.
3555 * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
3556 * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
3557 * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
3558 * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
3559 * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
3560 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
3561 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
3562 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
3563
1181551e
NC
35642017-01-12 Nick Clifton <nickc@redhat.com>
3565
3566 * read.c (temp_ilp): New function. Installs a temporary input
3567 line pointer.
3568 (restore_ilp): New function. Restores the original input line
3569 pointer.
3570 * read.h (temp_ilp): Prototype.
3571 (restore_ilp): Prototype.
3572 * stabs.c (dot_func_p): Use bfd_boolean type.
3573 (generate_asm_file): Use temp_ilp and restore_ilp.
3574 (stabs_generate_asm_lineno): Likewise.
3575 (stabs_generate_asm_endfunc): Likewise.
3576
f2e2d2f5
JS
35772017-01-11 Jeremy Soller <jackpot51@gmail.com>
3578
3579 * configure.tgt: Add entry for i386-redox.
3580
07e8e623
NC
35812017-01-10 Nick Clifton <nickc@redhat.com>
3582
3583 * po/sv.po: Updated Swedish translation.
3584
1a94eb29
TG
35852017-01-10 Tristan Gingold <gingold@adacore.com>
3586
3587 * testsuite/gas/all/sleb128-8.d: Adjust test.
3588 * testsuite/gas/all/gas.exp (test_cond): Likewise.
3589
74def31d
TG
35902017-01-10 Tristan Gingold <gingold@adacore.com>
3591
3592 * read.c (emit_leb128_expr): Extended unsigned big number for
3593 sleb128.
3594 * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
3595 * testsuite/gas/all/sleb128.d: New test.
3596 * testsuite/gas/all/sleb128.s: New test source.
3597
a5ec5e3f
AW
35982017-01-09 Andrew Waterman <andrew@sifive.com>
3599
3600 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
3601 against constants.
3602 (md_apply_fix): Mark relocations against constants as "done."
3603
e294484e
AW
36042017-01-09 Andrew Waterman <andrew@sifive.com>
3605
3606 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
3607 against constants.
3608 (md_apply_fix): Mark relocations against constants as "done."
3609
6ec11ab9
PD
36102017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
3611 Kito Cheng <kito.cheng@gmail.com>
3612
3613 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
3614 Removed.
3615 (SDATA_START_SYMBOLS): Likewise.
3616
20b52c88
NC
36172017-01-09 Nick Clifton <nickc@redhat.com>
3618
3619 * po/sv.po: New Swedish translation.
3620 * configure.ac (ALL_LINGUAS): Add sv.
3621 * configure: Regenerate.
3622
01156111
AW
36232017-01-09 Andrew Waterman <andrew@sifive.com>
3624
3625 * config/tc-riscv.c (relaxed_branch_length): Use the long
3626 sequence when the target is a weak symbol.
3627
d74d4880
SN
36282017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3629
3630 * config/tc-aarch64.c (aarch64_features): Add rcpc.
3631 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
3632 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
3633 * testsuite/gas/aarch64/ldst-rcpc.d: This.
3634 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
3635 * testsuite/gas/aarch64/ldst-rcpc.s: This.
3636 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
3637
10ab38d9
NJ
36382017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
3639
3640 PR gas/20992
3641 * configure.tgt: Treat sparcv9 as sparc64.
3642
cc917fd9
KC
36432017-01-03 Kito Cheng <kito.cheng@gmail.com>
3644
3645 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
3646 extension.
3647 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
3648 enabled and no other ABI is specified.
3649
ddb2c6fd
DD
36502017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
3651
3652 * config/tc-pru.c (md_number_to_chars): Fix parameter to be
3653 valueT, as declared in tc.h.
3654 (md_apply_fix): Fix to work on 32-bit hosts.
3655
2571583a
AM
36562017-01-02 Alan Modra <amodra@gmail.com>
3657
3658 Update year range in copyright notice of all files.
3659
5c1ad6b5 3660For older changes see ChangeLog-2016
3499769a 3661\f
5c1ad6b5 3662Copyright (C) 2017 Free Software Foundation, Inc.
3499769a
AM
3663
3664Copying and distribution of this file, with or without modification,
3665are permitted in any medium without royalty provided the copyright
3666notice and this notice are preserved.
3667
3668Local Variables:
3669mode: change-log
3670left-margin: 8
3671fill-column: 74
3672version-control: never
3673End:
This page took 0.270573 seconds and 4 git commands to generate.