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