1 2017-11-07 Jim Wilson <jimw@sifive.com>
3 * config/tc-riscv.c (append_insn): Call frag_wane and frag_new at
4 end for linker optimizable relocs.
5 * testsuite/gas/riscv/eh-relocs.d: New.
6 * testsuite/gas/riscv/eh-relocs.s: New.
7 * testsuite/gas/riscv/riscv.exp: Run eh-relocs test.
9 2017-11-07 Palmer Dabbelt <palmer@dabbelt.com>
11 * testsuite/gas/riscv/satp.d: New test.
12 testsuite/gas/riscv/satp.s: Likewise.
13 testsuite/gas/riscv/riscv.exp: Likewise.
14 config/tc-riscv.c (md_begin): Handle CSR aliases.
16 2017-11-07 Tamar Christina <tamar.christina@arm.com>
18 * config/tc-arm.c (arm_cpus):
19 Change FPU_ARCH_CRYPTO_NEON_VFP_ARMV8
20 into FPU_ARCH_CRYPTO_NEON_VFP_ARMV8_DOTPROD.
22 2017-11-07 Alan Modra <amodra@gmail.com>
24 * read.c (assemble_one, s_bundle_unlock): Formatting.
25 Consistently add comma and "bytes" to error message.
26 * testsuite/gas/i386/bundle-bad.l: Adjust to suit.
28 2017-11-07 Alan Modra <amodra@gmail.com>
30 * testsuite/gas/arm/got_prel.d,
31 * testsuite/gas/elf/dwarf2-1.d,
32 * testsuite/gas/elf/dwarf2-2.d,
33 * testsuite/gas/elf/dwarf2-3.d,
34 * testsuite/gas/elf/dwarf2-5.d,
35 * testsuite/gas/elf/dwarf2-6.d,
36 * testsuite/gas/i386/debug1.d,
37 * testsuite/gas/i386/dw2-compress-1.d,
38 * testsuite/gas/i386/dw2-compress-3a.d,
39 * testsuite/gas/i386/dw2-compress-3b.d,
40 * testsuite/gas/i386/dw2-compressed-1.d,
41 * testsuite/gas/i386/dw2-compressed-3a.d,
42 * testsuite/gas/i386/dw2-compressed-3b.d,
43 * testsuite/gas/i386/ilp32/x86-64-localpic.d,
44 * testsuite/gas/i386/localpic.d,
45 * testsuite/gas/i386/x86-64-localpic.d,
46 * testsuite/gas/ia64/pr13167.d,
47 * testsuite/gas/mips/loc-swap-2.d,
48 * testsuite/gas/mips/loc-swap.d,
49 * testsuite/gas/mips/micromips@loc-swap-2.d,
50 * testsuite/gas/mips/micromips@loc-swap.d,
51 * testsuite/gas/mips/mips16-dwarf2-n32.d,
52 * testsuite/gas/mips/mips16-dwarf2.d,
53 * testsuite/gas/mips/mips16@loc-swap-2.d,
54 * testsuite/gas/mips/mips16@loc-swap.d,
55 * testsuite/gas/mips/mips16e@loc-swap.d,
56 * testsuite/gas/mmix/bspec-1.d,
57 * testsuite/gas/mmix/bspec-2.d,
58 * testsuite/gas/tic6x/unwind-1.d,
59 * testsuite/gas/tic6x/unwind-2.d,
60 * testsuite/gas/tic6x/unwind-3.d: Update for pluralization
63 2017-11-07 Alan Modra <amodra@gmail.com>
65 * as.c (main): Properly pluralize messages.
66 * frags.c (frag_grow): Likewise.
67 * read.c (emit_expr_with_reloc, emit_expr_fix): Likewise.
68 (parse_bitfield_cons): Likewise.
69 * write.c (fixup_segment, compress_debug, write_contents): Likewise.
70 (relax_segment): Likewise.
71 * config/tc-arm.c (s_arm_elf_cons): Likewise.
72 * config/tc-cr16.c (l_cons): Likewise.
73 * config/tc-i370.c (i370_elf_cons): Likewise.
74 * config/tc-m68k.c (m68k_elf_cons): Likewise.
75 * config/tc-msp430.c (msp430_operands): Likewise.
76 * config/tc-s390.c (s390_elf_cons, s390_literals): Likewise.
77 * config/tc-mcore.c (md_apply_fix): Likewise.
78 * config/tc-tic54x.c (md_assemble): Likewise.
79 * config/tc-xtensa.c (xtensa_elf_cons): Likewise.
80 (xg_expand_assembly_insn): Likewise.
81 * config/xtensa-relax.c (build_transition): Likewise.
83 2017-11-07 Alan Modra <amodra@gmail.com>
85 * asintl.h (textdomain, bindtextdomain): Use safer "do nothing".
86 (ngettext, dngettext, dcngettext): Define when !ENABLE_NLS.
88 2017-11-03 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
89 Jim Wilson <jim.wilson@linaro.org>
91 * config/tc-aarch64.c (aarch64_cpus): Add saphira.
92 * doc/c-aarch64.texi: Likewise.
94 2017-11-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
96 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-1.d: Add
97 --disassembler-options=force-thumb to objdump options.
98 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-2.d: Likewise.
100 2017-11-01 James Bowman <james.bowman@ftdichip.com>
102 * config/tc-ft32.c (md_assemble): Add relaxation reloc
103 BFD_RELOC_FT32_RELAX.
104 (md_longopts): Add "norelax" and "no-relax".
105 (md_apply_fix): Add reloc BFD_RELOC_FT32_DIFF32.
106 (relaxable_section, ft32_validate_fix_sub, ft32_force_relocation,
107 ft32_allow_local_subtract): New function.
108 * config/tc-ft32.h: Remove unused MD_PCREL_FROM_SECTION.
109 * testsuite/gas/ft32/insnsc.s: New test exercising all FT32B
111 * testsuite/gas/ft32/insnsc.d: New driver file.
112 * testsuite/gas/all/gas.exp: Update.
113 * testsuite/gas/ft32/ft32.exp: Run the new test.
114 * testsuite/gas/ft32/insn.d: Update.
115 * testsuite/gas/elf/dwarf2-11.d: Update.
116 * testsuite/gas/elf/dwarf2-12.d: Update.
117 * testsuite/gas/elf/dwarf2-13.d: Update.
118 * testsuite/gas/elf/dwarf2-14.d: Update.
119 * testsuite/gas/elf/dwarf2-15.d: Update.
120 * testsuite/gas/elf/dwarf2-16.d: Update.
121 * testsuite/gas/elf/dwarf2-17.d: Update.
122 * testsuite/gas/elf/dwarf2-18.d: Update.
123 * testsuite/gas/elf/dwarf2-3.d: Update.
124 * testsuite/gas/elf/dwarf2-5.d: Update.
125 * testsuite/gas/elf/dwarf2-7.d: Update.
127 2017-11-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
129 * config/tc-arm.c (arm_ext_v2): Define to ARM_EXT_V2 feature bit.
130 * testsuite/gas/arm/copro.s: Split into
131 * testsuite/gas/arm/copro-arm_v2plus-thumb_v6t2plus.s: This while
132 changing it to unified syntax and
133 * testsuite/gas/arm/copro-arm_v5plus-thumb_v6t2plus.s: this and ...
134 * testsuite/gas/arm/copro-arm_v5teplus-thumb_v6t2plus.s: This and ...
135 * testsuite/gas/arm/copro-arm_v6plus-thumb_v6t2plus.s: This.
136 * testsuite/gas/arm/copro.d: Split into ...
137 * testsuite/gas/arm/copro-arm_v2plus-arm_v2.d: This but target ARMv2
139 * testsuite/gas/arm/copro-arm_v5plus-arm_v5.d: this but target ARMv5
141 * testsuite/gas/arm/copro-arm_v5teplus-arm_v5te.d: This but target
143 * testsuite/gas/arm/copro-arm_v6plus-arm_v6.d: This but target ARMv6.
144 * testsuite/gas/arm/copro-arm_v2plus-arm_v1.d: New testcase.
145 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v4t-1.d: New testcase.
146 * testsuite/gas/arm/copro-arm_v2plus-thumb_v6t2plus-unavail.l: Expected
147 errors for the above two testcases.
148 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-1.d: New testcase.
149 * testsuite/gas/arm/copro-arm_v5plus-arm_v4.d: New testcase.
150 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v4t-2.d: New testcase.
151 * testsuite/gas/arm/copro-arm_v5plus-thumb_v6t2plus-unavail.l:
152 Expected errors for the above two testcases.
153 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-2.d: New testcase.
154 * testsuite/gas/arm/copro-arm_v5teplus-arm_v5.d: New testcase.
155 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v4t-3.d: New testcase.
156 * testsuite/gas/arm/copro-arm_v5teplus-thumb_v6t2plus-unavail.l:
157 Expected errors for the above two testcases.
158 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-3.d: New testcase.
159 * testsuite/gas/arm/copro-arm_v6plus-arm_v5te.d: New testcase.
160 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v4t-4.d: New testcase.
161 * testsuite/gas/arm/copro-arm_v6plus-thumb_v6t2plus-unavail.l:
162 Expected errors for the above two testcases.
163 * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-4.d: New testcase.
165 2017-10-26 H.J. Lu <hongjiu.lu@intel.com>
168 * config/tc-i386.c (check_VecOperands): Also check XMM register
169 for invalid register in AVX512 gathers.
170 * testsuite/gas/i386/vgather-check.s: Add tests for AVX512
171 gathers with XMM register.
172 * testsuite/gas/i386/x86-64-vgather-check.s: Likewise.
173 * testsuite/gas/i386/vgather-check-error.l: Updated.
174 * testsuite/gas/i386/vgather-check-none.d: Likewise.
175 * testsuite/gas/i386/vgather-check-warn.d: Likewise.
176 * testsuite/gas/i386/vgather-check-warn.e: Likewise.
177 * testsuite/gas/i386/vgather-check.d: Likewise.
178 * testsuite/gas/i386/x86-64-vgather-check-error.l: Likewise.
179 * testsuite/gas/i386/x86-64-vgather-check-none.d: Likewise.
180 * testsuite/gas/i386/x86-64-vgather-check-warn.d: Likewise.
181 * testsuite/gas/i386/x86-64-vgather-check-warn.e: Likewise.
182 * testsuite/gas/i386/x86-64-vgather-check.d: Likewise.
184 2017-10-26 Hans-Peter Nilsson <hp@bitrange.com>
186 * testsuite/gas/all/fill-1.s: Use L2 rather than .L2.
188 2017-10-25 Alan Modra <amodra@gmail.com>
191 * config/tc-crx.c (instruction, output_opcode): Make static.
192 (relocatable, ins_parse, cur_arg_num): Likewise.
193 (parse_insn): Adjust for renamed opcodes globals.
194 (check_range): Likewise
196 2017-10-25 Alan Modra <amodra@gmail.com>
198 * testsuite/gas/all/fill-1.d: Exclude tic4x and tic54x.
199 * testsuite/gas/all/fill-1.s: Use L1 rather than .L1.
201 2017-10-24 Andrew Waterman <andrew@sifive.com>
203 * testsuite/gas/riscv/c-addi16sp-fail.d: New test.
204 * testsuite/gas/riscv/c-addi16sp-fail.l: Likewise.
205 * testsuite/gas/riscv/c-addi16sp-fail.s: Likewise.
206 * testsuite/gas/riscv/c-addi4spn-fail.d: Likewise.
207 * testsuite/gas/riscv/c-addi4spn-fail.l: Likewise.
208 * testsuite/gas/riscv/c-addi4spn-fail.s: Likewise.
209 * testsuite/gas/riscv/riscv.exp: Add new tests.
211 2017-10-24 Andrew Waterman <andrew@sifive.com>
213 * testsuite/gas/riscv/c-lui-fail.d: New testcase.
214 * gas/testsuite/gas/riscv/c-lui-fail.l: Likewise.
215 * gas/testsuite/gas/riscv/c-lui-fail.s: Likewise.
216 * gas/testsuite/gas/riscv/riscv.exp: Likewise.
218 2017-10-24 H.J. Lu <hongjiu.lu@intel.com>
220 * config/tc-i386.c (md_pseudo_table): Add .code64 directive
221 only if BFD64 is defined.
222 * testsuite/gas/i386/code64-inval.l: New file.
223 * gas/testsuite/gas/i386/code64-inval.s: Likewise.
224 * gas/testsuite/gas/i386/code64.d: Likewise.
225 * gas/testsuite/gas/i386/code64.s: Likewise.
226 * testsuite/gas/i386/i386.exp: Run mixed-mode-reloc32,
227 att-regs, intel-regs, intel-expr and string-ok tests only if
228 assembler supports x86-64. Run code64 and code64-inval.
230 2017-10-23 Palmer Dabbelt <palmer@dabbelt.com>
232 * config/tc-riscv.c (riscv_frag_align_code): Align code by 4
233 bytes on non-RVC systems.
235 2017-10-23 Maciej W. Rozycki <macro@imgtec.com>
237 * config/tc-mips.c (mips_elf_final_processing): Don't set
238 EF_MIPS_ABI2 in `e_flags'.
240 2017-10-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
242 * config/tc-i386.c (cpu_arch): Add .avx512_bitalg.
243 (cpu_noarch): noavx512_bitalg.
244 * doc/c-i386.texi: Document .avx512_bitalg, noavx512_bitalg.
245 * testsuite/gas/i386/i386.exp: Add AVX512_BITALG tests.
246 * testsuite/gas/i386/avx512f_bitalg-intel.d: New test.
247 * testsuite/gas/i386/avx512f_bitalg.d: Likewise.
248 * testsuite/gas/i386/avx512f_bitalg.s: Likewise.
249 * testsuite/gas/i386/avx512vl_bitalg-intel.d: Likewise.
250 * testsuite/gas/i386/avx512vl_bitalg.d: Likewise.
251 * testsuite/gas/i386/avx512vl_bitalg.s: Likewise.
252 * testsuite/gas/i386/x86-64-avx512f_bitalg-intel.d: Likewise.
253 * testsuite/gas/i386/x86-64-avx512f_bitalg.d: Likewise.
254 * testsuite/gas/i386/x86-64-avx512f_bitalg.s: Likewise.
255 * testsuite/gas/i386/x86-64-avx512vl_bitalg-intel.d: Likewise.
256 * testsuite/gas/i386/x86-64-avx512vl_bitalg.d: Likewise.
257 * testsuite/gas/i386/x86-64-avx512vl_bitalg.s: Likewise.
259 2017-10-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
261 * config/tc-i386.c (cpu_arch): Add .avx512_vnni.
262 (cpu_noarch): Add noavx512_vnni.
263 * doc/c-i386.texi: Document .avx512_vnni.
264 * testsuite/gas/i386/i386.exp: Add AVX512_VNNI tests.
265 * testsuite/gas/i386/avx512vnni-intel.d: New test.
266 * testsuite/gas/i386/avx512vnni.d: Likewise.
267 * testsuite/gas/i386/avx512vnni.s: Likewise.
268 * testsuite/gas/i386/avx512vnni_vl-intel.d: Likewise.
269 * testsuite/gas/i386/avx512vnni_vl.d: Likewise.
270 * testsuite/gas/i386/avx512vnni_vl.s: Likewise.
271 * testsuite/gas/i386/x86-64-avx512vnni-intel.d: Likewise.
272 * testsuite/gas/i386/x86-64-avx512vnni.d: Likewise.
273 * testsuite/gas/i386/x86-64-avx512vnni.s: Likewise.
274 * testsuite/gas/i386/x86-64-avx512vnni_vl-intel.d: Likewise.
275 * testsuite/gas/i386/x86-64-avx512vnni_vl.d: Likewise.
276 * testsuite/gas/i386/x86-64-avx512vnni_vl.s: Likewise.
278 2017-10-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
280 * config/tc-i386.c (cpu_arch): Add VPCLMULQDQ.
281 * doc/c-i386.texi: Document VPCLMULQDQ.
282 * testsuite/gas/i386/i386.exp: Run VPCLMULQDQ tests.
283 * testsuite/gas/i386/avx512f_vpclmulqdq-intel.d: New test.
284 * testsuite/gas/i386/avx512f_vpclmulqdq-wig.s: Ditto.
285 * testsuite/gas/i386/avx512f_vpclmulqdq-wig1-intel.d: Ditto.
286 * testsuite/gas/i386/avx512f_vpclmulqdq-wig1.d: Ditto.
287 * testsuite/gas/i386/avx512f_vpclmulqdq.d: Ditto.
288 * testsuite/gas/i386/avx512f_vpclmulqdq.s: Ditto.
289 * testsuite/gas/i386/avx512vl_vpclmulqdq-intel.d: Ditto.
290 * testsuite/gas/i386/avx512vl_vpclmulqdq-wig.s: Ditto.
291 * testsuite/gas/i386/avx512vl_vpclmulqdq-wig1-intel.d: Ditto.
292 * testsuite/gas/i386/avx512vl_vpclmulqdq-wig1.d: Ditto.
293 * testsuite/gas/i386/avx512vl_vpclmulqdq.d: Ditto.
294 * testsuite/gas/i386/avx512vl_vpclmulqdq.s: Ditto.
295 * testsuite/gas/i386/vpclmulqdq-intel.d: Ditto.
296 * testsuite/gas/i386/vpclmulqdq.d: Ditto.
297 * testsuite/gas/i386/vpclmulqdq.s: Ditto.
298 * testsuite/gas/i386/x86-64-avx512f_vpclmulqdq-intel.d: Ditto.
299 * testsuite/gas/i386/x86-64-avx512f_vpclmulqdq-wig.s: Ditto.
300 * testsuite/gas/i386/x86-64-avx512f_vpclmulqdq-wig1-intel.d: Ditto.
301 * testsuite/gas/i386/x86-64-avx512f_vpclmulqdq-wig1.d: Ditto.
302 * testsuite/gas/i386/x86-64-avx512f_vpclmulqdq.d: Ditto.
303 * testsuite/gas/i386/x86-64-avx512f_vpclmulqdq.s: Ditto.
304 * testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq-intel.d: Ditto.
305 * testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq-wig.s: Ditto.
306 * testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq-wig1-intel.d: Ditto.
307 * testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq-wig1.d: Ditto.
308 * testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq.d: Ditto.
309 * testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq.s: Ditto.
310 * testsuite/gas/i386/x86-64-vpclmulqdq-intel.d: Ditto.
311 * testsuite/gas/i386/x86-64-vpclmulqdq.d: Ditto.
312 * testsuite/gas/i386/x86-64-vpclmulqdq.s: Ditto.
314 2017-10-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
316 * config/tc-i386.c (cpu_arch): Add VAES.
317 * doc/c-i386.texi: Document VAES.
318 * testsuite/gas/i386/i386.exp: Run VAES tests.
319 * testsuite/gas/i386/avx512f_vaes-intel.d: New test.
320 * testsuite/gas/i386/avx512f_vaes-wig.s: Ditto.
321 * testsuite/gas/i386/avx512f_vaes-wig1-intel.d: Ditto.
322 * testsuite/gas/i386/avx512f_vaes-wig1.d: Ditto.
323 * testsuite/gas/i386/avx512f_vaes.d: Ditto.
324 * testsuite/gas/i386/avx512f_vaes.s: Ditto.
325 * testsuite/gas/i386/avx512vl_vaes-intel.d: Ditto.
326 * testsuite/gas/i386/avx512vl_vaes-wig.s: Ditto.
327 * testsuite/gas/i386/avx512vl_vaes-wig1-intel.d: Ditto.
328 * testsuite/gas/i386/avx512vl_vaes-wig1.d: Ditto.
329 * testsuite/gas/i386/avx512vl_vaes.d: Ditto.
330 * testsuite/gas/i386/avx512vl_vaes.s: Ditto.
331 * testsuite/gas/i386/vaes-intel.d: Ditto.
332 * testsuite/gas/i386/vaes.d: Ditto.
333 * testsuite/gas/i386/vaes.s: Ditto.
334 * testsuite/gas/i386/x86-64-avx512f_vaes-intel.d: Ditto.
335 * testsuite/gas/i386/x86-64-avx512f_vaes-wig.s: Ditto.
336 * testsuite/gas/i386/x86-64-avx512f_vaes-wig1-intel.d: Ditto.
337 * testsuite/gas/i386/x86-64-avx512f_vaes-wig1.d: Ditto.
338 * testsuite/gas/i386/x86-64-avx512f_vaes.d: Ditto.
339 * testsuite/gas/i386/x86-64-avx512f_vaes.s: Ditto.
340 * testsuite/gas/i386/x86-64-avx512vl_vaes-intel.d: Ditto.
341 * testsuite/gas/i386/x86-64-avx512vl_vaes-wig.s: Ditto.
342 * testsuite/gas/i386/x86-64-avx512vl_vaes-wig1-intel.d: Ditto.
343 * testsuite/gas/i386/x86-64-avx512vl_vaes-wig1.d: Ditto.
344 * testsuite/gas/i386/x86-64-avx512vl_vaes.d: Ditto.
345 * testsuite/gas/i386/x86-64-avx512vl_vaes.s: Ditto.
346 * testsuite/gas/i386/x86-64-vaes-intel.d: Ditto.
347 * testsuite/gas/i386/x86-64-vaes.d: Ditto.
348 * testsuite/gas/i386/x86-64-vaes.s: Ditto.
350 2017-10-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
352 * config/tc-i386.c (cpu_arch): Add .gfni.
353 * doc/c-i386.texi: Document .gfni.
354 * testsuite/gas/i386/i386.exp: Add GFNI tests.
355 * testsuite/gas/i386/avx.s: New GFNI test.
356 * testsuite/gas/i386/x86-64-avx.s: Likewise.
357 * testsuite/gas/i386/avx.d: Adjust.
358 * testsuite/gas/i386/avx-intel.d: Likewise
359 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
360 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
361 * testsuite/gas/i386/avx512f_gfni-intel.d: New test.
362 * testsuite/gas/i386/avx512f_gfni.d: Likewise.
363 * testsuite/gas/i386/avx512f_gfni.s: Likewise.
364 * testsuite/gas/i386/avx512vl_gfni-intel.d: Likewise.
365 * testsuite/gas/i386/avx512vl_gfni.d: Likewise.
366 * testsuite/gas/i386/avx512vl_gfni.s: Likewise.
367 * testsuite/gas/i386/gfni-intel.d: Likewise.
368 * testsuite/gas/i386/gfni.d: Likewise.
369 * testsuite/gas/i386/gfni.s: Likewise.
370 * testsuite/gas/i386/x86-64-avx512f_gfni-intel.d: Likewise.
371 * testsuite/gas/i386/x86-64-avx512f_gfni.d: Likewise.
372 * testsuite/gas/i386/x86-64-avx512f_gfni.s: Likewise.
373 * testsuite/gas/i386/x86-64-avx512vl_gfni-intel.d: Likewise.
374 * testsuite/gas/i386/x86-64-avx512vl_gfni.d: Likewise.
375 * testsuite/gas/i386/x86-64-avx512vl_gfni.s: Likewise.
376 * testsuite/gas/i386/x86-64-avx_gfni-intel.d: Likewise.
377 * testsuite/gas/i386/x86-64-avx_gfni.d: Likewise.
378 * testsuite/gas/i386/x86-64-avx_gfni.s: Likewise.
379 * testsuite/gas/i386/x86-64-gfni-intel.d: Likewise.
380 * testsuite/gas/i386/x86-64-gfni.d: Likewise.
381 * testsuite/gas/i386/x86-64-gfni.s: Likewise.
383 2017-10-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
385 * config/tc-i386.c (cpu_arch): Add .avx512_vbmi2.
386 (cpu_noarch): noavx512_vbmi2.
387 * doc/c-i386.texi: Document .avx512_vbmi2, noavx512_vbmi2.
388 * testsuite/gas/i386/i386.exp: Add AVX512_VBMI2 tests.
389 * testsuite/gas/i386/avx512vbmi2-intel.d: New test.
390 * testsuite/gas/i386/avx512vbmi2.d: Likewise.
391 * testsuite/gas/i386/avx512vbmi2.s: Likewise.
392 * testsuite/gas/i386/avx512vbmi2_vl-intel.d: Likewise.
393 * testsuite/gas/i386/avx512vbmi2_vl.d: Likewise.
394 * testsuite/gas/i386/avx512vbmi2_vl.s: Likewise.
395 * testsuite/gas/i386/x86-64-avx512vbmi2-intel.d: Likewise.
396 * testsuite/gas/i386/x86-64-avx512vbmi2.d: Likewise.
397 * testsuite/gas/i386/x86-64-avx512vbmi2.s: Likewise.
398 * testsuite/gas/i386/x86-64-avx512vbmi2_vl-intel.d: Likewise.
399 * testsuite/gas/i386/x86-64-avx512vbmi2_vl.d: Likewise.
400 * testsuite/gas/i386/x86-64-avx512vbmi2_vl.s: Likewise.
402 2017-10-22 Hans-Peter Nilsson <hp@axis.com>
405 * testsuite/gas/cris/range-err-1.s: Remove quotes left from last edit.
407 2017-10-20 Nick Clifton <nickc@redhat.com>
410 * read.c (s_rept): Use size_t type for count parameter.
411 (do_repeat): Change type of count parameter to size_t.
412 Issue an error is the count parameter is negative.
413 (do_repeat_with_expression): Likewise.
414 * read.h: Update prototypes for do_repeat and
415 do_repeat_with_expression.
416 * doc/as.texinfo (Rept): Document that a zero count is allowed but
417 negative counts are not.
418 * config/tc-rx.c (rx_rept): Use size_t type for count parameter.
419 * config/tc-tic54x.c (tic54x_loop): Cast count parameter to size_t
421 * testsuite/gas/macros/end.s: Add a test using a negative repeat
423 * testsuite/gas/macros/end.l: Add expected error message.
425 2017-10-19 Palmer Dabbelt <palmer@dabbelt.com>
427 * config/tc-riscv.c (md_apply_fix): Mark
428 BFD_RELOC_RISCV_PCREL_HI20 as relaxable when relaxations are
431 2017-10-19 Nick Clifton <nickc@redhat.com>
434 * config/tc-avr.h (struct avr_frag_data): Add prev_opcode field.
435 (TC_FRAG_INIT): Define.
436 (avr_frag_init): Add prototype.
437 * config/tc-avr.c (avr_frag_init): New function.
438 (avr_operands): Replace static local 'prev' variable with
439 prev_opcode field in current frag.
440 * testsuite/gas/avr/pr21621.s: New test source file.
441 * testsuite/gas/avr/pr21621.d: New test driver file.
442 * testsuite/gas/avr/pr21621.s: New test error output file.
444 2017-10-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
446 * testsuite/gas/all/fill-1.s: Use normal labels. Change .text to
447 .data. Pick different values. Use .dc.w instead of .word.
448 * testsuite/gas/all/fill-1.d: New objdump output check.
449 * testsuite/gas/all/gas.exp: Use run_dump_test to execute fill-1
452 2017-10-18 Palmer Dabbelt <palmer@dabbelt.com>
454 * testsuite/gas/all/align.d: Mark as unsupported on RISC-V.
455 testsuite/gas/all/relax.d: Likewise.
456 testsuite/gas/all/sleb128-2.d: Likewise.
457 testsuite/gas/all/sleb128-4.d: Likewise.
458 testsuite/gas/all/sleb128-5.d: Likewise.
459 testsuite/gas/all/sleb128-7.d: Likewise.
460 testsuite/gas/elf/section11.d: Likewise.
461 testsuite/gas/all/gas.exp (diff1.s): Likewise.
463 2017-10-18 Nick Clifton <nickc@redhat.com>
466 * testsuite/gas/cris/range-err-1.s: Remove spurious xfails.
467 * testsuite/gas/cris/cris.exp: Expect the shexpr-1 test to pass.
469 2017-10-18 Nick Clifton <nickc@redhat.com>
471 * po/sv.po: Updated Swedish translation.
473 2017-10-16 Sandra Loosemore <sandra@codesourcery.com>
474 Henry Wong <henry@stuffedcow.net>
476 * config/tc-nios2.c (nios2_translate_pseudo_insn): Check for
477 correct number of arguments.
478 (md_assemble): Handle failure of nios2_translate_pseudo_insn.
479 * testsuite/gas/nios2/illegal_pseudoinst.l: New file.
480 * testsuite/gas/nios2/illegal_pseudoinst.s: New file.
481 * testsuite/gas/nios2/nios2.exp: Add illegal_pseudoinst test.
483 2017-10-12 James Bowman <james.bowman@ftdichip.com>
485 * config/tc-ft32.c (md_assemble): Replace FT32_FLD_K8 with
487 (md_apply_fix, tc_gen_reloc): Add BFD_RELOC_FT32_15.
489 2017-10-11 Nick Clifton <nickc@redhat.com>
492 * listing.c (listing_newline): Use the name of the current
493 physical input file, rather than the current logical input file,
494 unless including high level source in the listing.
495 * input-scrub.c (as_where_physical): New function. Returns the
496 name of the current physical input file.
497 * as.h: Add prototype for as_where_physical.
499 2017-10-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
501 * testsuite/gas/s390/zarch-arch12.d (prno, tpei, irbm): New
503 * testsuite/gas/s390/zarch-arch12.s: Likewise.
504 * testsuite/gas/s390/zarch-z13.d: Rename ppno to prno.
506 2017-10-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
508 * testsuite/gas/all/fill-1.s: Replace nop with .word 42
510 2017-10-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
512 * read.c (s_fill): Invoke expression instead of
513 get_known_segmented_expression.
514 * testsuite/gas/all/fill-1.s: New testcase.
515 * testsuite/gas/all/gas.exp: Run fill-1 testcase
517 2017-10-05 Nick Clifton <nickc@redhat.com>
520 * config/tc-msp430.c (parse_exp): Skip an 'h' suffix to constant
522 (msp430_srcoperand): Check that the entire text was parsed by
524 (msp430_operands): Likewise.
525 * testsuite/gas/msp430/pr22133.s: New test file.
526 * testsuite/gas/msp430/pr22133.d: New test driver.
527 * testsuite/gas/msp430/pr22133.s: Expected error output.
528 * testsuite/gas/msp430/msp430.exp: Run the new test.
530 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
533 * testsuite/gas/elf/elf.exp: Run group3.
534 * testsuite/gas/elf/group3.d: New file.
535 * testsuite/gas/elf/group3.s: Likewise.
537 2017-10-05 Alan Modra <amodra@gmail.com>
540 * config/obj-elf.c (struct group_list): Delete elt_count.
541 (groups): New static.
542 (build_group_lists): Don't count elements.
543 (elf_adjust_symtab): Use "groups" rather than auto "list". Set up
544 pointer from group member to SHT_GROUP section. Don't size
545 SHT_GROUP section or clean up here..
546 (elf_frob_file_after_relocs): ..do so here instead.
547 * testsuite/gas/arc/jli-1.d,
548 * testsuite/gas/elf/groupautob.d,
549 * testsuite/gas/mips/compact-eh-eb-2.d,
550 * testsuite/gas/mips/compact-eh-eb-5.d,
551 * testsuite/gas/mips/compact-eh-el-2.d,
552 * testsuite/gas/mips/compact-eh-el-5.d: Adjust.
554 2017-10-01 Alexander Fedotov <alfedotov@gmail.com>
556 * testsuite/gas/ppc/vle-mult-ld-st-insns.s: New file: Tests the
557 support for the VLE multiple load/store instructions.
558 * testsuite/gas/ppc/vle-mult-ld-st-insns.d: New file: Test
560 * testsuite/gas/ppc/ppc.exp: Run it.
562 2017-09-27 Nick Clifton <nickc@redhat.com>
565 * testsuite/gas/riscv/fmv.x.s: New file: Tests the support for the
566 renamed fmv.x.s and fmv.s.x instructions.
567 * testsuite/gas/riscv/fmv.x.d: New file: Test driver.
569 2017-09-21 Maciej W. Rozycki <macro@imgtec.com>
571 * testsuite/gas/mips/elf_mach_5900.d: New test.
572 * testsuite/gas/mips/mips.exp: Run it.
574 2017-09-21 James Cowgill <James.Cowgill@imgtec.com>
577 * config/tc-mips.c (s_mips_stab): Insert call to
578 file_mips_check_options.
579 * testsuite/gas/mips/micromips@stabs-symbol-type.d: New test.
580 * testsuite/gas/mips/mips.exp: Run the new tests.
581 * testsuite/gas/mips/mips16@stabs-symbol-type.d: New test.
582 * testsuite/gas/mips/stabs-symbol-type.d: New test.
583 * testsuite/gas/mips/stabs-symbol-type.s: New test source.
585 2017-09-21 Alan Modra <amodra@gmail.com>
587 * config/tc-ppc.h (EH_FRAME_ALIGNMENT): Define.
589 2017-09-14 Alan Modra <amodra@gmail.com>
592 * write.c (resolve_reloc_expr_symbols): Don't segfault when
593 sec has been set to NULL.
595 2017-09-09 H.J. Lu <hongjiu.lu@intel.com>
597 * config/tc-i386.c (NOTRACK_PREFIX): Removed.
598 (REX_PREFIX): Updated.
599 (MAX_PREFIXES): Likewise.
600 (parse_insn): Remove restriction on NOTRACK prefix position.
601 * testsuite/gas/i386/notrack.s: Add tests with NOTRACK prefix
602 before other prefixes.
603 * testsuite/gas/i386/x86-64-notrack.s: Likewise.
604 * testsuite/gas/i386/notrackbad.s: Remove tests with NOTRACK
605 prefix before other prefixes.
606 * testsuite/gas/i386/x86-64-notrackbad.s: Likewise.
607 * testsuite/gas/i386/notrack-intel.d: Updated.
608 * testsuite/gas/i386/notrack.d: Likewise.
609 * testsuite/gas/i386/notrackbad.l: Likewise.
610 * testsuite/gas/i386/x86-64-notrack-intel.d: Likewise.
611 * testsuite/gas/i386/x86-64-notrack.d: Likewise.
612 * testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
614 2017-09-07 Palmer Dabbelt <palmer@dabbelt.com>
616 * config/tc-riscv.c (riscv_frag_align_code): Emit the entire
617 alignment sequence inside R_RISCV_ALIGN.
619 2017-09-05 Alexander Fedotov <alexander.fedotov@nxp.com>
620 Edmar Wienskoski <edmar.wienskoski@nxp.com
622 * config/tc-ppc.c (md_parse_option): Handle "mno-vle" flag.
623 (ppc_elf_section_letter): New function.
624 * config/tc-ppc.h (md_elf_section_letter): New.
625 * testsuite/gas/elf/section10.d: Adjust for VLE.
627 2017-09-01 Tamar Christina <tamar.christina@arm.com>
629 * config/tc-aarch64.c (aarch64_cpus): Enable DOTPROD for
630 cortex-a55 and cortx-a75.
632 2017-08-30 Maciej W. Rozycki <macro@imgtec.com>
634 * testsuite/gas/mips/branch-addend-micromips.d: New test.
635 * testsuite/gas/mips/branch-addend-micromips-n32.d: New test.
636 * testsuite/gas/mips/branch-addend-micromips-n64.d: New test.
637 * testsuite/gas/mips/branch-addend-micromips.s: New test source.
638 * testsuite/gas/mips/mips.exp: Run the new tests.
640 2017-08-30 Maciej W. Rozycki <macro@imgtec.com>
642 * config/tc-mips.c (md_convert_frag): Respect
643 `mips_ignore_branch_isa'.
644 * testsuite/gas/mips/branch-local-5.d: New test.
645 * testsuite/gas/mips/branch-local-n32-5.d: New test.
646 * testsuite/gas/mips/branch-local-n64-5.d: New test.
647 * testsuite/gas/mips/branch-local-6.d: New test.
648 * testsuite/gas/mips/branch-local-n32-6.d: New test.
649 * testsuite/gas/mips/branch-local-n64-6.d: New test.
650 * testsuite/gas/mips/branch-local-7.d: New test.
651 * testsuite/gas/mips/branch-local-n32-7.d: New test.
652 * testsuite/gas/mips/branch-local-n64-7.d: New test.
653 * testsuite/gas/mips/branch-local-ignore-5.d: New test.
654 * testsuite/gas/mips/branch-local-ignore-n32-5.d: New test.
655 * testsuite/gas/mips/branch-local-ignore-n64-5.d: New test.
656 * testsuite/gas/mips/branch-local-ignore-6.d: New test.
657 * testsuite/gas/mips/branch-local-ignore-n32-6.d: New test.
658 * testsuite/gas/mips/branch-local-ignore-n64-6.d: New test.
659 * testsuite/gas/mips/branch-local-5.l: New stderr output.
660 * testsuite/gas/mips/branch-local-6.l: New stderr output.
661 * testsuite/gas/mips/branch-local-5.s: New test source.
662 * testsuite/gas/mips/branch-local-6.s: New test source.
663 * testsuite/gas/mips/branch-local-7.s: New test source.
664 * testsuite/gas/mips/mips.exp: Run the new tests.
666 2017-08-30 Maciej W. Rozycki <macro@imgtec.com>
668 * testsuite/gas/mips/branch-local-n32-2.d: Use `branch-local-2.l'
670 * testsuite/gas/mips/branch-local-n64-2.d: Likewise.
671 * testsuite/gas/mips/branch-local-n32-3.d: Use `branch-local-3.l'
673 * testsuite/gas/mips/branch-local-n64-3.d: Likewise.
674 * testsuite/gas/mips/branch-local-n32-2.l: Remove file.
675 * testsuite/gas/mips/branch-local-n64-2.l: Remove file.
676 * testsuite/gas/mips/branch-local-n32-3.l: Remove file.
677 * testsuite/gas/mips/branch-local-n64-3.l: Remove file.
679 2017-08-29 Jozef Lawrynowicz <jozef.l@somniumtech.com>
681 * config/tc-msp430.c (md_parse_option): Define high data and high
682 bss symbols if -mdata-region is passed.
683 Define -mdata-region open.
684 * doc/c-msp430.texi: Document -mdata-region.
685 * testsuite/gas/msp430/high-data-bss-sym.d: New test.
686 * testsuite/gas/msp430/high-data-bss-sym.s: New.
687 * testsuite/gas/msp430/msp430.exp: Add -mdata-region tests.
689 2017-08-23 Alexander Fedotov <alexander.fedotov@nxp.com>
690 Edmar Wienskoski <edmar.wienskoski@nxp.com
693 (md_parse_option): Add mspe2 switch.
694 (md_show_usage): Document -mspe2.
695 (ppc_setup_opcodes): Handle spe2_opcodes.
696 * doc/as.texinfo: Document -mspe2.
697 * doc/c-ppc.texi: Likewise.
698 * testsuite/gas/ppc/efs.d: New file.
699 * testsuite/gas/ppc/efs.s: Likewise.
700 * testsuite/gas/ppc/efs2.d: Likewise.
701 * testsuite/gas/ppc/efs2.s: Likewise.
702 * testsuite/gas/ppc/ppc.exp: Run new tests.
703 * testsuite/gas/ppc/spe.d: New file.
704 * testsuite/gas/ppc/spe.s: Likewise.
705 * testsuite/gas/ppc/spe2-checks.d: Likewise.
706 * testsuite/gas/ppc/spe2-checks.l: Likewise.
707 * testsuite/gas/ppc/spe2-checks.s: Likewise.
708 * testsuite/gas/ppc/spe2.d: Likewise.
709 * testsuite/gas/ppc/spe2.s: Likewise.
710 * testsuite/gas/ppc/spe_ambiguous.d: Likewise.
711 * testsuite/gas/ppc/spe_ambiguous.s: Likewise.
713 2017-08-23 James Clarke <jrtc27@jrtc27.com>
715 * config/tc-sparc.c (tc_gen_reloc): Convert BFD_RELOC_8/16/32/64
716 into the corresponding BFD_RELOC_8/16/32/64_PCREL relocation
718 * config/tc-sparc.h (DIFF_EXPR_OK): Define to enable PC-relative
720 (TC_FORCE_RELOCATION_SUB_LOCAL): Define to ensure only supported
721 relocations are made PC-relative.
722 (CFI_DIFF_EXPR_OK): Define to 0 to force BFD_RELOC_32_PCREL to
723 be used directly, since otherwise BFD_RELOC_SPARC_UA32 will be
724 used for .eh_frame which cannot in general be converted to a
725 BFD_RELOC_32_PCREL due to alignment requirements.
727 2017-08-22 Alan Modra <amodra@gmail.com>
729 * testsuite/gas/ppc/lsp-checks.d: Assemble with -a32.
730 * testsuite/gas/ppc/lsp.d: Likewise.
732 2017-08-21 Alexander Fedotov <alexander.fedotov@nxp.com>
733 Edmar Wienskoski <edmar.wienskoski@nxp.com
735 * testsuite/gas/ppc/lsp-checks.d,
736 * testsuite/gas/ppc/lsp-checks.l,
737 * testsuite/gas/ppc/lsp-checks.s: New test.
738 * testsuite/gas/ppc/lsp.d,
739 * testsuite/gas/ppc/lsp.s: New test.
740 * testsuite/gas/ppc/ppc.exp: Run new tests.
742 2017-08-15 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
744 * config/tc-aarch64.c (REGDEF_ALIAS): Define
745 (reg_names): Update for ip0, ip1, fp, lr to use REGDEF_ALIAS
746 * doc/c-aarch64.texi: Update documentation on .req.
747 * testsuite/gas/diagnostic.s: Update
748 * testsuite/gas/diagnostic.l: Likewise
749 * testsuite/gas/register_aliases.s: New file.
750 * testsuite/gas/register_aliases.d: New file.
752 2017-08-11 H.J. Lu <hongjiu.lu@intel.com>
755 * read.c (pseudo_set): Update error message for alias of common
757 * write.c (write_object_file): Disallow both local and global
758 aliases of common symbol.
759 * testsuite/gas/elf/common5a.d: New file.
760 * testsuite/gas/elf/common5a.l: Likewise.
761 * testsuite/gas/elf/common5a.s: Likewise.
762 * testsuite/gas/elf/common5b.d: Likewise.
763 * testsuite/gas/elf/common5b.l: Likewise.
764 * testsuite/gas/elf/common5b.s: Likewise.
765 * testsuite/gas/elf/common5c.d: Likewise.
766 * testsuite/gas/elf/common5c.s: Likewise.
767 * testsuite/gas/elf/common5d.d: Likewise.
768 * testsuite/gas/elf/common5d.s: Likewise.
769 * testsuite/gas/elf/elf.exp: Run common5a, common5b, common5c
772 2017-08-10 Nick Clifton <nickc@redhat.com>
775 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Increase
776 size of indirect_syms array so that it is large enough to hold
777 every symbol if necessary.
779 2017-08-09 Jiong Wang <jiong.wang@arm.com>
781 * config/tc-arm.c (do_crc32_1): Remove warning on REG_SP for thumb_mode.
782 * testsuite/gas/arm/crc32-armv8-a-bad.d: Update exepcted result.
783 * testsuite/gas/arm/crc32-armv8-r-bad.d: Likewise.
784 * testsuite/gas/arm/crc32-armv8-a.d: Likewise.
785 * testsuite/gas/arm/crc32-armv8-r.d: Likewise.
786 * testsuite/gas/arm/crc32-armv8-ar-bad.s: Update test case.
787 * testsuite/gas/arm/crc32-armv8-ar.s: Likewise.
788 * testsuite/gas/arm/crc32-bad.l: Update expected error message.
790 2017-08-02 Nick Clifton <nickc@redhat.com>
792 * testsuite/gas/all/gas.exp: Add am33 to the skip lists of tests
793 passed over by the mn10300 target.
794 * testsuite/gas/elf/elf.exp: Likewise.
795 * testsuite/gas/elf/dwarf2-11.d: Correct skip of am33 target.
796 * testsuite/gas/elf/dwarf2-12.d: Likewise.
797 * testsuite/gas/elf/dwarf2-13.d: Likewise.
798 * testsuite/gas/elf/dwarf2-14.d: Likewise.
799 * testsuite/gas/elf/dwarf2-15.d: Likewise.
800 * testsuite/gas/elf/dwarf2-16.d: Likewise.
801 * testsuite/gas/elf/dwarf2-17.d: Likewise.
802 * testsuite/gas/elf/dwarf2-18.d: Likewise.
803 * testsuite/gas/elf/dwarf2-5.d: Likewise.
804 * testsuite/gas/elf/dwarf2-6.d: Likewise.
805 * testsuite/gas/elf/dwarf2-7.d: Likewise.
807 2017-08-01 H.J. Lu <hongjiu.lu@intel.com>
810 * config/tc-i386-intel.c (i386_intel_operand): Update segment
812 * testsuite/gas/i386/intelok.s: Replace "fs:gs:[eax]" with
814 * testsuite/gas/i386/inval-seg.s: Add tests for invalid segment
816 * testsuite/gas/i386/x86-64-inval-seg.s: Likewise.
817 * testsuite/gas/i386/inval-seg.l: Updated.
818 * testsuite/gas/i386/x86-64-inval-seg.l: Likewise.
820 2017-07-31 John David Anglin <danglin@gcc.gnu.org>
822 * config/tc-hppa.c (pa_ip): Clear `d' bit in branch on bit instructions
823 with a double-word condition and a fixed bit position greater than 31.
825 2017-07-28 Andrew Waterman <andrew@sifive.com>
827 * config/tc-riscv.c (riscv_set_arch): Handle the Q subset like
829 Obviate use-after-free.
831 2017-07-25 Nick Clifton <nickc@redhat.com>
834 * testsuite/gas/arc/add_s-err.s: Update expected error message.
836 2017-07-24 Nick Clifton <nickc@redhat.com>
839 * config/tc-aarch64.c (aarch64_init_frag): Do not set a mapping
840 state for frags in debug sections.
841 * config/tc-arm.c (arm_init_frag): Likewise.
843 2017-07-24 Hans-Peter Nilsson <hp@bitrange.com>
845 * dwarf2dbg.c (dwarf2dbg_final_check): Rename local variable exp
848 2017-07-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
850 * config/tc-s390.c (s390_parse_cpu): Add z14 as alternate CPU
852 * doc/as.texinfo: Add z14 to CPU string list.
853 * doc/c-s390.texi: Likewise.
855 2017-07-21 Alexandre Oliva <aoliva@redhat.com>
857 * dwarf2dbg.c (unused): Check offset of next in struct line_entry.
858 (current): Initialize view.
859 (force_reset_view, view_assert_failed): New variables.
860 (reverse_line_entry_list): New function.
861 (set_or_check_view): Likewise.
862 (dwarf2_gen_line_info_1): Call it.
863 (dwarf2_where): Set view to NULL.
864 (dwarf2_emit_insn): Return early when called before first file.
865 (dwarf2_directive_loc): Add view support. Emit insn
866 immediately when view option is given.
867 (process_entries): Avoid set_address to reset view when a known
868 address change already implies the view reset.
869 (dwarf2dbg_final_check): New function.
870 * dwarf2dbg.h (struct dwarf2_line_info): Add view.
871 (dwarf2dbg_final_check): Declare.
872 * read.c (s_leb128): Parse expression as deferred.
873 * write.c (write_object_file): Check pending view asserts.
874 (cvt_frag_to_fill): Complain about undefined leb128 operand.
875 * doc/as.texinfo (.loc): Document view support.
876 * NEWS: Mention the new feature.
877 * testsuite/gas/all/gas.exp: Run sleb128-9.
878 * testsuite/gas/all/sleb128-9.d: New.
879 * testsuite/gas/all/sleb128-9.l: New.
880 * testsuite/gas/all/sleb128-9.s: New.
881 * testsuite/gas/elf/dwarf2-1.d: Add nonzero views.
882 * testsuite/gas/elf/dwarf2-2.d: Likewise.
883 * testsuite/gas/elf/dwarf2-5.d: New.
884 * testsuite/gas/elf/dwarf2-5.s: New.
885 * testsuite/gas/elf/dwarf2-6.d: New.
886 * testsuite/gas/elf/dwarf2-6.s: New.
887 * testsuite/gas/elf/dwarf2-7.d: New.
888 * testsuite/gas/elf/dwarf2-7.s: New.
889 * testsuite/gas/elf/dwarf2-8.d: New.
890 * testsuite/gas/elf/dwarf2-8.l: New.
891 * testsuite/gas/elf/dwarf2-8.s: New.
892 * testsuite/gas/elf/dwarf2-9.d: New.
893 * testsuite/gas/elf/dwarf2-9.l: New.
894 * testsuite/gas/elf/dwarf2-9.s: New.
895 * testsuite/gas/elf/dwarf2-10.d: New.
896 * testsuite/gas/elf/dwarf2-10.l: New.
897 * testsuite/gas/elf/dwarf2-10.s: New.
898 * testsuite/gas/elf/dwarf2-11.d: New.
899 * testsuite/gas/elf/dwarf2-11.s: New.
900 * testsuite/gas/elf/dwarf2-12.d: New.
901 * testsuite/gas/elf/dwarf2-12.s: New.
902 * testsuite/gas/elf/dwarf2-13.d: New.
903 * testsuite/gas/elf/dwarf2-13.s: New.
904 * testsuite/gas/elf/dwarf2-14.d: New.
905 * testsuite/gas/elf/dwarf2-14.s: New.
906 * testsuite/gas/elf/dwarf2-15.d: New.
907 * testsuite/gas/elf/dwarf2-15.s: New.
908 * testsuite/gas/elf/dwarf2-16.d: New.
909 * testsuite/gas/elf/dwarf2-16.s: New.
910 * testsuite/gas/elf/dwarf2-17.d: New.
911 * testsuite/gas/elf/dwarf2-17.s: New.
912 * testsuite/gas/elf/dwarf2-18.d: New.
913 * testsuite/gas/elf/dwarf2-18.s: New.
914 * testsuite/gas/elf/elf.exp: Run dwarf2-5..18 tests.
915 * testsuite/gas/i386/dw2-compress-1.d: Add nonzero views.
916 * testsuite/gas/i386/dw2-compressed-1.d: Likewise.
917 * testsuite/gas/i386/ilp32/lns/lns-duplicate.d: Likewise.
918 * testsuite/gas/lns/lns-big-delta.d: Likewise.
919 * testsuite/gas/lns/lns-duplicate.d: Likewise.
920 * testsuite/gas/mips/loc-swap-2.d: Likewise.
921 * testsuite/gas/mips/loc-swap-3.d: Likewise.
922 * testsuite/gas/mips/loc-swap.d: Likewise.
923 * testsuite/gas/mips/micromips@loc-swap-2.d: Likewise.
924 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
925 * testsuite/gas/mips/mips16@loc-swap-2.d: Likewise.
926 * testsuite/gas/mips/mips16@loc-swap.d: Likewise.
927 * testsuite/gas/mips/mips16e@loc-swap.d: Likewise.
929 2017-07-19 Claudiu Zissulescu <claziss@synopsys.com>
931 * testsuite/gas/arc/jli-1.d: New file.
932 * testsuite/gas/arc/jli-1.s: Likewise.
933 * testsuite/gas/arc/taux.d: Update for jli_base.
935 2017-07-19 Tristan Gingold <gingold@adacore.com>
937 * as.c (start_sbrk): Remove.
938 (main): Remove assignment.
939 (dump_statistics): Remove display of data size.
941 2017-07-19 Tristan Gingold <gingold@adacore.com>
943 * testsuite/gas/pe/seh-x64-err-2.s: New test.
944 * testsuite/gas/pe/seh-x64-err-2.l: New stderr output.
945 * testsuite/gas/pe/pe.exp: Add test.
946 * config/obj-coff-seh.c (obj_coff_seh_do_final): Don't try to end
949 2017-07-18 Nick Clifton <nickc@redhat.com>
952 * config/tc-arm.c: Fix spelling typos.
953 * config/tc-mips.c: Likewise.
954 * config/tc-msp430.c: Likewise.
955 * config/tc-sh64.c: Likewise.
956 * config/tc-tic4x.c: Likewise.
958 * testsuite/gas/arm/ldr-bad.l: Likewise.
959 * testsuite/gas/arm/ldr-t-bad.l: Likewise.
960 * testsuite/gas/tic54x/opcodes.s: Likewise.
961 * testsuite/gas/msp340/errata_warns.l: Likewise.
963 2017-07-18 Nick Clifton <nickc@redhat.com>
965 * po/uk.po: Updated Ukranian translation.
967 2017-07-17 Georg-Johann Lay <avr@gjlay.de>
970 * config/tc-avr.c (mcu_types): Add entries for: attiny212,
971 attiny214, attiny412, attiny414, attiny814, attiny1614,
972 attiny1616, attiny1617, attiny3214, attiny3216, attiny3217.
973 (md_show_usage): Adjust doc for "avrxmega3".
974 * doc/c-avr.texi (AVR options) [-mmcu=]: Adjust doc for avrxmega3.
975 Add MCUs: attiny212, attiny214, attiny412, attiny414, attiny416,
976 attiny417, attiny814, attiny816, attiny817, attiny1614,
977 attiny1616, attiny1617, attiny3214, attiny3216, attiny3217.
979 2017-07-13 Jim Wilson <jim.wilson@linaro.org>
981 * config/tc-arch64.c (aarch64_cpus): Add AARCH64_FEATURE_RDMA to
982 falkor and qdf24xx entries.
984 2017-07-12 Alan Modra <amodra@gmail.com>
986 * po/es.po: Update from translationproject.org/latest/gas/.
987 * po/fi.po: Likewise.
988 * po/fr.po: Likewise.
989 * po/id.po: Likewise.
990 * po/ja.po: Likewise.
991 * po/ru.po: Likewise.
992 * po/sv.po: Likewise.
993 * po/tr.po: Likewise.
994 * po/uk.po: Likewise.
995 * po/zh_CN.po: Likewise.
997 2017-07-12 Nick Clifton <nickc@redhat.com>
999 Fix compile time warnings using gcc 7.1.1.
1000 * config/tc-pru.c (md_assemble): Add continue statement after
1001 handling 'E' operand character.
1002 * config/tc-v850.c (md_assemble): Initialise the 'insn' variable.
1004 2017-07-05 James Greenhalgh <james.greenhalgh@arm.com>
1006 * config/tc-arm.c (arm_cpus): Add Cortex-A55 and Cortex-A75.
1007 * doc/c-arm.texi (-mcpu): Document Cortex-A55 and Cortex-A75.
1009 2017-07-05 Borislav Petkov <bp@suse.de>
1011 * testsuite/gas/i386/opcode.s: Add tests for ModRM.reg == 6 variants.
1012 * testsuite/gas/i386/opcode.d: ditto.
1013 * testsuite/gas/i386/x86-64-opcode.s: Add x86_64 variants too.
1014 * testsuite/gas/i386/x86-64-opcode.d: ditto.
1016 2017-07-04 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1018 * config/tc-arm.c (arm_regs): Add MVFR2.
1019 (do_vmrs): Constraint for MVFR2 and armv8.
1020 (do_vmsr): Likewise.
1021 * testsuite/gas/arm/armv8-a+fp.d: Update.
1022 * testsuite/gas/arm/armv8-ar+fp.s: Likewise.
1023 * testsuite/gas/arm/armv8-r+fp.d: Likewise.
1024 * testsuite/gas/arm/vfp-bad.s: Likewise.
1025 * testsuite/gas/arm/vfp-bad.l: Likewise.
1027 2017-07-04 Tristan Gingold <gingold@adacore.com>
1029 * configure: Regenerate.
1031 2017-07-04 Tristan Gingold <gingold@adacore.com>
1033 * NEWS: Add marker for 2.29.
1035 2017-07-03 Alan Modra <amodra@gmail.com>
1037 * testsuite/gas/elf/symver.d: Don't run on hppa64-hpux.
1039 2017-06-30 Maciej W. Rozycki <macro@imgtec.com>
1041 * config/tc-mips.c (md_convert_frag): Use a switch on the
1042 microMIPS relaxation type rather than a chain of conditionals.
1044 2017-06-30 Maciej W. Rozycki <macro@imgtec.com>
1046 * config/tc-mips.c (md_convert_frag): Rewrite `fix_new_exp'
1047 calls in terms of `fix_new'.
1049 2017-06-30 Maciej W. Rozycki <macro@imgtec.com>
1051 * config/tc-mips.c (md_convert_frag): Don't make a helper
1052 expression symbol for `fix_new_exp' called with a non-zero
1054 * testsuite/gas/mips/relax-offset.d: New test.
1055 * testsuite/gas/mips/mips1@relax-offset.d: New test.
1056 * testsuite/gas/mips/r3000@relax-offset.d: New test.
1057 * testsuite/gas/mips/r3900@relax-offset.d: New test.
1058 * testsuite/gas/mips/micromips@relax-offset.d: New test.
1059 * testsuite/gas/mips/relax-offset.l: New stderr output.
1060 * testsuite/gas/mips/relax-offset.s: New test source.
1061 * testsuite/gas/mips/mips.exp: Run the new tests.
1063 2017-06-30 Georg-Johann Lay <avr@gjlay.de>
1066 * doc/c-avr.texi (AVR Options) <-mgcc-isr>: Document it.
1067 (AVR Pseudo Instructions): New node.
1068 * config/tc-avr.h (md_pre_output_hook): Define to avr_pre_output_hook.
1069 (md_undefined_symbol): Define to avr_undefined_symbol.
1070 (avr_pre_output_hook, avr_undefined_symbol): New protos.
1071 * config/tc-avr.c (struc-symbol.h): Include it.
1072 (ISR_CHUNK_Done, ISR_CHUNK_Prologue, ISR_CHUNK_Epilogue): New enums.
1073 (avr_isr, avr_gccisr_opcode)
1074 (avr_no_sreg_hash, avr_no_sreg): New static variables.
1075 (avr_opt_s) <have_gccisr>: Add field.
1076 (avr_opt): Add initializer for have_gccisr.
1077 (enum options) <OPTION_HAVE_GCCISR>: Add enum.
1078 (md_longopts) <"mgcc-isr">: Add entry.
1079 (md_show_usage): Document -mgcc-isr.
1080 (md_parse_option) [OPTION_HAVE_GCCISR]: Handle it.
1081 (md_undefined_symbol): Remove.
1082 (avr_undefined_symbol, avr_pre_output_hook): New fuctions.
1083 (md_begin) <avr_no_sreg_hash, avr_gccisr_opcode>: Initialize them.
1084 (avr_operand) <pregno>: Add argument and set *pregno if function
1085 is called for a register constraint.
1086 [N]: Handle constraint.
1087 (avr_operands) <avr_operand>: Pass 5th parameter to calls.
1088 [avr_opt.have_gccisr]: Call avr_update_gccisr. Call
1089 avr_gccisr_operands instead of avr_operands.
1090 (avr_update_gccisr, avr_emit_insn, avr_patch_gccisr_frag)
1091 (avr_gccisr_operands, avr_check_gccisr_done): New static functions.
1092 * testsuite/gas/avr/gccisr-01.d: New test.
1093 * testsuite/gas/avr/gccisr-01.s: New test.
1094 * testsuite/gas/avr/gccisr-02.d: New test.
1095 * testsuite/gas/avr/gccisr-02.s: New test.
1096 * testsuite/gas/avr/gccisr-03.d: New test.
1097 * testsuite/gas/avr/gccisr-03.s: New test.
1099 2017-06-30 Maciej W. Rozycki <macro@imgtec.com>
1101 * config/tc-mips.c (match_float_constant): Update description.
1102 (match_operand): Likewise.
1104 2017-06-30 Andrew Bennett <andrew.bennett@imgtec.com>
1105 Maciej W. Rozycki <macro@imgtec.com>
1107 * config/tc-mips.c (mips_ases): Add microMIPS XPA support.
1108 * testsuite/gas/mips/micromips@xpa.d: New test.
1109 * testsuite/gas/mips/mips.exp: Run the new test. Enable
1110 `xpa-virt-err' test for `micromips'.
1112 2017-06-30 Andrew Bennett <andrew.bennett@imgtec.com>
1113 Maciej W. Rozycki <macro@imgtec.com>
1115 * testsuite/gas/mips/micromips@r5.d: New test.
1116 * testsuite/gas/mips/mips.exp: Run the new test.
1118 2017-06-30 Maciej W. Rozycki <macro@imgtec.com>
1119 Andrew Bennett <andrew.bennett@imgtec.com>
1121 * config/tc-mips.c (mips_set_ase): Handle the ASE_XPA_VIRT flag.
1122 * testsuite/gas/mips/xpa.d: Remove `xpa' from `-M' in `objdump'
1123 flags. Add `-mvirt' to `as' flags.
1124 * testsuite/gas/mips/xpa-err.d: New test.
1125 * testsuite/gas/mips/xpa-virt-err.d: New test.
1126 * testsuite/gas/mips/xpa-err.l: New stderr output.
1127 * testsuite/gas/mips/xpa-virt-err.l: New stderr output.
1128 * testsuite/gas/mips/xpa-err.s: New test source.
1129 * testsuite/gas/mips/xpa-virt-err.s: New test source.
1130 * testsuite/gas/mips/mips.exp: Run the new tests.
1132 2017-06-29 Maciej W. Rozycki <macro@imgtec.com>
1134 * testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: Adjust for the
1135 ASE_MIPS16E2_MT flag disassembler fix.
1136 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e2-mt-sub.d:
1139 2017-06-29 Maciej W. Rozycki <macro@imgtec.com>
1141 * config/tc-mips.c (mips_set_ase): Clear the ASE_MIPS16E2_MT
1142 flag before recalculating.
1143 * testsuite/gas/mips/mips16e2-mt-err.d: New test.
1144 * testsuite/gas/mips/mips16e2-mt-err.l: New stderr output.
1145 * testsuite/gas/mips/mips16e2-mt-err.s: New test source.
1146 * testsuite/gas/mips/mips.exp: Run the new test.
1148 2017-06-28 Tamar Christina <tamar.christina@arm.com>
1150 * config/tc-aarch64.c (aarch64_reg_parse_32_64): Accept 4B.
1151 (aarch64_features): Added dotprod.
1152 * doc/c-aarch64.texi: Added dotprod.
1153 * testsuite/gas/aarch64/dotproduct.d: New.
1154 * testsuite/gas/aarch64/dotproduct.s: New.
1156 2017-06-28 Jiong Wang <jiong.wang@arm.com>
1158 * config/tc-arm.c (fpu_neon_ext_dotprod): New variable.
1159 (neon_scalar_for_mul): Improve comments.
1160 (do_neon_dotproduct): New function to encode Dot Product instructions.
1161 (do_neon_dotproduct_s): Wrapper function for signed Dot Product
1163 (do_neon_dotproduct_u): Wrapper function for unsigned Dot Product
1165 (insns): New entries for vsdot and vudot.
1166 (arm_extensions): New entry for "dotprod".
1167 * doc/c-arm.texi: Document new "dotprod" extension.
1168 * testsuite/gas/arm/dotprod.s: New test source.
1169 * testsuite/gas/arm/dotprod-illegal.s: New test source.
1170 * testsuite/gas/arm/dotprod.d: New test.
1171 * testsuite/gas/arm/dotprod-thumb2.d: New test.
1172 * testsuite/gas/arm/dotprod-illegal.d: New test.
1173 * testsuite/gas/arm/dotprod-legacy-arch.d: New test.
1174 * testsuite/gas/arm/dotprod-illegal.l: New error file.
1175 * testsuite/gas/arm/dotprod-legacy-arch.l: New error file.
1177 2017-06-28 Maciej W. Rozycki <macro@imgtec.com>
1179 * testsuite/gas/mips/elf_mach_interaptiv-mr2.d: New test.
1180 * testsuite/gas/mips/save-err.d: New test.
1181 * testsuite/gas/mips/save-sub.d: New test.
1182 * testsuite/gas/mips/interaptiv-mr2@save.d: New test.
1183 * testsuite/gas/mips/mips1@save-sub.d: New test.
1184 * testsuite/gas/mips/mips2@save-sub.d: New test.
1185 * testsuite/gas/mips/mips3@save-sub.d: New test.
1186 * testsuite/gas/mips/mips4@save-sub.d: New test.
1187 * testsuite/gas/mips/mips5@save-sub.d: New test.
1188 * testsuite/gas/mips/mips32@save-sub.d: New test.
1189 * testsuite/gas/mips/mips64@save-sub.d: New test.
1190 * testsuite/gas/mips/mips16@save-sub.d: New test.
1191 * testsuite/gas/mips/mips16e@save-sub.d: New test.
1192 * testsuite/gas/mips/r3000@save-sub.d: New test.
1193 * testsuite/gas/mips/r3900@save-sub.d: New test.
1194 * testsuite/gas/mips/r4000@save-sub.d: New test.
1195 * testsuite/gas/mips/vr5400@save-sub.d: New test.
1196 * testsuite/gas/mips/interaptiv-mr2@save-sub.d: New test.
1197 * testsuite/gas/mips/sb1@save-sub.d: New test.
1198 * testsuite/gas/mips/octeon2@save-sub.d: New test.
1199 * testsuite/gas/mips/octeon3@save-sub.d: New test.
1200 * testsuite/gas/mips/xlr@save-sub.d: New test.
1201 * testsuite/gas/mips/r5900@save-sub.d: New test.
1202 * testsuite/gas/mips/mips16e2-copy.d: New test.
1203 * testsuite/gas/mips/mips16e2-copy-err.d: New test.
1204 * testsuite/gas/mips/save.d: Remove `MIPS16e' from the `name'
1205 option. Adjust for trailing padding change.
1206 * testsuite/gas/mips/mips16e2-copy-err.l: New stderr output.
1207 * testsuite/gas/mips/save-sub.s: New test source.
1208 * testsuite/gas/mips/mips16e2-copy.s: New test source.
1209 * testsuite/gas/mips/mips16e2-copy-err.s: New test source.
1210 * testsuite/gas/mips/save.s: Update description, change trailing
1211 padding and remove trailing white space.
1212 * testsuite/gas/mips/mips.exp: Expand `save' and `save-err'
1213 tests across the regular MIPS interAptiv MR2 architecture. Run
1216 2017-06-28 Maciej W. Rozycki <macro@imgtec.com>
1218 * testsuite/gas/mips/mips.exp (interaptiv-mr2): New architecture.
1219 (mips16e2-interaptiv-mr2): Likewise.
1220 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro.d: New
1222 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-t.d:
1224 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-e.d:
1226 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-t.d:
1228 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-e.d:
1230 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64.d: New
1232 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-sub.d: New
1234 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-sub.d: New
1236 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64-sub.d:
1238 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e2-mt-sub.d:
1240 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-asmacro.d:
1242 * testsuite/gas/mips/interaptiv-mr2@mcu.d: New test.
1243 * testsuite/gas/mips/interaptiv-mr2@isa-override-1.d: New test.
1244 * testsuite/gas/mips/interaptiv-mr2@isa-override-2.d: New test.
1245 * testsuite/gas/mips/attr-gnu-4-5.d: Ignore any number of ASE
1246 flag lines present rather than just one.
1247 * testsuite/gas/mips/attr-gnu-4-6.d: Likewise.
1248 * testsuite/gas/mips/attr-gnu-4-7.d: Likewise.
1249 * testsuite/gas/mips/attr-none-o32-fp64-nooddspreg.d: Likewise.
1250 * testsuite/gas/mips/attr-none-o32-fp64.d: Likewise.
1251 * testsuite/gas/mips/attr-none-o32-fpxx.d: Likewise.
1252 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro.l: New
1254 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-t.l:
1256 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-e.l:
1258 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-t.l:
1260 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-e.l:
1262 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-sub.l: New
1264 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-sub.l: New
1266 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64-sub.l:
1268 * testsuite/gas/mips/interaptiv-mr2@isa-override-1.l: New stderr
1270 * testsuite/gas/mips/interaptiv-mr2@isa-override-2.l: New stderr
1273 2017-06-28 Maciej W. Rozycki <macro@imgtec.com>
1274 Matthew Fortune <matthew.fortune@imgtec.com>
1276 * config/tc-mips.c (validate_mips_insn): Handle
1277 OP_SAVE_RESTORE_LIST specially.
1278 (mips_encode_save_restore, mips16_encode_save_restore): New
1280 (match_save_restore_list_operand): Factor out SAVE/RESTORE
1281 operand insertion into the instruction word or halfword to these
1283 (mips_cpu_info_table): Add "interaptiv-mr2" entry.
1285 * doc/c-mips.texi (MIPS Options): Add `interaptiv-mr2' to the
1286 `-march=' argument list.
1288 2017-06-27 Maciej W. Rozycki <macro@imgtec.com>
1290 * testsuite/gas/mips/mips16e-save.d: Rename to...
1291 * testsuite/gas/mips/save.d: ... this.
1292 * testsuite/gas/mips/mips16e-save-err.d: Update the
1293 `error-output' option and rename to...
1294 * testsuite/gas/mips/save-err.d: ... this.
1295 * testsuite/gas/mips/mips16e-save-err.l: Rename to...
1296 * testsuite/gas/mips/save-err.l: ... this.
1297 * testsuite/gas/mips/mips16e-save.s: Rename to...
1298 * testsuite/gas/mips/save.s: ... this.
1299 * testsuite/gas/mips/mips16e-save-err.s: Rename to...
1300 * testsuite/gas/mips/save-err.s: ... this.
1301 * testsuite/gas/mips/mips.exp: Rename `mips16e-save' and
1302 `mips16e-save-err' invocations to `save' and `save-err'
1303 respectively and reorder these tests away from MIPS16 tests.
1305 2017-06-27 Maciej W. Rozycki <macro@imgtec.com>
1307 * testsuite/gas/mips/mips16e-save.d: Remove `-mmips:isa32
1308 -mmips:16' from `objdump' flags and `-march=mips32 -mips16' from
1310 * testsuite/gas/mips/mips16e-save-err.d: Remove `-march=mips32'
1312 * testsuite/gas/mips/mips16e-save.s: Remove the `.set mips16'
1314 * testsuite/gas/mips/mips16e-save-err.s: Likewise.
1315 * testsuite/gas/mips/mips.exp: Run SAVE/RESTORE tests across all
1316 MIPS16e architectures.
1318 2017-06-27 Maciej W. Rozycki <macro@imgtec.com>
1320 * testsuite/gas/mips/mips16e-save-err.d: New test.
1321 * gas/testsuite/gas/mips/mips.exp: Fold `mips16e-save-err' list
1322 test into the new test.
1324 2017-06-27 Maciej W. Rozycki <macro@imgtec.com>
1326 * testsuite/gas/mips/mips16e-save.d: Capitalize the `name'
1329 2017-06-26 Kuan-Lin Chen <rufus@andestech.com>
1331 * config/tc-riscv.c (md_apply_fix) [BFD_RELOC_32]: Convert to a
1332 R_RISCV_32_PCREL relocation.
1334 2017-06-26 H.J. Lu <hongjiu.lu@intel.com>
1337 * config/obj-elf.c (obj_elf_symver): Don't allow .symver with
1339 (elf_frob_symbol): Likewise.
1340 * testsuite/gas/elf/elf.exp: Run pr21661.
1341 * testsuite/gas/elf/pr21661.d: New file.
1342 * testsuite/gas/elf/pr21661.s: Likewise.
1344 2017-06-26 Nick Clifton <nickc@redhat.com>
1346 * config/tc-arm.c (fpu_any): Only define for ELF based targets.
1348 2017-06-26 Claudiu Zissulescu <claziss@synopsys.com>
1350 * /config/tc-arc.c (is_br_jmp_insn_p): Update macro with known
1351 instructions to be accounted as jumps.
1352 (assemble_insn): Check for limms into the delay slots. Emit an
1354 * testsuite/gas/arc/asm-errors-3.d: New file.
1355 * testsuite/gas/arc/asm-errors-3.err: Likewise.
1356 * testsuite/gas/arc/asm-errors-3.s: Likewise.
1358 2017-06-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1360 * NEWS: Mention support of ARM Cortex-R52 processor.
1361 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-R52 processor.
1362 * doc/c-arm.texi: Mention support for -mcpu=cortex-r52.
1364 2017-06-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
1366 * NEWS: Mention support for ARMv8-R architecture.
1367 * config/tc-arm.c (arm_archs): Add entry for ARMv8-R.
1368 (arm_extensions): Restrict pan, ras and rdma extension to
1369 ARMv8-A and make crypto, fp and simd extensions available to
1371 (cpu_arch_ver): Add entry for ARMv8-R.
1372 (aeabi_set_public_attributes): Update gas_assert for Tag_DIV_use
1374 * testsuite/gas/arm/armv8-a+fp.s: Rename into ...
1375 * testsuite/gas/arm/armv8-ar+fp.s: This. Remove .arch directive.
1376 * testsuite/gas/arm/armv8-a+fp.d: Specify source to assemble and
1377 architecture to assemble for.
1378 * testsuite/gas/arm/armv8-r+fp.d: New.
1379 * testsuite/gas/arm/armv8-a+simd.s: Rename into ...
1380 * testsuite/gas/arm/armv8-ar+simd.s: This. Remove .arch directive.
1381 * testsuite/gas/arm/armv8-a+simd.d: Specify source to assemble and
1382 architecture to assemble for.
1383 * testsuite/gas/arm/armv8-r+simd.d: New.
1384 * testsuite/gas/arm/armv8-a-bad.s: Rename into ...
1385 * testsuite/gas/arm/armv8-ar-bad.s: This. Remove .arch directive.
1386 * testsuite/gas/arm/armv8-a-bad.l: Rename into ...
1387 * testsuite/gas/arm/armv8-ar-bad.l: This. Decrement line number by 1.
1388 * testsuite/gas/arm/armv8-a-bad.d: Specify source to assemble,
1389 architecture to assemble for and adjust error output file.
1390 * testsuite/gas/arm/armv8-r-bad.d: New.
1391 * testsuite/gas/arm/armv8-a-barrier.s: Rename into ...
1392 * testsuite/gas/arm/armv8-ar-barrier.s: This.
1393 * testsuite/gas/arm/armv8-a-barrier-arm.d: Adjust source.
1394 * testsuite/gas/arm/armv8-a-barrier-thumb.d: Likewise.
1395 * testsuite/gas/arm/armv8-r-barrier-arm.d: New.
1396 * testsuite/gas/arm/armv8-r-barrier-thumb.d: New.
1397 * testsuite/gas/arm/armv8-a-it-bad.s: Rename into ...
1398 * testsuite/gas/arm/armv8-ar-it-bad.s: This. Remove .arch directive.
1399 * testsuite/gas/arm/armv8-a-it-bad.l: Rename into ...
1400 * testsuite/gas/arm/armv8-ar-it-bad.l: This. Decrement line number
1402 * testsuite/gas/arm/armv8-a-it-bad.d: Specify source to assemble,
1403 architecture to assemble for and adjust error output file.
1404 * testsuite/gas/arm/armv8-r-it-bad.d: New.
1405 * testsuite/gas/arm/armv8-a.s: Rename into ...
1406 * testsuite/gas/arm/armv8-ar.s: This. Remove .arch directive.
1407 * testsuite/gas/arm/armv8-a.d: Specify source to assemble and
1408 architecture to assemble for.
1409 * testsuite/gas/arm/armv8-r.d: New.
1410 * testsuite/gas/arm/attr-march-armv8-r+crypto.d: New.
1411 * testsuite/gas/arm/attr-march-armv8-r+fp.d: New.
1412 * testsuite/gas/arm/attr-march-armv8-r+simd.d: New.
1413 * testsuite/gas/arm/attr-march-armv8-r.d: New.
1414 * testsuite/gas/arm/crc32.s: Rename into ...
1415 * testsuite/gas/arm/crc32-armv8-ar.s: This.
1416 * testsuite/gas/arm/crc32.d: Rename into ...
1417 * testsuite/gas/arm/crc32-armv8-a.d: This. Specify source to assemble.
1418 * testsuite/gas/arm/crc32-armv8-r.d: New.
1419 * testsuite/gas/arm/crc32-bad.s: Rename into ...
1420 * testsuite/gas/arm/crc32-armv8-ar-bad.s: This.
1421 * testsuite/gas/arm/crc32-bad.d: Rename into ...
1422 * testsuite/gas/arm/crc32-armv8-a-bad.d: This. Specify source to
1424 * testsuite/gas/arm/crc32-armv8-r-bad.d: New.
1425 * testsuite/gas/arm/mask_1.s: Rename into ...
1426 * testsuite/gas/arm/mask_1-armv8-ar.s: This.
1427 * testsuite/gas/arm/mask_1.d: Rename into ...
1428 * testsuite/gas/arm/mask_1-armv8-a.d: This. Specify source to
1430 * testsuite/gas/arm/mask_1-armv8-r.d: new.
1432 2017-06-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
1434 * config/tc-arm.c (arm_ext_v6m): Delete.
1435 (arm_ext_v7m): Delete.
1436 (arm_ext_m): Remove ARM_EXT_OS from the set of feature defined M
1438 (arm_arch_v6m_only): Delete.
1439 (do_t_swi): Remove special case for ARMv6S-M.
1440 (md_assemble): Display error message previously in do_t_swi when
1441 SVC is not available.
1442 (insns): Guard swi and svc by arm_ext_os for Thumb mode.
1443 (aeabi_set_public_attributes): Remove special case for ARMv6S-M.
1445 2017-05-11 Andrew Waterman <andrew@sifive.com>
1447 * config/tc-riscv.c (riscv_ip): Changes as_warn to as_bad for improper
1450 2017-06-22 Nick Clifton <nickc@redhat.com>
1452 * config/tc-arm.c (arm_ext_v7m): Add ATTRIBUTE_UNUSED.
1454 2017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
1456 * config/tc-arm.c (fpu_any): Defined from FPU_ANY.
1457 (cpu_arch_ver): Add all architectures and sort by release date.
1458 (have_ext_for_needed_feat_p): New.
1459 (get_aeabi_cpu_arch_from_fset): New.
1460 (aeabi_set_public_attributes): Call above function to determine
1461 Tag_CPU_arch and Tag_CPU_arch_profile values. Adapt Tag_ARM_ISA_use
1462 and Tag_THUMB_ISA_use selection logic to check absence of feature bit
1464 * testsuite/gas/arm/attr-march-armv1.d: Fix expected Tag_CPU_arch build
1466 * testsuite/gas/arm/attr-march-armv2.d: Likewise.
1467 * testsuite/gas/arm/attr-march-armv2a.d: Likewise.
1468 * testsuite/gas/arm/attr-march-armv2s.d: Likewise.
1469 * testsuite/gas/arm/attr-march-armv3.d: Likewise.
1470 * testsuite/gas/arm/attr-march-armv3m.d: Likewise.
1471 * testsuite/gas/arm/pr12198-2.d: Likewise.
1473 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1475 * testsuite/gas/i386/cet-intel.d: Updated.
1476 * testsuite/gas/i386/cet.d: Likewise.
1477 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
1478 * testsuite/gas/i386/x86-64-cet.d: Likewise.
1479 * testsuite/gas/i386/cet.s: Update incsspd and setssbsy tests.
1480 * testsuite/gas/i386/x86-64-cet.s: Likewise.
1482 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1484 * testsuite/gas/i386/cet-intel.d: Updated.
1485 * testsuite/gas/i386/cet.d: Likewise.
1486 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
1487 * testsuite/gas/i386/x86-64-cet.d: Likewise.
1488 * testsuite/gas/i386/cet.s: Replace savessp with saveprevssp.
1489 * testsuite/gas/i386/x86-64-cet.s: Likewise.
1491 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1493 * config/tc-i386.c (md_assemble): Update NOTRACK prefix check.
1494 * testsuite/gas/i386/notrack-intel.d: Updated.
1495 * testsuite/gas/i386/notrack.d: Likewise.
1496 * testsuite/gas/i386/notrackbad.l: Likewise.
1497 * testsuite/gas/i386/x86-64-notrack-intel.d: Likewise.
1498 * testsuite/gas/i386/x86-64-notrack.d: Likewise.
1499 * testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
1500 * testsuite/gas/i386/notrack.s: Add NOTRACK prefix tests with
1501 memory indirect branch.
1502 * testsuite/gas/i386/x86-64-notrack.s: Likewise.
1503 * testsuite/gas/i386/notrackbad.s: Remove memory indirect branch
1504 with NOTRACK prefix.
1505 * testsuite/gas/i386/x86-64-notrackbad.s: Likewise.
1507 2017-06-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
1509 * config/tc-arm.c (arm_extensions): New duplicate idiv entry to enable
1510 Thumb division for ARMv7 architecture.
1511 (arm_parse_extension): Document expected behavior for duplicate
1513 (s_arm_arch_extension): Likewise.
1514 * testsuite/gas/arm/forbid-armv7-idiv-ext.d: New test.
1515 * testsuite/gas/arm/forbid-armv7-idiv-ext.l: New expected output for
1518 2017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
1520 * config/tc-arm.c (aeabi_set_public_attributes): Populate flags from
1521 feature bits used or selected_cpu depending on whether a CPU was
1522 selected by the user.
1524 2017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
1526 * config/tc-arm.c (aeabi_set_public_attributes): Test *mcpu_ext_opt to
1527 decide whether to set Tag_DSP_extension build attribute value. Remove
1528 now useless arm_arch variable.
1530 2017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
1532 * config/tc-arm.c (dyn_mcpu_ext_opt): New static variable.
1533 (dyn_march_ext_opt): Likewise.
1534 (md_begin): Copy extension feature bits alongside architecture ones.
1535 Merge extensions feature bits in selected_cpu and cpu_variant if there
1537 (arm_parse_extension): Pass architecture and extension feature bits in
1538 separate parameters, with architecture bits being read only. Update
1539 **opt_p directly rather than *ext_set and initialize it if needed.
1540 (arm_parse_cpu): Stop merging architecture and extension feature bits
1541 and instead use mcpu_cpu_opt and dyn_mcpu_ext_opt to memorize them
1542 respectively. Adapt to change in parameters of arm_parse_extension.
1543 (arm_parse_arch): Adapt to change in parameters of arm_parse_extension.
1544 (aeabi_set_attribute_string): Make function static.
1545 (arm_md_post_relax): New function.
1546 (s_arm_cpu): Stop merging architecture and extension feature bits and
1547 instead use mcpu_cpu_opt and dyn_mcpu_ext_opt to memorize them
1548 respectively. Merge extension feature bits in cpu_variant
1550 (s_arm_arch): Reset extension feature bit. Set selected_cpu from
1551 *mcpu_cpu_opt and cpu_variant from selected_cpu and *mfpu_opt for
1552 consistency with s_arm_cpu.
1553 (s_arm_arch_extension): Update *dyn_mcpu_ext_opt rather than
1554 selected_cpu, allocating it before hand if needed. Set selected_cpu
1555 from it and then cpu_variant.
1556 (s_arm_fpu): Merge *mcpu_ext_opt feature bits if any in cpu_variant.
1557 * config/tc-arm.h (md_post_relax_hook): Set to arm_md_post_relax.
1558 (aeabi_set_public_attributes): Delete external declaration.
1559 (arm_md_post_relax): Declare externally.
1561 2017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
1563 * config/tc-arm.c (struct arm_cpu_option_table): New ext field.
1564 (ARM_CPU_OPT): Add parameter to set new ext field and reorder canonical
1565 name field just after the name field.
1566 (arm_cpus): Move extension feature bit from value field to ext field,
1567 reorder parameter according to changes in ARM_CPU_OPT and reindent.
1568 (arm_parse_cpu): Point mcpu_cpu_opt to a bitfield merging the value and
1569 ext field from the selected arm_cpus entry.
1570 (s_arm_cpu): Likewise.
1572 2017-06-21 James Greenhalgh <james.greenhalgh@arm.com>
1574 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a55 and cortex-a75.
1575 * doc/c-aarch64.texi (-mcpu): Document cortex-a55 and cortex-a75.
1577 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
1580 * testsuite/gas/i386/mpx.s: Add 2 tests with invalid bnd
1582 * testsuite/gas/i386/x86-64-mpx.s: Likewise.
1583 * testsuite/gas/i386/mpx.d: Updated.
1584 * testsuite/gas/i386/x86-64-mpx.d: Likewise.
1586 2017-06-14 Max Filippov <jcmvbkbc@gmail.com>
1588 * config/tc-xtensa.c (density_supported, xtensa_fetch_width,
1589 absolute_literals_supported): Leave definitions uninitialized.
1590 (directive_state): Leave entries for directive_density and
1591 directive_absolute_literals initialized to false.
1592 (xg_init_global_config, xtensa_init): New functions.
1593 * config/tc-xtensa.h (TARGET_BYTES_BIG_ENDIAN): Define as 0.
1594 (HOST_SPECIAL_INIT): New definition.
1595 (xtensa_init): New declaration.
1597 2017-06-07 Michael Collison <michael.collison@arm.com>
1599 * config/tc-aarch64.c (reg_entry_reg_names): Add IP0,
1600 IP1, FP, and LR as register aliases of register 16, 17, 29
1601 and 30 respectively.
1602 * testsuite/gas/aarch64/diagnostic.l: Remove diagnostic
1603 prohibiting register 'lr' which is now an alias.
1604 * testsuite/gas/aarch64/diagnostic.s: Remove instruction
1605 utilizing register 'lr' which is now an alias.
1607 2017-06-06 Jiong Wang <jiong.wang@arm.com>
1609 * config/tc-arm.c (reject_bad_reg): Allow REG_SP on ARMv8-A.
1610 (parse_operands): Allow REG_SP for OP_oRRnpcsp and OP_RRnpcsp on
1612 (do_co_reg): Allow REG_SP for Rd on ARMv8-A.
1613 (do_t_add_sub): Likewise.
1614 (do_t_mov_cmp): Likewise.
1615 (do_t_tb): Likewise.
1616 * testsuite/gas/arm/ld-sp-warn.l: Delete the warning on REG_SP as Rt for
1618 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.d: New test.
1619 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: New test.
1620 * testsuite/gas/arm/sp-pc-validations-bad-t.d: Specifies -march=armv7-a.
1621 * testsuite/gas/arm/sp-pc-validations-bad-t.s: Remove ".arch armv7-a".
1622 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v7.d: New test.
1623 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v7.l: New test.
1624 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v8.d: New test.
1625 * testsuite/gas/arm/sp-usage-thumb2-relax.s: New test.
1626 * testsuite/gas/arm/strex-bad-t.d: Specifies -march=armv7-a.
1628 2017-06-05 Jim Wilson <jim.wilson@linaro.org>
1630 * config/tc-arm.c (arm_cpus): Delete falkor and qdf24xx entries.
1631 * doc/c-arm.texi (-mcpu): Likewise.
1633 2017-05-30 Anton Kolesov <anton.kolesov@synopsys.com>
1635 * config/tc-arc.c (cpu_types): Include arc-cpu.def
1637 2017-05-23 H.J. Lu <hongjiu.lu@intel.com>
1639 * gas/testsuite/gas/i386/notrackbad.l: Updated for non-ELF
1641 * gas/testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
1643 2017-05-23 Claudiu Zissulescu <claziss@synopsys.com>
1645 * config/tc-arc.c (md_apply_fix): Use as_bad_where.
1646 (assemble_insn): Use as_bad.
1648 2017-05-22 H.J. Lu <hongjiu.lu@intel.com>
1650 * config/tc-i386.c (REX_PREFIX): Changed to 7.
1651 (NOTRACK_PREFIX): New.
1652 (MAX_PREFIXES): Changed to 8.
1653 (_i386_insn): Add notrack_prefix.
1654 (PREFIX_GROUP): Add PREFIX_DS.
1655 (add_prefix): Return PREFIX_DS for DS_PREFIX_OPCODE.
1656 (md_assemble): Check if NOTRACK prefix is supported.
1657 (parse_insn): Set notrack_prefix and issue an error for
1658 other prefixes after NOTRACK prefix.
1659 * testsuite/gas/i386/i386.exp: Run tests for NOTRACK prefix.
1660 * testsuite/gas/i386/notrack-intel.d: New file.
1661 * testsuite/gas/i386/notrack.d: Likewise.
1662 * testsuite/gas/i386/notrack.s: Likewise.
1663 * testsuite/gas/i386/notrackbad.l: Likewise.
1664 * testsuite/gas/i386/notrackbad.s: Likewise.
1665 * testsuite/gas/i386/x86-64-notrack-intel.d: Likewise.
1666 * testsuite/gas/i386/x86-64-notrack.d: Likewise.
1667 * testsuite/gas/i386/x86-64-notrack.s: Likewise.
1668 * testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
1669 * testsuite/gas/i386/x86-64-notrackbad.s: Likewise.
1671 2017-05-22 Jiong Wang <jiong.wang@arm.com>
1673 * configure.tgt: Set "arch" to "aarch64" if ${cpu} equals "aarch64".
1674 Recognize the new triplet name aarch64*-linux-gnu_ilp32.
1675 * configure.ac: Output DEFAULT_ARCH macro for AArch64.
1676 * configure: Regenerate.
1677 * config/tc-aarch64.h (aarch64_after_parse_args): New declaration.
1678 (md_after_parse_args): New define.
1679 * config/tc-aarch64.c (aarch64_abi_type): New enumeration
1681 (DEFAULT_ARCH): New define.
1682 (aarch64_abi): Set default value to AARCH64_ABI_NONE.
1683 (aarch64_after_parse_args): New function.
1685 2017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
1687 * config/tc-sparc.c (sparc_arch_table): Entries for `sparc6',
1688 `v9m8' and `v8plusm8'.
1689 (sparc_md_end): Handle SPARC_OPCODE_ARCH_M8.
1690 (get_hwcap_name): Support the M8 hardware capabilities.
1691 (sparc_ip): Handle new operand types.
1692 * doc/c-sparc.texi (Sparc-Opts): Document -Av9m8, -Av8plusm8 and
1693 -Asparc6, and the corresponding -xarch aliases.
1694 * testsuite/gas/sparc/sparc6.s: New file.
1695 * testsuite/gas/sparc/sparc6.d: Likewise.
1696 * testsuite/gas/sparc/sparc6-diag.s: Likewise.
1697 * testsuite/gas/sparc/sparc6-diag.l: Likewise.
1698 * testsuite/gas/sparc/fpcmpshl.s: Likewise.
1699 * testsuite/gas/sparc/fpcmpshl.d: Likewise.
1700 * testsuite/gas/sparc/fpcmpshl-diag.s: Likewise.
1701 * testsuite/gas/sparc/fpcmpshl-diag.l: Likewise.
1702 * testsuite/gas/sparc/ldm-stm.s: Likewise.
1703 * testsuite/gas/sparc/ldm-stm.d: Likewise.
1704 * testsuite/gas/sparc/ldm-stm-diag.s: Likewise.
1705 * testsuite/gas/sparc/ldm-stm-diag.l: Likewise.
1706 * testsuite/gas/sparc/ldmf-stmf.s: Likewise.
1707 * testsuite/gas/sparc/ldmf-stmf.d: Likewise.
1708 * testsuite/gas/sparc/ldmf-stmf-diag.s: Likewise.
1709 * testsuite/gas/sparc/ldmf-stmf-diag.l: Likewise.
1710 * testsuite/gas/sparc/on.s: Likewise.
1711 * testsuite/gas/sparc/on.d: Likewise.
1712 * testsuite/gas/sparc/on-diag.s: Likewise.
1713 * testsuite/gas/sparc/on-diag.l: Likewise.
1714 * testsuite/gas/sparc/rle.s: Likewise.
1715 * testsuite/gas/sparc/rle.d: Likewise.
1716 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run new tests.
1717 * testsuite/gas/sparc/rdasr.s: Add test for RDENTROPY.
1718 * testsuite/gas/sparc/rdasr.d: Likewise.
1720 2017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
1722 * testsuite/gas/sparc/call-relax.d: Support 32-bit targets.
1723 * testsuite/gas/sparc/sparc.exp (gas_64_check): Use -64 to
1726 2017-05-19 Georg-Johann Lay <avr@gjlay.de>
1729 * config/tc-avr.c (mcu_types): Add entries for: attiny416,
1730 attiny417, attiny816, attiny817.
1732 2017-05-18 Alan Modra <amodra@gmail.com>
1734 * config/tc-aarch64.c: Don't compare booleans against TRUE or FALSE.
1735 * config/tc-hppa.c: Likewise.
1736 * config/tc-mips.c: Likewise.
1737 * config/tc-score7.c: Likewise.
1739 2017-05-16 Alan Modra <amodra@gmail.com>
1741 * write.c (GENERIC_FORCE_RELOCATION_LOCAL): Define.
1742 (TC_FORCE_RELOCATION_LOCAL): Use it.
1743 (GENERIC_FORCE_RELOCATION_SUB_SAME): Define.
1744 (TC_FORCE_RELOCATION_SUB_SAME): Use it.
1745 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL,
1746 TC_FORCE_RELOCATION_SUB_SAME): Use GENERIC defines.
1747 * config/tc-aarch64.h: Similarly.
1748 * config/tc-avr.h: Similarly.
1749 * config/tc-cris.h: Similarly.
1750 * config/tc-i386.h: Similarly.
1751 * config/tc-i960.h: Similarly.
1752 * config/tc-ia64.h: Similarly.
1753 * config/tc-microblaze.h: Similarly.
1754 * config/tc-mips.h: Similarly.
1755 * config/tc-msp430.h: Similarly.
1756 * config/tc-nds32.h: Similarly.
1757 * config/tc-pru.h: Similarly.
1758 * config/tc-riscv.h: Similarly.
1759 * config/tc-rl78.h: Similarly.
1760 * config/tc-s390.h: Similarly.
1761 * config/tc-sh.h: Similarly.
1762 * config/tc-sh64.h: Similarly.
1763 * config/tc-sparc.h: Similarly.
1764 * config/tc-xtensa.h: Similarly.
1765 * config/tc-mn10300.h: Similarly.
1766 (GENERIC_FORCE_RELOCATION_LOCAL): Define.
1767 * config/tc-msp430.c (msp430_force_relocation_local): Modify to
1768 be addition to rather than replacement of standard
1769 TC_FORCE_RELOCATION_LOCAL.
1771 2017-05-15 Nick Clifton <nickc@redhat.com>
1774 * config/tc-arm.c (do_adr): If the ADR involves a thumb function
1775 symbol, ensure that the T bit will be set.
1776 (do_adrl): Likewise.
1777 (do_t_adr): Likewise.
1778 * testsuite/gas/arm/pr21458.s: New test.
1779 * testsuite/gas/arm/pr21458.d: New test driver.
1781 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1783 * testsuite/gas/mips/mips16-pcrel-1.d: Remove `-mips3' from `as'
1785 * testsuite/gas/mips/mips16-pcrel-pic-1.d: Likewise.
1786 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
1787 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
1788 * testsuite/gas/mips/mips16-pcrel-n64-0.d: Likewise.
1789 * testsuite/gas/mips/mips16-pcrel-n64-1.d: Likewise.
1790 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
1791 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
1792 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: Likewise.
1793 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: Likewise.
1794 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Likewise.
1795 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Likewise.
1796 * testsuite/gas/mips/mips16-pcrel-addend-4.d: Likewise.
1797 * testsuite/gas/mips/mips16-pcrel-addend-5.d: Likewise.
1798 * testsuite/gas/mips/mips16-pcrel-addend-6.d: Likewise.
1799 * testsuite/gas/mips/mips16-pcrel-addend-7.d: Likewise.
1800 * testsuite/gas/mips/mips16-pcrel-addend-9.d: Likewise.
1801 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: Likewise.
1802 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: Likewise.
1803 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: Likewise.
1804 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d:
1806 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d:
1808 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: Likewise.
1809 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: Likewise.
1810 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: Likewise.
1811 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: Likewise.
1812 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: Likewise.
1813 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: Likewise.
1814 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: Likewise.
1815 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: Likewise.
1816 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: Likewise.
1817 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: Likewise.
1818 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: Likewise.
1819 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d:
1821 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d:
1823 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d:
1825 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d:
1827 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d:
1829 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d:
1831 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
1833 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
1835 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: New test.
1836 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: New test.
1837 * testsuite/gas/mips/mips16e2@mips16-pcrel-2.d: New test.
1838 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: New test.
1839 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: New test.
1840 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d: New
1842 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d: New
1844 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: New test.
1845 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: New test.
1846 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-2.d: New test.
1847 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-3.d: New test.
1848 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-6.d: New test.
1849 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-7.d: New test.
1850 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-2.d: New test.
1851 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-3.d: New test.
1852 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-6.d: New test.
1853 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-7.d: New test.
1854 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-8.d: New test.
1855 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-9.d: New test.
1856 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-8.d: New
1858 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-9.d: New
1860 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-8.d:
1862 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-9.d:
1864 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute.d: New test.
1865 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-1.d: New
1867 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-2.d: New
1869 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-3.d: New
1871 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-4.d: New
1873 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-5.d: New
1875 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-6.d: New
1877 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-7.d: New
1879 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-4.d: New
1881 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-6.d: New
1883 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-4.d: New
1885 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-6.d: New
1887 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-4.d:
1889 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-6.d:
1891 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-4.d:
1893 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-6.d:
1895 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-4.d:
1897 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-6.d:
1899 * testsuite/gas/mips/mips16-pcrel-1.l: Adjust line numbers.
1900 * testsuite/gas/mips/mips16-pcrel-1.s: Adjust for alignment
1901 preservation between MIPS16 and MIPS16e2 code.
1902 * testsuite/gas/mips/mips.exp: Run MIPS16 relaxation tests over
1903 all MIPS16 architectures.
1905 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1907 * testsuite/gas/mips/mips16e2.d: New test.
1908 * testsuite/gas/mips/mips16e2-mt.d: New test.
1909 * testsuite/gas/mips/mips16e2-sub.d: New test.
1910 * testsuite/gas/mips/mips16e2@mips16e2-sub.d: New test.
1911 * testsuite/gas/mips/mips16e2-mt-sub.d: New test.
1912 * testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: New test.
1913 * testsuite/gas/mips/mips16e2-hilo.d: New test.
1914 * testsuite/gas/mips/mips16e2-hilo-n32.d: New test.
1915 * testsuite/gas/mips/mips16e2-reloc-error.d: New test.
1916 * testsuite/gas/mips/mips16e2-imm-error.d: New test.
1917 * testsuite/gas/mips/elf_ase_mips16e2.d: New test.
1918 * testsuite/gas/mips/elf_ase_mips16e2-2.d: New test.
1919 * testsuite/gas/mips/elf-rel9-mips16e2.d: New test.
1920 * testsuite/gas/mips/mips16e2-lui.d: New test.
1921 * testsuite/gas/mips/mips16e2@mips32r2-sync.d: New test.
1922 * testsuite/gas/mips/mips16e2@mips32r2-sync-1.d: New test.
1923 * testsuite/gas/mips/mips16e2@lui-2.d: New test.
1924 * testsuite/gas/mips/mips16e2-reloc-error.l: New stderr output.
1925 * testsuite/gas/mips/mips16e2-imm-error.l: New stderr output.
1926 * testsuite/gas/mips/mips16e2@lui-2.l: New stderr output.
1927 * testsuite/gas/mips/mips16e2.s: New test source.
1928 * testsuite/gas/mips/mips16e2-mt.s: New test source.
1929 * testsuite/gas/mips/mips16e2-sub.s: New test source.
1930 * testsuite/gas/mips/mips16e2-mt-sub.s: New test source.
1931 * testsuite/gas/mips/mips16e2-hilo.s: New test source.
1932 * testsuite/gas/mips/mips16e2-reloc-error.s: New test source.
1933 * testsuite/gas/mips/mips16e2-imm-error.s: New test source.
1934 * testsuite/gas/mips/elf-rel9-mips16e2.s: New test source.
1935 * testsuite/gas/mips/mips16e2-lui.s: New test source.
1936 * testsuite/gas/mips/mips.exp: Expand `mips32r2-sync',
1937 `mips32r2-sync-1', `lui-1' and `lui-2' tests across MIPS16e2
1938 architectures. Run the new tests.
1940 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1942 * testsuite/gas/mips/mips.exp (run_dump_test_arch): Add
1944 (run_list_test_arch): Likewise.
1945 (mips16e2-32, mips16e2-64): New architectures.
1946 * testsuite/gas/mips/mips16e2-32@mips16-macro.d: New test.
1947 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.d: New test.
1948 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.d: New test.
1949 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.d: New test.
1950 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.d: New test.
1951 * testsuite/gas/mips/mips16e2-32@mips16e-64.d: New test.
1952 * testsuite/gas/mips/mips16e2-32@mips16-sub.d: New test.
1953 * testsuite/gas/mips/mips16e2-32@mips16e-64-sub.d: New test.
1954 * testsuite/gas/mips/mips16e2@relax-swap3.d: New test.
1955 * testsuite/gas/mips/mips16-32@mips16-asmacro.d: Remove `source'
1956 tag. Add `-I$srcdir/$subdir' to `as' flags.
1957 * testsuite/gas/mips/mips16-64@mips16-asmacro.d: Likewise.
1958 * testsuite/gas/mips/mips16e2-32@mips16-macro.l: New stderr
1960 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.l: New stderr
1962 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.l: New stderr
1964 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.l: New stderr
1966 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.l: New stderr
1968 * testsuite/gas/mips/mips16-sub.s: Add `.set nomips16e2'.
1969 * testsuite/gas/mips/mips16e-sub.s: Likewise.
1970 * testsuite/gas/mips/mips16e-64-sub.s: Likewise.
1971 * testsuite/gas/mips/mips16-asmacro.s: Remove `.set mips32'.
1972 * testsuite/gas/mips/mips16-32@mips16-asmacro.s: New test
1974 * testsuite/gas/mips/mips16-64@mips16-asmacro.s: New test
1977 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1978 Matthew Fortune <matthew.fortune@imgtec.com>
1979 Andrew Bennett <andrew.bennett@imgtec.com>
1981 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `e2' flag.
1982 (RELAX_MIPS16_E2): New macro.
1983 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO)
1984 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
1985 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
1986 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
1987 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
1988 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
1989 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED, RELAX_MIPS16_MACRO)
1990 (RELAX_MIPS16_MARK_MACRO, RELAX_MIPS16_CLEAR_MACRO): Shift bits.
1991 (mips16_immed_extend): New prototype.
1992 (options): Add OPTION_MIPS16E2 and OPTION_NO_MIPS16E2 enum
1994 (md_longopts): Add "mmips16e2" and "mno-mips16e2" options.
1995 (mips_ases): Add "mips16e2" entry.
1996 (mips_set_ase): Handle MIPS16e2 ASE.
1997 (insn_insert_operand): Explicitly handle immediates with MIPS16
1998 instructions that require 32-bit encoding.
1999 (is_opcode_valid_16): Pass enabled ASE bitmask on to
2001 (validate_mips_insn): Explicitly handle immediates with MIPS16
2002 instructions that require 32-bit encoding.
2003 (operand_reg_mask) <OP_REG28>: Add handler.
2004 (match_reg28_operand): New function.
2005 (match_operand) <OP_REG28>: Add handler.
2006 (append_insn): Pass ASE_MIPS16E2 setting to RELAX_MIPS16_ENCODE.
2007 (match_mips16_insn): Handle MIPS16 instructions that require
2008 32-bit encoding and `V' and `u' operand codes.
2009 (mips16_ip): Allow any characters except from `.' in opcodes.
2010 (mips16_immed_extend): Handle 9-bit immediates. Do not shuffle
2011 immediates whose width is not one of these listed.
2012 (md_estimate_size_before_relax): Handle MIPS16e2 relaxation.
2013 (mips_relax_frag): Likewise.
2014 (md_convert_frag): Likewise.
2015 (mips_convert_ase_flags): Handle MIPS16e2 ASE.
2017 * doc/as.texinfo (Target MIPS options): Add `-mmips16e2' and
2018 `-mno-mips16e2' options.
2019 (-mmips16e2, -mno-mips16e2): New options.
2020 * doc/c-mips.texi (MIPS Options): Add `-mmips16e2' and
2021 `-mno-mips16e2' options.
2022 (MIPS ASE Instruction Generation Overrides): Add `.set mips16e2'
2023 and `.set nomips16e2'.
2025 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2027 * config/tc-mips.c (match_int_operand): Call
2028 `match_out_of_range' before returning failure for 0x8000-0xffff
2029 values conditionally allowed.
2031 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2033 * config/tc-mips.c (match_int_operand): Call
2034 `match_not_constant' before returning failure for a non-constant
2035 16-bit immediate conditionally allowed.
2037 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2039 * config/tc-mips.c (match_const_int): Call `match_out_of_range'
2040 rather than `match_not_constant' for unrelocated operands
2041 retrieved as an `O_big' expression.
2042 (match_int_operand): Call `match_out_of_range' for relocatable
2043 operands retrieved as an `O_big' expression.
2044 (match_mips16_insn): Call `match_out_of_range' for relaxable
2045 operands retrieved as an `O_big' expression.
2046 * testsuite/gas/mips/addiu-error.d: New test.
2047 * testsuite/gas/mips/mips16@addiu-error.d: New test.
2048 * testsuite/gas/mips/micromips@addiu-error.d: New test.
2049 * testsuite/gas/mips/break-error.d: New test.
2050 * testsuite/gas/mips/lui-1.l: Adjust error message.
2051 * testsuite/gas/mips/addiu-error.l: New stderr output.
2052 * testsuite/gas/mips/mips16@addiu-error.l: New stderr output.
2053 * testsuite/gas/mips/micromips@addiu-error.l: New stderr output.
2054 * testsuite/gas/mips/break-error.l: New stderr output.
2055 * testsuite/gas/mips/addiu-error.s: New test source.
2056 * testsuite/gas/mips/break-error.s: New test source.
2057 * testsuite/gas/mips/mips.exp: Run the new tests.
2059 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2061 * config/tc-mips.c (match_mips16_insn): Remove the explicit
2062 OT_INTEGER check before the `match_expression' call.
2063 * testsuite/gas/mips/mips16-insn-e.l: Adjust messages.
2064 * testsuite/gas/mips/mips16-32@mips16-insn-e.l: Likewise.
2065 * testsuite/gas/mips/mips16-64@mips16-insn-e.l: Likewise.
2066 * testsuite/gas/mips/mips16e-32@mips16-insn-e.l: Likewise.
2067 * testsuite/gas/mips/mips16-reg-error.d: New test.
2068 * testsuite/gas/mips/mips16-reg-error.l: New stderr output.
2069 * testsuite/gas/mips/mips16-reg-error.s: New test source.
2070 * testsuite/gas/mips/mips.exp: Run the new test.
2072 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2074 * config/tc-mips.c (match_mips16_insn): Call
2075 `match_not_constant' for a disallowed relocation operation.
2076 * testsuite/gas/mips/mips16-reloc-error.d: New test.
2077 * testsuite/gas/mips/mips16-reloc-error.l: New stderr output.
2078 * testsuite/gas/mips/mips16-reloc-error.s: New test source.
2079 * testsuite/gas/mips/mips.exp: Run the new test.
2081 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2083 * testsuite/gas/mips/lui-1.d: New test.
2084 * testsuite/gas/mips/lui-2.d: New test.
2085 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
2088 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2090 * config/tc-mips.c (match_const_int): Update description.
2092 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2094 * doc/as.texinfo (-mips16, -no-mips16): Refer to `.module
2095 mips16' rather than `.set mips16'.
2096 (-mmicromips, -mno-micromips): Refer to `.module micromips' and
2097 `.module nomicromips' rather than `.set micromips' and `.set
2099 (-msmartmips, -mno-smartmips): Refer to `.module smartmips'
2100 rather than `.set smartmips'.
2101 * doc/c-mips.texi (MIPS Options): Refer to `.module mips16',
2102 `.module micromips', `.module nomicromips' and `.module
2103 smartmips' rather than `.set mips16', `.set micromips', `.set
2104 nomicromips' and `.set smartmips' respectively.
2106 2017-05-12 Maciej W. Rozycki <macro@imgtec.com>
2107 Matthew Fortune <matthew.fortune@imgtec.com>
2109 * config/tc-mips.c (mips_percent_op): Add "%gprel".
2110 (mips16_percent_op): Add "%gp_rel".
2111 * testsuite/gas/mips/elf-rel8.s:: Add `%gprel' forms.
2112 * testsuite/gas/mips/elf-rel8-mips16.s: Add `%gp_rel' forms.
2113 * testsuite/gas/mips/elf-rel8.d: Adjust accordingly.
2114 * testsuite/gas/mips/elf-rel8-mips16.d: Likewise.
2116 2017-05-12 Maciej W. Rozycki <macro@imgtec.com>
2118 * testsuite/gas/mips/mips16.d: Adjust BREAK disassembly.
2119 * testsuite/gas/mips/mips16-64@mips16.d: Likewise.
2120 * testsuite/gas/mips/mips16-64.d: Likewise.
2121 * testsuite/gas/mips/mips16-64@mips16-64.d: Likewise.
2122 * testsuite/gas/mips/mips16-macro.d: Likewise.
2123 * testsuite/gas/mips/mips16-64@mips16-macro.d: Likewise.
2124 * testsuite/gas/mips/mips16-sub.d: Likewise.
2125 * testsuite/gas/mips/mips16-32@mips16-sub.d: Likewise.
2127 2017-05-11 Maciej W. Rozycki <macro@imgtec.com>
2129 * testsuite/gas/mips/mips32r2-sync-1.d: New test.
2130 * testsuite/gas/mips/micromips@mips32r2-sync-1.d: New test.
2131 * testsuite/gas/mips/mips.exp: Run the new tests.
2133 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
2135 * testsuite/gas/mips/isa-override-2.d: New test.
2136 * testsuite/gas/mips/mips1@isa-override-2.d: New test.
2137 * testsuite/gas/mips/r3000@isa-override-2.d: New test.
2138 * testsuite/gas/mips/r3900@isa-override-2.d: New test.
2139 * testsuite/gas/mips/mips2@isa-override-2.d: New test.
2140 * testsuite/gas/mips/mips32@isa-override-2.d: New test.
2141 * testsuite/gas/mips/mips32r2@isa-override-2.d: New test.
2142 * testsuite/gas/mips/mips32r3@isa-override-2.d: New test.
2143 * testsuite/gas/mips/mips32r5@isa-override-2.d: New test.
2144 * testsuite/gas/mips/mips32r6@isa-override-2.d: New test.
2145 * testsuite/gas/mips/octeon3@isa-override-2.d: New test.
2146 * testsuite/gas/mips/r3000@isa-override-2.l: Remove list test.
2147 * testsuite/gas/mips/mips1@isa-override-2.s: Remove test source.
2148 * testsuite/gas/mips/r3000@isa-override-2.s: Remove test source.
2149 * testsuite/gas/mips/r3900@isa-override-2.s: Remove test source.
2150 * testsuite/gas/mips/mips2@isa-override-2.s: Remove test source.
2151 * testsuite/gas/mips/mips32@isa-override-2.s: Remove test
2153 * testsuite/gas/mips/mips32r2@isa-override-2.s: Remove test
2155 * testsuite/gas/mips/mips32r3@isa-override-2.s: Remove test
2157 * testsuite/gas/mips/mips32r5@isa-override-2.s: Remove test
2159 * testsuite/gas/mips/mips32r6@isa-override-2.s: Remove test
2161 * testsuite/gas/mips/octeon3@isa-override-2.s: Remove test
2163 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
2166 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
2168 * testsuite/gas/mips/mips16e-sub.d: Correct test name.
2169 * testsuite/gas/mips/mips16-32@mips16e-sub.d: Likewise.
2170 * testsuite/gas/mips/mips16-64@mips16e-sub.d: Likewise.
2171 * testsuite/gas/mips/mips16e-64-sub.d: Likewise.
2172 * testsuite/gas/mips/mips16-32@mips16e-64-sub.d: Likewise.
2173 * testsuite/gas/mips/mips16-64@mips16e-64-sub.d: Likewise.
2174 * testsuite/gas/mips/mips16e-32@mips16e-64-sub.d: Likewise.
2176 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
2178 * testsuite/gas/mips/mips16-macro.l: Remove list test.
2180 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
2182 * testsuite/gas/mips/r3900@ecoff@ld.d: Remove test.
2183 * testsuite/gas/mips/mips2@ecoff@ld.d: Remove test.
2184 * testsuite/gas/mips/mips32@ecoff@ld.d: Remove test.
2185 * testsuite/gas/mips/mips32r2@ecoff@ld.d: Remove test.
2186 * testsuite/gas/mips/r3900@ecoff@ld-forward.d: Remove test.
2187 * testsuite/gas/mips/mips2@ecoff@ld-forward.d: Remove test.
2188 * testsuite/gas/mips/mips32@ecoff@ld-forward.d: Remove test.
2189 * testsuite/gas/mips/mips32r2@ecoff@ld-forward.d: Remove test.
2190 * testsuite/gas/mips/mips1@ecoff@sd.d: Remove test.
2191 * testsuite/gas/mips/r3000@ecoff@sd.d: Remove test.
2192 * testsuite/gas/mips/r3900@ecoff@sd.d: Remove test.
2193 * testsuite/gas/mips/mips2@ecoff@sd.d: Remove test.
2194 * testsuite/gas/mips/mips32@ecoff@sd.d: Remove test.
2195 * testsuite/gas/mips/mips32r2@ecoff@sd.d: Remove test.
2196 * testsuite/gas/mips/mips1@ecoff@sd-forward.d: Remove test.
2197 * testsuite/gas/mips/r3000@ecoff@sd-forward.d: Remove test.
2198 * testsuite/gas/mips/r3900@ecoff@sd-forward.d: Remove test.
2199 * testsuite/gas/mips/mips2@ecoff@sd-forward.d: Remove test.
2200 * testsuite/gas/mips/mips32@ecoff@sd-forward.d: Remove test.
2201 * testsuite/gas/mips/mips32r2@ecoff@sd-forward.d: Remove test.
2203 2017-05-10 Claudiu Zissulescu <claziss@synopsys.com>
2205 * testsuite/gas/arc/attr-arc600.d: New file.
2206 * testsuite/gas/arc/attr-arc600_mul32x16.d: Likewise.
2207 * testsuite/gas/arc/attr-arc600_norm.d: Likewise.
2208 * testsuite/gas/arc/attr-arc601.d: Likewise.
2209 * testsuite/gas/arc/attr-arc601_mul32x16.d: Likewise.
2210 * testsuite/gas/arc/attr-arc601_mul64.d: Likewise.
2211 * testsuite/gas/arc/attr-arc601_norm.d: Likewise.
2212 * testsuite/gas/arc/attr-arc700.d: Likewise.
2213 * testsuite/gas/arc/attr-arcem.d: Likewise.
2214 * testsuite/gas/arc/attr-archs.d: Likewise.
2215 * testsuite/gas/arc/attr-autodetect-1.d: Likewise.
2216 * testsuite/gas/arc/attr-autodetect-1.s: Likewise.
2217 * testsuite/gas/arc/attr-cpu-a601.d: Likewise.
2218 * testsuite/gas/arc/attr-cpu-a601.s: Likewise.
2219 * testsuite/gas/arc/attr-cpu-a700.d: Likewise.
2220 * testsuite/gas/arc/attr-cpu-a700.s: Likewise.
2221 * testsuite/gas/arc/attr-cpu-em.d: Likewise.
2222 * testsuite/gas/arc/attr-cpu-em.s: Likewise.
2223 * testsuite/gas/arc/attr-cpu-hs.d: Likewise.
2224 * testsuite/gas/arc/attr-cpu-hs.s: Likewise.
2225 * testsuite/gas/arc/attr-em.d: Likewise.
2226 * testsuite/gas/arc/attr-em4.d: Likewise.
2227 * testsuite/gas/arc/attr-em4_dmips.d: Likewise.
2228 * testsuite/gas/arc/attr-em4_fpuda.d: Likewise.
2229 * testsuite/gas/arc/attr-em4_fpus.d: Likewise.
2230 * testsuite/gas/arc/attr-hs.d: Likewise.
2231 * testsuite/gas/arc/attr-hs34.d: Likewise.
2232 * testsuite/gas/arc/attr-hs38.d: Likewise.
2233 * testsuite/gas/arc/attr-hs38_linux.d: Likewise.
2234 * testsuite/gas/arc/attr-mul64.d: Likewise.
2235 * testsuite/gas/arc/attr-name.d: Likewise.
2236 * testsuite/gas/arc/attr-name.s: Likewise.
2237 * testsuite/gas/arc/attr-nps400.d: Likewise.
2238 * testsuite/gas/arc/attr-override-mcpu.d: Likewise.
2239 * testsuite/gas/arc/attr-override-mcpu.s
2240 * testsuite/gas/arc/attr-quarkse_em.d: Likewise.
2241 * testsuite/gas/arc/blank.s: Likewise.
2242 * testsuite/gas/elf/section2.e-arc: Likewise.
2243 * testsuite/gas/arc/cpu-pseudop-1.d: Update test.
2244 * testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
2245 * testsuite/gas/arc/nps400-0.d: Likewise.
2246 * testsuite/gas/elf/elf.exp: Set target_machine for ARC.
2247 * config/tc-arc.c (opcode/arc-attrs.h): Include.
2248 (ARC_GET_FLAG, ARC_SET_FLAG, streq): Define.
2249 (arc_attribute): Declare new function.
2250 (md_pseudo_table): Add arc_attribute.
2251 (cpu_types): Rename default cpu features.
2252 (selected_cpu): Set the default OSABI flag.
2253 (mpy_option): New variable.
2254 (pic_option): Likewise.
2255 (sda_option): Likewise.
2256 (tls_option): Likewise.
2257 (feature_type, feature_list): Remove.
2258 (arc_initial_eflag): Likewise.
2259 (attributes_set_explicitly): New variable.
2260 (arc_check_feature): Check also for the conflicting features.
2261 (arc_select_cpu): Refactor assignment of selected_cpu.eflags.
2262 (arc_option): Remove setting of private flags and architecture.
2263 (check_cpu_feature): Refactor feature names.
2264 (autodetect_attributes): New function.
2265 (assemble_tokens): Use above function.
2266 (md_parse_option): Refactor feature names.
2267 (arc_attribute): New function.
2268 (arc_set_attribute_int): Likewise.
2269 (arc_set_attribute_string): Likewise.
2270 (arc_stralloc): Likewise.
2271 (arc_set_public_attributes): Likewise.
2272 (arc_md_end): Likewise.
2273 (arc_copy_symbol_attributes): Likewise.
2274 (rc_convert_symbolic_attribute): Likewise.
2275 * config/tc-arc.h (md_end): Define.
2276 (CONVERT_SYMBOLIC_ATTRIBUTE): Likewise.
2277 (TC_COPY_SYMBOL_ATTRIBUTES): Likewise.
2278 * doc/c-arc.texi: Document ARC object attributes.
2280 2017-05-03 Maciej W. Rozycki <macro@imgtec.com>
2282 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `pic', `sym32' and
2284 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO):
2286 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
2287 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
2288 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
2289 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
2290 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
2291 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): Shift bits.
2292 (RELAX_MIPS16_MACRO, RELAX_MIPS16_MARK_MACRO)
2293 (RELAX_MIPS16_CLEAR_MACRO): New macros.
2294 (append_insn): Pass `mips_pic', HAVE_32BIT_SYMBOLS and
2295 `mips_opts.warn_about_macros' settings to RELAX_MIPS16_ENCODE.
2296 (mips16_macro_frag): New function.
2297 (md_estimate_size_before_relax): Handle HI16/LO16 relaxation.
2298 (mips_relax_frag): Likewise.
2299 (md_convert_frag): Likewise.
2301 * testsuite/gas/mips/mips16@relax-swap3.d: Remove error output,
2303 * testsuite/gas/mips/mips16e@relax-swap3.d: New test
2305 * testsuite/gas/mips/micromips@relax-swap3.d: Remove trailing
2307 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: Remove error
2308 output, add dump patterns.
2309 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: Remove error
2310 output, add dump patterns.
2311 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Remove error
2312 output, add dump patterns.
2313 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Remove error
2314 output, add dump patterns.
2315 * testsuite/gas/mips/mips16-pcrel-addend-2.d: Remove error
2316 output, add dump patterns.
2317 * testsuite/gas/mips/mips16-pcrel-addend-3.d: Remove error
2318 output, add dump patterns.
2319 * testsuite/gas/mips/mips16-pcrel-absolute.d: Remove error
2320 output, add dump patterns.
2321 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: Remove error
2322 output, add dump patterns.
2323 * testsuite/gas/mips/mips16@relax-swap3.l: Remove file.
2324 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: Remove file.
2325 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: Remove file.
2326 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: Remove file.
2327 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: Remove file.
2328 * testsuite/gas/mips/mips16-pcrel-addend-2.l: Remove file.
2329 * testsuite/gas/mips/mips16-pcrel-addend-3.l: Remove file.
2330 * testsuite/gas/mips/mips16-pcrel-absolute.l: Remove file.
2331 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: Remove file.
2332 * testsuite/gas/mips/relax-swap3.s: Adjust trailing padding.
2334 * testsuite/gas/mips/mips16-pcrel-0.d: New test.
2335 * testsuite/gas/mips/mips16-pcrel-1.d: New test.
2336 * testsuite/gas/mips/mips16-pcrel-2.d: New test.
2337 * testsuite/gas/mips/mips16-pcrel-3.d: New test.
2338 * testsuite/gas/mips/mips16-pcrel-4.d: New test.
2339 * testsuite/gas/mips/mips16-pcrel-5.d: New test.
2340 * testsuite/gas/mips/mips16-pcrel-pic-0.d: New test.
2341 * testsuite/gas/mips/mips16-pcrel-pic-1.d: New test.
2342 * testsuite/gas/mips/mips16-pcrel-n32-0.d: New test.
2343 * testsuite/gas/mips/mips16-pcrel-n32-1.d: New test.
2344 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: New test.
2345 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: New test.
2346 * testsuite/gas/mips/mips16-pcrel-n64-0.d: New test.
2347 * testsuite/gas/mips/mips16-pcrel-n64-1.d: New test.
2348 * testsuite/gas/mips/mips16-pcrel-delay-0.d: New test.
2349 * testsuite/gas/mips/mips16-pcrel-delay-1.d: New test.
2350 * testsuite/gas/mips/mips16-pcrel-addend-4.d: New test.
2351 * testsuite/gas/mips/mips16-pcrel-addend-5.d: New test.
2352 * testsuite/gas/mips/mips16-pcrel-addend-6.d: New test.
2353 * testsuite/gas/mips/mips16-pcrel-addend-7.d: New test.
2354 * testsuite/gas/mips/mips16-pcrel-addend-8.d: New test.
2355 * testsuite/gas/mips/mips16-pcrel-addend-9.d: New test.
2356 * testsuite/gas/mips/mips16-pcrel-addend-pic-8.d: New test.
2357 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: New test.
2358 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: New test.
2359 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: New test.
2360 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d: New test.
2361 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d: New test.
2362 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: New test.
2363 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: New test.
2364 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: New test.
2365 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: New test.
2366 * testsuite/gas/mips/mips16-pcrel-absolute-4.d: New test.
2367 * testsuite/gas/mips/mips16-pcrel-absolute-5.d: New test.
2368 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: New test.
2369 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: New test.
2370 * testsuite/gas/mips/mips16-pcrel-absolute-pic-4.d: New test.
2371 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: New test.
2372 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: New test.
2373 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: New test.
2374 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: New test.
2375 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: New test.
2376 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d: New
2378 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d: New
2380 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d: New
2382 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d: New
2384 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d: New
2386 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d: New
2388 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
2390 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
2392 * testsuite/gas/mips/mips16-pcrel-0.l: New stderr output.
2393 * testsuite/gas/mips/mips16-pcrel-1.l: New stderr output.
2394 * testsuite/gas/mips/mips16-pcrel-2.l: New stderr output.
2395 * testsuite/gas/mips/mips16-pcrel-3.l: New stderr output.
2396 * testsuite/gas/mips/mips16-pcrel-4.l: New stderr output.
2397 * testsuite/gas/mips/mips16-pcrel-5.l: New stderr output.
2398 * testsuite/gas/mips/mips16-pcrel-delay-0.l: New stderr output.
2399 * testsuite/gas/mips/mips16-pcrel-delay-1.l: New stderr output.
2400 * testsuite/gas/mips/mips16-pcrel-addend-8.l: New stderr output.
2401 * testsuite/gas/mips/mips16-pcrel-addend-9.l: New stderr output.
2402 * testsuite/gas/mips/mips16-pcrel-absolute-4.l: New stderr
2404 * testsuite/gas/mips/mips16-pcrel-absolute-6.l: New stderr
2406 * testsuite/gas/mips/mips16-pcrel-0.s: New test source.
2407 * testsuite/gas/mips/mips16-pcrel-1.s: New test source.
2408 * testsuite/gas/mips/mips16-pcrel-2.s: New test source.
2409 * testsuite/gas/mips/mips16-pcrel-3.s: New test source.
2410 * testsuite/gas/mips/mips16-pcrel-4.s: New test source.
2411 * testsuite/gas/mips/mips16-pcrel-5.s: New test source.
2412 * testsuite/gas/mips/mips16-pcrel-delay-0.s: New test source.
2413 * testsuite/gas/mips/mips16-pcrel-delay-1.s: New test source.
2414 * testsuite/gas/mips/mips16-pcrel-addend-4.s: New test source.
2415 * testsuite/gas/mips/mips16-pcrel-addend-5.s: New test source.
2416 * testsuite/gas/mips/mips16-pcrel-addend-6.s: New test source.
2417 * testsuite/gas/mips/mips16-pcrel-addend-7.s: New test source.
2418 * testsuite/gas/mips/mips16-pcrel-addend-8.s: New test source.
2419 * testsuite/gas/mips/mips16-pcrel-addend-9.s: New test source.
2420 * testsuite/gas/mips/mips16-pcrel-absolute-2.s: New test.
2421 * testsuite/gas/mips/mips16-pcrel-absolute-3.s: New test.
2422 * testsuite/gas/mips/mips16-pcrel-absolute-4.s: New test.
2423 * testsuite/gas/mips/mips16-pcrel-absolute-5.s: New test.
2424 * testsuite/gas/mips/mips16-pcrel-absolute-6.s: New test.
2425 * testsuite/gas/mips/mips16-pcrel-absolute-7.s: New test.
2426 * testsuite/gas/mips/mips.exp: Run the new tests.
2428 2017-05-03 Nick Clifton <nickc@redhat.com>
2431 * symbols.c (snapshot_symbol): Handle the case where
2432 resolve_expression returns a local symbol.
2434 2017-05-02 Maciej W. Rozycki <macro@imgtec.com>
2436 * config/tc-mips.c (append_insn): Call `symbol_append' for any
2437 expression symbol created for MIPS16 relaxation.
2438 (match_mips16_insn): Don't encode a constant value as an
2439 immediate with a PC-relative operand.
2441 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: New test.
2442 * testsuite/gas/mips/mips16-branch-absolute-1.d: New test.
2443 * testsuite/gas/mips/mips16-branch-absolute-2.d: New test.
2444 * testsuite/gas/mips/mips16-branch-absolute-addend-1.d: New
2446 * testsuite/gas/mips/mips16-branch-absolute-n32-1.d: New test.
2447 * testsuite/gas/mips/mips16-branch-absolute-n32-2.d: New test.
2448 * testsuite/gas/mips/mips16-branch-absolute-addend-n32-1.d: New
2450 * testsuite/gas/mips/mips16-branch-absolute-n64-1.d: New test.
2451 * testsuite/gas/mips/mips16-branch-absolute-n64-2.d: New test.
2452 * testsuite/gas/mips/mips16-branch-absolute-addend-n64-1.d: New
2454 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: New stderr
2456 * testsuite/gas/mips/mips16-pcrel-absolute-1.s: New test source.
2457 * testsuite/gas/mips/mips16-branch-absolute-1.s: New test
2459 * testsuite/gas/mips/mips16-branch-absolute-2.s: New test
2461 * testsuite/gas/mips/mips16-branch-absolute-addend-1.s: New test
2463 * testsuite/gas/mips/mips.exp: Run the new tests.
2465 2017-04-27 Maciej W. Rozycki <macro@imgtec.com>
2467 * config/tc-mips.c (mips16_pcrel_val): New function, factored
2469 (mips16_extended_frag): ... here.
2470 (md_convert_frag): Use `mips16_pcrel_val' rather than repeated
2471 code in MIPS16 relaxation, with `stretch' hardcoded to 0.
2473 2017-04-27 Maciej W. Rozycki <macro@imgtec.com>
2475 * config/tc-mips.c (RELAX_MIPS16_LONG_BRANCH): Rename to...
2476 (RELAX_MIPS16_ALWAYS_EXTENDED): ... this.
2477 (RELAX_MIPS16_MARK_LONG_BRANCH): Rename to...
2478 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED): ... this.
2479 (RELAX_MIPS16_CLEAR_LONG_BRANCH): Rename to...
2480 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): ... this.
2481 (mips16_extended_frag): Adjust accordingly.
2483 2017-04-27 Alan Modra <amodra@gmail.com>
2485 * symbols.c (S_FORCE_RELOC): Separate section and symbol tests.
2487 2017-04-26 Maciej W. Rozycki <macro@imgtec.com>
2489 * config/tc-mips.c (RELAX_ENCODE): Add `PIC' flag.
2490 (RELAX_PIC): New macro.
2491 (RELAX_USE_SECOND, RELAX_SECOND_LONGER, RELAX_NOMACRO)
2492 (RELAX_DELAY_SLOT, RELAX_DELAY_SLOT_16BIT)
2493 (RELAX_DELAY_SLOT_SIZE_FIRST, RELAX_DELAY_SLOT_SIZE_SECOND):
2495 (RELAX_BRANCH_ENCODE): Add `pic' flag.
2496 (RELAX_BRANCH_UNCOND, RELAX_BRANCH_LIKELY, RELAX_BRANCH_LINK)
2497 (RELAX_BRANCH_TOOFAR): Shift bits.
2498 (RELAX_BRANCH_PIC): New macro.
2499 (RELAX_MICROMIPS_ENCODE): Add `pic' flag.
2500 (RELAX_MICROMIPS_PIC): New macro.
2501 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
2502 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_NODS)
2503 (RELAX_MICROMIPS_RELAX32): Shift bits.
2504 (relax_close_frag): Pass `mips_pic' setting to RELAX_ENCODE.
2505 (append_insn): Pass `mips_pic' setting to RELAX_BRANCH_ENCODE
2506 and RELAX_MICROMIPS_ENCODE, and record it in `fx_tcbit2' of the
2507 first fixup created.
2508 (md_apply_fix) <BFD_RELOC_16_PCREL_S2>: Use `fx_tcbit2' of the
2509 fixup processed rather than `mips_pic' in choosing to relax an
2510 out of range branch to a jump.
2511 (relaxed_branch_length): Use the `pic' flag of the relaxed frag
2512 rather than `mips_pic'.
2513 (relaxed_micromips_32bit_branch_length): Likewise.
2514 (md_estimate_size_before_relax): Likewise.
2515 (md_convert_frag): Likewise.
2517 * testsuite/gas/mips/option-pic-relax-0.d: New test.
2518 * testsuite/gas/mips/option-pic-relax-1.d: New test.
2519 * testsuite/gas/mips/option-pic-relax-2.d: New test.
2520 * testsuite/gas/mips/option-pic-relax-3.d: New test.
2521 * testsuite/gas/mips/option-pic-relax-3a.d: New test.
2522 * testsuite/gas/mips/option-pic-relax-4.d: New test.
2523 * testsuite/gas/mips/option-pic-relax-5.d: New test.
2524 * testsuite/gas/mips/option-pic-relax-2.l: New stderr output.
2525 * testsuite/gas/mips/option-pic-relax-3.l: New stderr output.
2526 * testsuite/gas/mips/option-pic-relax-4.l: New stderr output.
2527 * testsuite/gas/mips/option-pic-relax-5.l: New stderr output.
2528 * testsuite/gas/mips/option-pic-relax-0.s: New test source.
2529 * testsuite/gas/mips/option-pic-relax-1.s: New test source.
2530 * testsuite/gas/mips/option-pic-relax-2.s: New test source.
2531 * testsuite/gas/mips/option-pic-relax-3.s: New test source.
2532 * testsuite/gas/mips/option-pic-relax-4.s: New test source.
2533 * testsuite/gas/mips/option-pic-relax-5.s: New test source.
2534 * testsuite/gas/mips/mips.exp: Run the new tests.
2536 2017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
2538 * testsuite/gas/arc/leave_enter.d: Update test.
2539 * testsuite/gas/arc/leave_enter.s: Likewise.
2541 2017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
2543 * testsuite/gas/arc/b.d: Update test.
2544 * testsuite/gas/arc/noargs_hs.d: Likewise.
2546 2017-04-25 Maciej W. Rozycki <macro@imgtec.com>
2548 * config/tc-mips.c (md_convert_frag): Correct
2549 BFD_RELOC_MIPS16_16_PCREL_S1 fixup size.
2550 * testsuite/gas/mips/mips16-branch-addend-4.d: New test.
2551 * testsuite/gas/mips/mips16-branch-addend-5.d: New test.
2552 * testsuite/gas/mips/mips16-branch-addend-5.l: New stderr
2554 * testsuite/gas/mips/mips16-branch-addend-4.s: New test source.
2555 * testsuite/gas/mips/mips16-branch-addend-5.s: New test source.
2556 * testsuite/gas/mips/mips.exp: Run the new tests.
2558 2017-04-25 Jose E. Marchesi <jose.marchesi@oracle.com>
2561 * config/tc-sparc.c (md_apply_fix): Do not transform `call'
2562 instructions into branch instructions in fixups generating
2563 additional relocations.
2564 * testsuite/gas/sparc/call-relax.s: New file.
2565 * testsuite/gas/sparc/call-relax.d: Likewise.
2566 * testsuite/gas/sparc/call-relax-aout.d: Likewise.
2567 * testsuite/gas/sparc/sparc.exp: Test call-relax and call-relax-aout.
2569 2017-04-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
2571 * config/tc-arm.c (move_or_literal_pool): Remove code generating MOVS.
2572 Forbid MOV.W and MOVW if destination is SP or PC.
2573 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.s: Explain
2574 expectation of LDR not generating a MOVS for low registers and small
2575 constants. Add tests of MOVW generation.
2576 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Update
2577 expected disassembly.
2579 2017-04-22 Alan Modra <amodra@gmail.com>
2581 * testsuite/gas/ppc/vle.s: Format. Add se_rfgi and e_sc.
2582 * testsuite/gas/ppc/vle.d: Update.
2584 2017-04-21 Nick Clifton <nickc@redhat.com>
2587 * testsuite/gas/aarch64/illegal-3.s: New file.
2588 * testsuite/gas/aarch64/illegal-3.d: New file.
2590 2017-04-11 Alan Modra <amodra@gmail.com>
2592 * config/tc-ppc.c (md_show_usage): Delete mention of -mhtm.
2593 * testsuite/gas/ppc/htm.d: Pass -mpower8 and -Mpower8.
2595 2017-04-10 Max Filippov <jcmvbkbc@gmail.com>
2597 * config/tc-xtensa.c (xtensa_maybe_create_literal_pool_frag):
2598 Initialize lps->frag_count with auto_litpool_limit.
2599 (xg_promote_candidate_litpool): New function.
2600 (xtensa_move_literals): Extract candidate litpool promotion code
2601 into separate function. Call it for all possible found
2603 (xtensa_switch_to_literal_fragment): Drop 'recursive' flag and
2604 call to xtensa_mark_literal_pool_location that it guards.
2605 Replace it with call to xtensa_maybe_create_literal_pool_frag.
2606 Initialize pool_location with created literal pool candidate.
2607 * testsuite/gas/xtensa/all.exp: Add new tests.
2608 * testsuite/gas/xtensa/auto-litpools-first1.d: New test results.
2609 * testsuite/gas/xtensa/auto-litpools-first1.s: New test.
2610 * testsuite/gas/xtensa/auto-litpools-first2.d: New test results.
2611 * testsuite/gas/xtensa/auto-litpools-first2.s: New test.
2612 * testsuite/gas/xtensa/auto-litpools.d: Fix offsets changed due
2613 to additional jump instruction.
2615 2017-04-07 Alan Modra <amodra@gmail.com>
2617 * testsuite/gas/ppc/altivec2.s: Delete E6500 vector insns.
2618 * testsuite/gas/ppc/altivec2.d: Adjust to suit.
2620 2017-04-07 Alan Modra <amodra@gmail.com>
2622 * testsuite/gas/elf/section12a.d: Don't expect alignment of 1
2625 2017-04-06 Pip Cet <pipcet@gmail.com>
2627 * testsuite/gas/wasm32/allinsn.d: Adjust test for disassembler
2629 * testsuite/gas/wasm32/disass.d: New test.
2630 * testsuite/gas/wasm32/disass.s: New test.
2631 * testsuite/gas/wasm32/disass-2.d: New test.
2632 * testsuite/gas/wasm32/disass-2.s: New test.
2633 * testsuite/gas/wasm32/reloc.d: Adjust test for changed reloc
2635 * testsuite/gas/wasm32/reloc.s: Update test for changed assembler
2637 * testsuite/gas/wasm32/wasm32.exp: Run new tests. Expect allinsn
2640 2017-04-04 H.J. Lu <hongjiu.lu@intel.com>
2642 * NEWS: Mention support for ELF SHF_GNU_MBIND.
2643 * config/obj-elf.c (section_match): New.
2644 (get_section): Match both sh_info and group name.
2645 (obj_elf_change_section): Add argument for sh_info. Pass both
2646 sh_info and group name to get_section. Issue an error for
2647 SHF_GNU_MBIND section without SHF_ALLOC. Set sh_info.
2648 (obj_elf_parse_section_letters): Set SHF_GNU_MBIND for 'd'.
2649 (obj_elf_section): Support SHF_GNU_MBIND section info.
2650 * config/obj-elf.h (obj_elf_change_section): Add argument for
2652 * config/tc-arm.c (start_unwind_section): Pass 0 as sh_info to
2653 obj_elf_change_section.
2654 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
2655 * config/tc-microblaze.c (microblaze_s_data): Likewise.
2656 (microblaze_s_sdata): Likewise.
2657 (microblaze_s_rdata): Likewise.
2658 (microblaze_s_bss): Likewise.
2659 * config/tc-mips.c (s_change_section): Likewise.
2660 * config/tc-msp430.c (msp430_profiler): Likewise.
2661 * config/tc-rx.c (parse_rx_section): Likewise.
2662 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
2663 * doc/as.texinfo: Document 'd' for SHF_GNU_MBIND.
2664 * testsuite/gas/elf/elf.exp: Run section12a, section12b and
2666 * testsuite/gas/elf/section10.d: Updated.
2667 * testsuite/gas/elf/section10.s: Likewise.
2668 * testsuite/gas/elf/section12.s: New file.
2669 * testsuite/gas/elf/section12a.d: Likewise.
2670 * testsuite/gas/elf/section12b.d: Likewise.
2671 * testsuite/gas/elf/section13.l: Likewise.
2672 * testsuite/gas/elf/section13.d: Likewise.
2673 * testsuite/gas/elf/section13.s: Likewise.
2675 2017-04-03 Palmer Dabbelt <palmer@dabbelt.com>
2677 * config/tc-riscv.c (riscv_clear_subsets): Cast argument to free to
2678 avoid const warnings.
2680 2017-03-30 Palmer Dabbelt <palmer@dabbelt.com>
2682 * config/tc-riscv.c (riscv_clear_subsets): New function.
2683 (riscv_add_subset): Call riscv_clear_subsets and riscv_set_rvc to
2684 clear RVC when it's been previously set.
2686 2017-03-31 Nick Clifton <nickc@redhat.com>
2689 * config/tc-s390.c (tc_s390_fix_adjustable): Allow non pc-relative
2690 fixups in mergeable sections to be adjusted.
2692 2017-03-30 Pip Cet <pipcet@gmail.com>
2694 * config/tc-wasm32.h: New file: Add WebAssembly assembler target.
2695 * config/tc-wasm32.c: New file: Add WebAssembly assembler target.
2696 * Makefile.am: Add WebAssembly assembler target.
2697 * configure.tgt: Add WebAssembly assembler target.
2698 * doc/c-wasm32.texi: New file: Start documenting WebAssembly
2700 * doc/all.texi: Define WASM32.
2701 * doc/as.texinfo: Add WebAssembly entries.
2702 * NEWS: Mention the new support.
2703 * Makefile.in: Regenerate.
2704 * po/gas.pot: Regenerate.
2705 * po/POTFILES.in: Regenerate.
2706 * testsuite/gas/wasm32: New directory.
2707 * testsuite/gas/wasm32/allinsn.d: New file.
2708 * testsuite/gas/wasm32/allinsn.s: New file.
2709 * testsuite/gas/wasm32/illegal.l: New file.
2710 * testsuite/gas/wasm32/illegal.s: New file.
2711 * testsuite/gas/wasm32/illegal-2.l: New file.
2712 * testsuite/gas/wasm32/illegal-2.s: New file.
2713 * testsuite/gas/wasm32/illegal-3.l: New file.
2714 * testsuite/gas/wasm32/illegal-3.s: New file.
2715 * testsuite/gas/wasm32/illegal-4.l: New file.
2716 * testsuite/gas/wasm32/illegal-4.s: New file.
2717 * testsuite/gas/wasm32/illegal-5.l: New file.
2718 * testsuite/gas/wasm32/illegal-5.s: New file.
2719 * testsuite/gas/wasm32/illegal-6.l: New file.
2720 * testsuite/gas/wasm32/illegal-6.s: New file.
2721 * testsuite/gas/wasm32/illegal-7.l: New file.
2722 * testsuite/gas/wasm32/illegal-7.s: New file.
2723 * testsuite/gas/wasm32/illegal-8.l: New file.
2724 * testsuite/gas/wasm32/illegal-8.s: New file.
2725 * testsuite/gas/wasm32/illegal-9.l: New file.
2726 * testsuite/gas/wasm32/illegal-9.s: New file.
2727 * testsuite/gas/wasm32/illegal-10.l: New file.
2728 * testsuite/gas/wasm32/illegal-10.s: New file.
2729 * testsuite/gas/wasm32/illegal-11.l: New file.
2730 * testsuite/gas/wasm32/illegal-11.s: New file.
2731 * testsuite/gas/wasm32/illegal-12.l: New file.
2732 * testsuite/gas/wasm32/illegal-12.s: New file.
2733 * testsuite/gas/wasm32/illegal-13.l: New file.
2734 * testsuite/gas/wasm32/illegal-13.s: New file.
2735 * testsuite/gas/wasm32/illegal-14.l: New file.
2736 * testsuite/gas/wasm32/illegal-14.s: New file.
2737 * testsuite/gas/wasm32/illegal-15.l: New file.
2738 * testsuite/gas/wasm32/illegal-15.s: New file.
2739 * testsuite/gas/wasm32/illegal-16.l: New file.
2740 * testsuite/gas/wasm32/illegal-16.s: New file.
2741 * testsuite/gas/wasm32/illegal-17.l: New file.
2742 * testsuite/gas/wasm32/illegal-17.s: New file.
2743 * testsuite/gas/wasm32/illegal-18.l: New file.
2744 * testsuite/gas/wasm32/illegal-18.s: New file.
2745 * testsuite/gas/wasm32/illegal-19.l: New file.
2746 * testsuite/gas/wasm32/illegal-19.s: New file.
2747 * testsuite/gas/wasm32/illegal-20.l: New file.
2748 * testsuite/gas/wasm32/illegal-20.s: New file.
2749 * testsuite/gas/wasm32/illegal-21.l: New file.
2750 * testsuite/gas/wasm32/illegal-21.s: New file.
2751 * testsuite/gas/wasm32/illegal-22.l: New file.
2752 * testsuite/gas/wasm32/illegal-22.s: New file.
2753 * testsuite/gas/wasm32/illegal-24.l: New file.
2754 * testsuite/gas/wasm32/illegal-24.s: New file.
2755 * testsuite/gas/wasm32/illegal-25.l: New file.
2756 * testsuite/gas/wasm32/illegal-25.s: New file.
2757 * testsuite/gas/wasm32/reloc.d: New file.
2758 * testsuite/gas/wasm32/reloc.s: New file.
2759 * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly
2762 2017-03-29 Alan Modra <amodra@gmail.com>
2764 * config/tc-ppc.c (md_parse_option): Reject -mraw.
2766 2017-03-27 Alan Modra <amodra@gmail.com>
2769 * testsuite/gas/ppc/pr21303.d,
2770 * testsuite/gas/ppc/pr21303.s: New test
2771 * testsuite/gas/ppc/ppc.exp: Run it.
2773 2017-03-27 Rinat Zelig <rinat@mellanox.com>
2775 * testsuite/gas/arc/nps400-12.s: New file.
2776 * testsuite/gas/arc/nps400-12.d: New file.
2778 2017-03-24 Thomas preud'homme <thomas.preudhomme@arm.com>
2780 * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
2781 CPU_DEFAULT is defined.
2783 2017-03-21 Palmer Dabbbelt <palmer@dabbelt.com>
2785 * config/tc-riscv.c (md_show_usage): Remode defuct -m32, -m64,
2786 -msoft-float, -mhard-float, -mno-rvc, and -mrvc options; and don't
2787 print an invalid default ISA string.
2788 * doc/c-riscv.texi (OPTIONS): Add -fpic and -fno-pic options.
2790 2017-03-22 Max Filippov <jcmvbkbc@gmail.com>
2792 * config/tc-xtensa.c (xtensa_relax_frag): Change fx_size of the
2793 reassigned fixup to size of jump instruction (3) and fx_r_type
2794 to BFD_RELOC_XTENSA_SLOT0_OP, as there's only one slot.
2795 (add_jump_to_trampoline): Search
2796 origfrag->tc_frag_data.slot_symbols for the slot with non-NULL
2797 symbol and use that slot instead of slot 0.
2799 2017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
2801 * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
2802 from cpu_table. Remove vx2, and novx2 from cpu_flags.
2804 2017-03-21 Rinat Zelig <rinat@mellanox.com>
2806 * testsuite/gas/arc/nps400-11.s: New file.
2807 * testsuite/gas/arc/nps400-11.d: New file.
2809 2017-03-20 Nick Clifton <nickc@redhat.com>
2811 * doc/as.texinfo (2byte): Note that if no expressions are present
2812 the directive does nothing. Emphasize that the output is
2813 unaligned, and that this can have an effect on the relocations
2815 (4byte): Simplify description. Refer back to the 2byte
2819 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
2821 * config/tc-arm.c (arm_fpus): Note entires that should not be
2823 * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
2824 neon-fp16. Fix spelling error.
2826 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
2828 * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
2830 2017-03-16 Rinat Zelig <rinat@mellanox.com>
2832 * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
2833 specially for ARCv2.
2835 2017-03-14 Kito Cheng <kito.cheng@gmail.com>
2837 * config/tc-riscv.c (validate_riscv_insn): Add 'o' RVC immediate
2838 encoding format, which can accept 0-valued immediates.
2839 (riscv_ip): Likewise.
2841 2017-03-15 Nick Clifton <nickc@redhat.com>
2843 * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
2844 warning about discarding a const qualifier.
2846 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
2848 * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
2850 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
2852 * config/tc-riscv.c (md_apply_fix): Set fx_frag and
2853 fx_next->fx_frag for CFA_advance_loc relocations.
2855 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
2857 * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
2858 for CFA relocations.
2860 2017-03-13 Nick Clifton <nickc@redhat.com>
2863 * config/tc-aarch64.c (reloc_table): Rename
2864 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC to
2865 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12. Rname
2866 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC to
2867 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
2868 (md_apply_fix): Likewise.
2869 (aarch64_force_relocation): Likewise.
2870 * testsuite/gas/aarch64/tls.d: Update regexp.
2872 2017-03-10 Tobin C. Harding <me@tobin.cc>
2873 Nick Clifton <nickc@redhat.com>
2875 * doc/as.texinfo (2byte): Tidy up wording. Add note that
2876 overlarge values will produce a warning message and be trunacted.
2879 2017-03-09 H.J. Lu <hongjiu.lu@intel.com>
2881 * config/tc-i386.c (_i386_insn): Add dir_encoding and
2882 vec_encoding. Remove swap_operand and need_vrex.
2883 (extra_symbol_chars): Add '}'.
2884 (md_begin): Mark '}' with LEX_BEGIN_NAME. Allow '}' in
2886 (build_vex_prefix): Don't use 2-byte VEX encoding with
2887 {vex3}. Check dir_encoding and load.
2888 (parse_insn): Check pseudo prefixes. Set dir_encoding.
2889 (VEX_check_operands): Likewise.
2890 (match_template): Check dir_encoding and load.
2891 (parse_real_register): Set vec_encoding instead of need_vrex.
2892 (parse_register): Likewise.
2893 * doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
2894 {vex2}, {vex3} and {evex}. Remove ".s", ".d8" and ".d32"
2895 * testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
2896 * testsuite/gas/i386/pseudos.d: New file.
2897 * testsuite/gas/i386/pseudos.s: Likewise.
2898 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
2899 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
2901 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
2903 * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
2904 (objdump): Use the -Mpower8 option.
2906 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
2908 * testsuite/gas/ppc/power9.d <lnia> New test.
2909 * testsuite/gas/ppc/power9.s: Likewise.
2911 2017-03-07 Alan Modra <amodra@gmail.com>
2913 * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
2915 2017-03-07 Tobin C. Harding <me@tobin.cc>
2916 Alan Modra <amodra@gmail.com>
2918 * doc/as.texinfo (2byte, 4byte, 8byte): Document.
2919 * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
2921 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
2923 * config/tc-i386.c (cpu_arch): Add .cet.
2924 * doc/c-i386.texi: Document cet.
2925 * testsuite/gas/i386/cet-intel.d: New file.
2926 * testsuite/gas/i386/cet.d: Likewise.
2927 * testsuite/gas/i386/cet.s: Likewise.
2928 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
2929 * testsuite/gas/i386/x86-64-cet.d: Likewise.
2930 * testsuite/gas/i386/x86-64-cet.s: Likewise.
2931 * testsuite/gas/i386/i386.exp: Run Intel CET tests.
2933 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
2935 * testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment.
2936 * testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
2938 2017-03-06 Alan Modra <amodra@gmail.com>
2940 * dw2gencfi.c (encoding_size): Return unsigned int.
2941 (emit_expr_encoded): Assert size matches reloc bitsize.
2942 (output_fde): Use unsigned for offset_size and addr_size. Set
2943 addr_size earlier and use in place of constant 4 and uses of
2944 DWARF2_FDE_RELOC_SIZE. Assert it matches reloc bitsize.
2946 2017-03-06 Alan Modra <amodra@gmail.com>
2948 * dw2gencfi.c: Wrap overlong lines. Add parens for emacs
2949 auto reformat. Formatting and whitespace fixes.
2951 2017-03-05 Mark Wielaard <mark@klomp.org>
2953 * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_strp instead of
2954 DW_FORM_string for DW_AT_name, DW_AT_comp_dir and DW_AT_producer.
2955 (out_debug_info): Accept symbols to name, comp_dir and producer in
2956 the .debug_str section and emit those offsets not full strings.
2957 (out_debug_str): New function that outputs the strings for name,
2958 comp_dir and producer in .debug_str and generates symbols to those
2960 (out_debug_line): Create a .debug_str section if necessary and call
2961 out_debug_str before calling out_debug_info.
2962 * testsuite/gas/aarch64/dwarf.d: Add extra section symbol to expected
2965 2017-03-02 Maciej W. Rozycki <macro@imgtec.com>
2967 * write.c (relax_segment) <rs_org>: Only bail out if the fixed
2968 part of the frag has overrun the location requested.
2970 * testsuite/gas/all/org-1.d: New test.
2971 * testsuite/gas/all/org-2.d: New test.
2972 * testsuite/gas/all/org-3.d: New test.
2973 * testsuite/gas/all/org-4.d: New test.
2974 * testsuite/gas/all/org-5.d: New test.
2975 * testsuite/gas/all/org-6.d: New test.
2976 * testsuite/gas/all/org-1.l: New stderr output.
2977 * testsuite/gas/all/org-2.l: New stderr output.
2978 * testsuite/gas/all/org-3.l: New stderr output.
2979 * testsuite/gas/all/org-1.s: New test source.
2980 * testsuite/gas/all/org-2.s: New test source.
2981 * testsuite/gas/all/org-3.s: New test source.
2982 * testsuite/gas/all/org-4.s: New test source.
2983 * testsuite/gas/all/org-5.s: New test source.
2984 * testsuite/gas/all/org-6.s: New test source.
2985 * testsuite/gas/all/gas.exp: Run the new tests.
2987 * testsuite/gas/mips/org-1.d: New test.
2988 * testsuite/gas/mips/org-2.d: New test.
2989 * testsuite/gas/mips/org-3.d: New test.
2990 * testsuite/gas/mips/org-4.d: New test.
2991 * testsuite/gas/mips/org-5.d: New test.
2992 * testsuite/gas/mips/org-6.d: New test.
2993 * testsuite/gas/mips/org-7.d: New test.
2994 * testsuite/gas/mips/org-8.d: New test.
2995 * testsuite/gas/mips/org-9.d: New test.
2996 * testsuite/gas/mips/org-10.d: New test.
2997 * testsuite/gas/mips/org-11.d: New test.
2998 * testsuite/gas/mips/org-12.d: New test.
2999 * testsuite/gas/mips/org-1.l: New stderr output.
3000 * testsuite/gas/mips/org-4.l: New stderr output.
3001 * testsuite/gas/mips/org-5.l: New stderr output.
3002 * testsuite/gas/mips/org-6.l: New stderr output.
3003 * testsuite/gas/mips/org-10.l: New stderr output.
3004 * testsuite/gas/mips/org-1.s: New test source.
3005 * testsuite/gas/mips/org-2.s: New test source.
3006 * testsuite/gas/mips/org-3.s: New test source.
3007 * testsuite/gas/mips/org-4.s: New test source.
3008 * testsuite/gas/mips/org-5.s: New test source.
3009 * testsuite/gas/mips/org-6.s: New test source.
3010 * testsuite/gas/mips/org-7.s: New test source.
3011 * testsuite/gas/mips/org-8.s: New test source.
3012 * testsuite/gas/mips/org-9.s: New test source.
3013 * testsuite/gas/mips/org-10.s: New test source.
3014 * testsuite/gas/mips/org-11.s: New test source.
3015 * testsuite/gas/mips/org-12.s: New test source.
3016 * testsuite/gas/mips/mips.exp: Run the new tests.
3018 2017-03-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
3020 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
3022 2017-02-28 Jan Beulich <jbeulich@suse.com>
3024 * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
3026 * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
3027 * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
3029 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
3030 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
3031 * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Likewise.
3032 * testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d: Likewise.
3033 * testsuite/gas/i386/ilp32/x86-64-sse4_2.d: Likewise.
3034 * testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
3035 * testsuite/gas/i386/x86-64-avx.d: Likewise.
3036 * testsuite/gas/i386/x86-64-sse2avx.d: Likewise.
3037 * testsuite/gas/i386/x86-64-sse4_2-intel.d: Likewise.
3038 * testsuite/gas/i386/x86-64-sse4_2.d: Likewise.
3040 2017-02-28 Alan Modra <amodra@gmail.com>
3042 * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
3044 2017-02-28 Alan Modra <amodra@gmail.com>
3046 * config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
3047 (md_apply_fix): Remove fx_subsy check. Move code converting to
3048 pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA. Remove code
3049 emiiting errors on seeing fx_pcrel set on unexpected relocs, as
3050 that is done now by the generic code via..
3051 * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
3052 (TC_VALIDATE_FIX_SUB): Define.
3054 2017-02-28 Maciej W. Rozycki <macro@imgtec.com>
3056 * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
3057 * testsuite/gas/mips/jalr4.d: Adjust accordingly. Remove MIPSr6
3059 * testsuite/gas/mips/jalr4-n64.d: Likewise.
3060 * testsuite/gas/mips/mipsr6@jalr4.d: New test.
3061 * testsuite/gas/mips/mipsr6@jalr4-n32.d: New test.
3062 * testsuite/gas/mips/mipsr6@jalr4-n64.d: New test.
3064 2017-02-25 Alan Modra <amodra@gmail.com>
3066 * testsuite/gas/elf/strtab.s: Don't put directives on first
3067 column or continuation with labels not in first column.
3069 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
3071 * doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
3072 * config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
3073 to be used with SVE registers.
3074 (parse_operands): Handle new SVE operands.
3075 (aarch64_features): Make "sve" require F16 rather than FP. Also
3077 * testsuite/gas/aarch64/sve.s: Add tests for new instructions.
3078 Include compnum tests.
3079 * testsuite/gas/aarch64/sve.d: Update accordingly.
3080 * testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
3081 * testsuite/gas/aarch64/sve-invalid.l: Update accordingly. Also
3082 update expected output for new FMOV and MOV alternatives.
3084 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
3086 * doc/c-aarch64.texi: Add a "compnum" entry.
3087 * config/tc-aarch64.c (aarch64_features): Likewise,
3088 * testsuite/gas/aarch64/advsimd-compnum.s: New test.
3089 * testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
3091 2017-02-24 Jan Beulich <jbeulich@suse.com>
3093 * testsuite/gas/i386/opcode.s: Add alternative TEST forms.
3094 * testsuite/gas/i386/x86-64-opcode.s: Likewise.
3095 * testsuite/gas/i386/opcode.d: Adjust accordingly.
3096 * testsuite/gas/i386/opcode-intel.d: Likewise.
3097 * testsuite/gas/i386/x86-64-opcode.d: Likewise.
3098 * testsuite/gas/i386/ilp32/x86-64-opcode.d: Likewise.
3100 2017-02-24 Sheldon Lobo <sheldon.lobo@oracle.com>
3102 Test cases for the architecture level aware SPARC ASI work.
3103 * gas/testsuite/gas/sparc/sparc.exp: 2 new tests
3104 * gas/testsuite/gas/sparc/asi-bump-warn.s: New test
3105 * gas/testsuite/gas/sparc/asi-bump-warn.l: Likewise
3106 * gas/testsuite/gas/sparc/asi-arch-error.s: Likewise
3107 * gas/testsuite/gas/sparc/asi-arch-error.l: Likewise
3109 2017-02-23 Maciej W. Rozycki <macro@imgtec.com>
3111 * testsuite/gas/mips/jalr4.d: New test.
3112 * testsuite/gas/mips/jalr4-n32.d: New test.
3113 * testsuite/gas/mips/jalr4-n64.d: New test.
3114 * testsuite/gas/mips/jalr4.s: New test source.
3115 * testsuite/gas/mips/mips.exp: Run the new tests.
3117 2017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
3119 Add support for associating SPARC ASIs with an architecture level.
3120 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
3122 2017-02-23 Jan Beulich <jbeulich@suse.com>
3124 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
3125 of symbols as expression.
3127 2017-02-23 Jan Beulich <jbeulich@suse.com>
3129 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.d: Add 32- and 16-
3130 bit GPR forms of BNDCL, BNDCU, and BNDCN. Add RSP-as-index
3131 Intel syntax forms of BNDMK, BNDSTX, and BNDLDX.
3132 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust.
3134 2017-02-22 Maciej W. Rozycki <macro@imgtec.com>
3136 * ecoff.c (ecoff_directive_end) [md_flush_pending_output]: Call
3137 `md_flush_pending_output'.
3138 * config/tc-mips.c (s_mips_end) [md_flush_pending_output]: Call
3139 `md_flush_pending_output' unconditionally.
3140 * testsuite/gas/mips/debug-label-end-1.d: New test.
3141 * testsuite/gas/mips/debug-label-end-2.d: New test.
3142 * testsuite/gas/mips/debug-label-end-3.d: New test.
3143 * testsuite/gas/mips/debug-label-end.s: New test source.
3144 * testsuite/gas/mips/mips.exp: Run the new tests.
3146 2017-02-22 Hans-Peter Nilsson <hp@axis.com>
3148 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
3149 targets yielding an error message matching "too complex".
3151 2017-02-22 Nick Clifton <nickc@redhat.com>
3153 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
3155 2017-02-21 Jan Beulich <jbeulich@suse.com>
3157 * expr.c (operand): Handle missing operand to .startof.() and
3159 * testsuite/gas/all/err-sizeof.s: New.
3161 2017-02-20 Alan Modra <amodra@gmail.com>
3164 * NEWS: Revise powerpc register check.
3165 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
3166 register expression" a warning.
3168 2017-02-17 Maciej W. Rozycki <macro@imgtec.com>
3170 * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
3171 * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
3172 * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
3173 * testsuite/gas/mips/aent-2.d: New test.
3174 * testsuite/gas/mips/aent-mdebug.d: New test.
3175 * testsuite/gas/mips/aent-mdebug-2.d: New test.
3176 * testsuite/gas/mips/mips.exp: Run the new tests.
3178 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
3180 * testsuite/gas/aarch64/sve-sysreg.s,
3181 testsuite/gas/aarch64/sve-sysreg.d,
3182 testsuite/gas/aarch64/sve-sysreg-invalid.d,
3183 testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
3185 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
3187 * doc/c-aarch64.texi: Fix sve entry.
3189 2017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
3191 * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
3192 information from input expression.
3193 (assemble_insn): Make sure pcrel is correctly set.
3194 (arc_pcrel_adjust): Compensate for PCL rounding.
3195 * testsuite/gas/arc/relax-add01.d: New file.
3196 * testsuite/gas/arc/relax-add01.s: Likewise.
3197 * testsuite/gas/arc/relax-add02.d: Likewise.
3198 * testsuite/gas/arc/relax-add02.s: Likewise.
3199 * testsuite/gas/arc/relax-add03.d: Likewise.
3200 * testsuite/gas/arc/relax-add03.s: Likewise.
3201 * testsuite/gas/arc/relax-add04.d: Likewise.
3202 * testsuite/gas/arc/relax-add04.s: Likewise.
3203 * testsuite/gas/arc/relax-ld01.d: Likewise.
3204 * testsuite/gas/arc/relax-ld01.s: Likewise.
3205 * testsuite/gas/arc/relax-ld02.d: Likewise.
3206 * testsuite/gas/arc/relax-ld02.s: Likewise.
3207 * testsuite/gas/arc/relax-mov01.d: Likewise.
3208 * testsuite/gas/arc/relax-mov01.s: Likewise.
3209 * testsuite/gas/arc/relax-mov02.d: Likewise.
3210 * testsuite/gas/arc/relax-mov02.s: Likewise.
3211 * testsuite/gas/arc/relax-mpy01.d: Likewise.
3212 * testsuite/gas/arc/relax-mpy01.s: Likewise.
3213 * testsuite/gas/arc/relax-sub01.d: Likewise.
3214 * testsuite/gas/arc/relax-sub01.s: Likewise.
3215 * testsuite/gas/arc/relax-sub02.d: Likewise.
3216 * testsuite/gas/arc/relax-sub02.s: Likewise.
3217 * testsuite/gas/arc/relax-sub03.d: Likewise.
3218 * testsuite/gas/arc/relax-sub03.s: Likewise.
3219 * testsuite/gas/arc/relax-sub04.d: Likewise.
3220 * testsuite/gas/arc/relax-sub04.s: Likewise.
3222 2017-02-09 Vineet Gupta <vgupta@synopsys.com>
3224 * testsuite/gas/arc/st.d: Update for 0xe having a name now
3226 2017-02-14 Alan Modra <amodra@gmail.com>
3229 * NEWS: Mention powerpc register checks.
3230 * config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
3231 (pre_defined_registers): Delete fpscr and pmr entries. Set
3232 register type in flags.
3233 (cr_names): Set type in flags.
3234 (reg_name_search): Return pointer to struct pd_reg rather than value.
3235 (register_name): Adjust to suit. Set X_md from flags.
3236 (ppc_parse_name): Likewise.
3237 (ppc_optimize_expr): New function.
3238 (md_assemble): Verify expresion reg flags match operand.
3239 * config/tc-ppc.h (md_optimize_expr): Define.
3240 (ppc_optimize_expr): Declare.
3242 2017-02-14 Alan Modra <amodra@gmail.com>
3244 * testsuite/gas/ppc/cell.s: Correct invalid registers.
3245 * testsuite/gas/ppc/vle-simple-1.s: Likewise.
3246 * testsuite/gas/ppc/vle-simple-2.s: Likewise.
3248 2017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
3250 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
3252 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
3253 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
3255 2017-02-10 Nicholas Piggin <npiggin@gmail.com>
3257 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
3259 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
3261 * doc/as.texinfo (Overview): Select MIPS options for man page
3264 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
3266 * config/tc-mips.c (mips_ignore_branch_isa): New variable.
3267 (options): Add OPTION_IGNORE_BRANCH_ISA and
3268 OPTION_NO_IGNORE_BRANCH_ISA enum values.
3269 (md_longopts): Add "mignore-branch-isa" and
3270 "mno-ignore-branch-isa" options.
3271 (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
3272 OPTION_NO_IGNORE_BRANCH_ISA.
3273 (fix_bad_cross_mode_branch_p): Return FALSE if
3274 `mips_ignore_branch_isa' has been set.
3275 (md_show_usage): Add `-mignore-branch-isa' and
3276 `-mno-ignore-branch-isa'.
3278 * doc/as.texinfo (Target MIPS options): Add
3279 `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
3280 (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
3281 * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
3282 `-mno-ignore-branch-isa' options.
3284 * testsuite/gas/mips/branch-local-ignore-2.d: New test.
3285 * testsuite/gas/mips/branch-local-ignore-3.d: New test.
3286 * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
3287 * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
3288 * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
3289 * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
3290 * testsuite/gas/mips/mips.exp: Run the new tests.
3292 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
3294 * testsuite/gas/mips/branch-local-2.d: New test.
3295 * testsuite/gas/mips/branch-local-3.d: New test.
3296 * testsuite/gas/mips/branch-local-n32-2.d: New test.
3297 * testsuite/gas/mips/branch-local-n32-3.d: New test.
3298 * testsuite/gas/mips/branch-local-n64-2.d: New test.
3299 * testsuite/gas/mips/branch-local-n64-3.d: New test.
3300 * testsuite/gas/mips/mips.exp: Fold corresponding list tests
3303 2017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
3306 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
3307 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
3309 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
3311 * configure.tgt (aarch64*-*-rtems*): Remove.
3312 (bfin-*-rtems*): Likewise.
3313 (h8300-*-rtems*): Likewise.
3314 (i386-*-rtems*): Likewise.
3315 (m32c-*-rtems*): Likewise.
3316 (m32r-*-rtems*): Likewise.
3317 (m68k-*-rtems*): Likewise.
3318 (mips-*-rtems*): Likewise.
3319 (nios2-*-rtems*): Likewise.
3320 (ppc-*-rtems*): Likewise.
3321 (sh-*-rtems*): Likewise.
3322 (sparc64-*-rtems*): Likewise.
3323 (sparc-*-rtems*): Likewise.
3324 (*-*-rtems*) Use ELF format.
3326 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
3328 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
3330 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
3332 * configure.tgt (sh-*-rtemscoff*): Remove.
3334 2017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
3336 * configure.tgt (riscv*-*-*): Remove em=linux.
3338 2017-01-23 Sebastian Rasmussen <sebras@gmail.com>
3341 * asintl.h: Fix spelling mistakes and typos.
3342 * atof-generic.c: Likewise.
3343 * bit_fix.h: Likewise.
3344 * config/atof-ieee.c: Likewise.
3345 * config/bfin-defs.h: Likewise.
3346 * config/bfin-parse.y: Likewise.
3347 * config/obj-coff-seh.h: Likewise.
3348 * config/obj-coff.c: Likewise.
3349 * config/obj-evax.c: Likewise.
3350 * config/obj-macho.c: Likewise.
3351 * config/rx-parse.y: Likewise.
3352 * config/tc-aarch64.c: Likewise.
3353 * config/tc-alpha.c: Likewise.
3354 * config/tc-arc.c: Likewise.
3355 * config/tc-arm.c: Likewise.
3356 * config/tc-avr.c: Likewise.
3357 * config/tc-bfin.c: Likewise.
3358 * config/tc-cr16.c: Likewise.
3359 * config/tc-cris.c: Likewise.
3360 * config/tc-crx.c: Likewise.
3361 * config/tc-d10v.c: Likewise.
3362 * config/tc-d30v.c: Likewise.
3363 * config/tc-dlx.c: Likewise.
3364 * config/tc-epiphany.c: Likewise.
3365 * config/tc-frv.c: Likewise.
3366 * config/tc-hppa.c: Likewise.
3367 * config/tc-i370.c: Likewise.
3368 * config/tc-i386-intel.c: Likewise.
3369 * config/tc-i386.c: Likewise.
3370 * config/tc-i960.c: Likewise.
3371 * config/tc-ia64.c: Likewise.
3372 * config/tc-m32r.c: Likewise.
3373 * config/tc-m68hc11.c: Likewise.
3374 * config/tc-m68k.c: Likewise.
3375 * config/tc-mcore.c: Likewise.
3376 * config/tc-mep.c: Likewise.
3377 * config/tc-mep.h: Likewise.
3378 * config/tc-metag.c: Likewise.
3379 * config/tc-microblaze.c: Likewise.
3380 * config/tc-mips.c: Likewise.
3381 * config/tc-mmix.c: Likewise.
3382 * config/tc-mn10200.c: Likewise.
3383 * config/tc-mn10300.c: Likewise.
3384 * config/tc-msp430.c: Likewise.
3385 * config/tc-msp430.h: Likewise.
3386 * config/tc-nds32.c: Likewise.
3387 * config/tc-nds32.h: Likewise.
3388 * config/tc-nios2.c: Likewise.
3389 * config/tc-nios2.h: Likewise.
3390 * config/tc-ns32k.c: Likewise.
3391 * config/tc-pdp11.c: Likewise.
3392 * config/tc-ppc.c: Likewise.
3393 * config/tc-pru.c: Likewise.
3394 * config/tc-rx.c: Likewise.
3395 * config/tc-s390.c: Likewise.
3396 * config/tc-score.c: Likewise.
3397 * config/tc-score7.c: Likewise.
3398 * config/tc-sh.c: Likewise.
3399 * config/tc-sh64.c: Likewise.
3400 * config/tc-sparc.c: Likewise.
3401 * config/tc-tic4x.c: Likewise.
3402 * config/tc-tic54x.c: Likewise.
3403 * config/tc-v850.c: Likewise.
3404 * config/tc-vax.c: Likewise.
3405 * config/tc-visium.c: Likewise.
3406 * config/tc-xgate.c: Likewise.
3407 * config/tc-xtensa.c: Likewise.
3408 * config/tc-z80.c: Likewise.
3409 * config/tc-z8k.c: Likewise.
3410 * config/te-vms.c: Likewise.
3411 * config/xtensa-relax.c: Likewise.
3412 * doc/as.texinfo: Likewise.
3413 * doc/c-arm.texi: Likewise.
3414 * doc/c-hppa.texi: Likewise.
3415 * doc/c-i370.texi: Likewise.
3416 * doc/c-i386.texi: Likewise.
3417 * doc/c-m32r.texi: Likewise.
3418 * doc/c-m68k.texi: Likewise.
3419 * doc/c-mmix.texi: Likewise.
3420 * doc/c-msp430.texi: Likewise.
3421 * doc/c-nds32.texi: Likewise.
3422 * doc/c-ns32k.texi: Likewise.
3423 * doc/c-riscv.texi: Likewise.
3424 * doc/c-rx.texi: Likewise.
3425 * doc/c-s390.texi: Likewise.
3426 * doc/c-tic6x.texi: Likewise.
3427 * doc/c-tilegx.texi: Likewise.
3428 * doc/c-tilepro.texi: Likewise.
3429 * doc/c-v850.texi: Likewise.
3430 * doc/c-xgate.texi: Likewise.
3431 * doc/c-xtensa.texi: Likewise.
3432 * dwarf2dbg.c: Likewise.
3433 * ecoff.c: Likewise.
3434 * itbl-ops.c: Likewise.
3435 * listing.c: Likewise.
3436 * macro.c: Likewise.
3437 * po/gas.pot: Likewise.
3439 * struc-symbol.h: Likewise.
3440 * symbols.h: Likewise.
3441 * testsuite/gas/arc/relocs-errors.err: Likewise.
3442 * write.c: Likewise.
3444 2017-01-23 Nick Clifton <nickc@redhat.com>
3446 * po/sv.po: Updated Swedish translation.
3448 2017-01-20 Nick Clifton <nickc@redhat.com>
3450 * config/tc-i386.c (parse_operands): Check for operand overflow
3451 before setting the unspecified bit.
3453 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
3456 * config/tc-mips.c (pic_need_relax): Don't check for linkonce
3457 symbols, remove the `segtype' parameter.
3458 (mips_frob_file, md_estimate_size_before_relax): Adjust
3460 (s_is_linkonce): Add an explanatory comment.
3461 * testsuite/gas/mips/comdat-reloc.d: New test.
3462 * testsuite/gas/mips/comdat-reloc.s: New test source.
3463 * testsuite/gas/mips/mips.exp: Run the new test.
3465 2017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
3467 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
3468 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
3470 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
3473 * config/bfin-lex.l: Support processing with flex 2.6.3.
3474 * itbl-lex.l: Likewise.
3476 2017-01-18 Nathan Sidwell <nathan@acm.org>
3478 * as.h (gas_assert): Use abort.
3479 (as_assert): Remove.
3480 (signal_init): Declare.
3481 * as.c (main): Call signal_init.
3482 * messages.c: #include <signal.h>
3483 (as_assert): Delete.
3484 (as_abort): Allow NULL FILE.
3485 (signal_crash): New.
3486 (signal_init): Register fatal signal handlers.
3487 * configure.ac: Check for strsignal.
3488 * config.in: Rebuilt.
3489 * configure: Rebuilt.
3491 2017-01-17 Nick Clifton <nickc@redhat.com>
3493 * po/sv.po: Updated Swedish translation.
3495 2017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3497 * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
3498 (cpu_noarch): Add noavx512_vpopcntdq.
3499 * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
3500 * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
3501 * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
3502 * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
3503 * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
3504 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
3505 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
3506 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
3508 2017-01-12 Nick Clifton <nickc@redhat.com>
3510 * read.c (temp_ilp): New function. Installs a temporary input
3512 (restore_ilp): New function. Restores the original input line
3514 * read.h (temp_ilp): Prototype.
3515 (restore_ilp): Prototype.
3516 * stabs.c (dot_func_p): Use bfd_boolean type.
3517 (generate_asm_file): Use temp_ilp and restore_ilp.
3518 (stabs_generate_asm_lineno): Likewise.
3519 (stabs_generate_asm_endfunc): Likewise.
3521 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
3523 * configure.tgt: Add entry for i386-redox.
3525 2017-01-10 Nick Clifton <nickc@redhat.com>
3527 * po/sv.po: Updated Swedish translation.
3529 2017-01-10 Tristan Gingold <gingold@adacore.com>
3531 * testsuite/gas/all/sleb128-8.d: Adjust test.
3532 * testsuite/gas/all/gas.exp (test_cond): Likewise.
3534 2017-01-10 Tristan Gingold <gingold@adacore.com>
3536 * read.c (emit_leb128_expr): Extended unsigned big number for
3538 * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
3539 * testsuite/gas/all/sleb128.d: New test.
3540 * testsuite/gas/all/sleb128.s: New test source.
3542 2017-01-09 Andrew Waterman <andrew@sifive.com>
3544 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
3546 (md_apply_fix): Mark relocations against constants as "done."
3548 2017-01-09 Andrew Waterman <andrew@sifive.com>
3550 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
3552 (md_apply_fix): Mark relocations against constants as "done."
3554 2017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
3555 Kito Cheng <kito.cheng@gmail.com>
3557 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
3559 (SDATA_START_SYMBOLS): Likewise.
3561 2017-01-09 Nick Clifton <nickc@redhat.com>
3563 * po/sv.po: New Swedish translation.
3564 * configure.ac (ALL_LINGUAS): Add sv.
3565 * configure: Regenerate.
3567 2017-01-09 Andrew Waterman <andrew@sifive.com>
3569 * config/tc-riscv.c (relaxed_branch_length): Use the long
3570 sequence when the target is a weak symbol.
3572 2017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3574 * config/tc-aarch64.c (aarch64_features): Add rcpc.
3575 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
3576 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
3577 * testsuite/gas/aarch64/ldst-rcpc.d: This.
3578 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
3579 * testsuite/gas/aarch64/ldst-rcpc.s: This.
3580 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
3582 2017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
3585 * configure.tgt: Treat sparcv9 as sparc64.
3587 2017-01-03 Kito Cheng <kito.cheng@gmail.com>
3589 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
3591 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
3592 enabled and no other ABI is specified.
3594 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
3596 * config/tc-pru.c (md_number_to_chars): Fix parameter to be
3597 valueT, as declared in tc.h.
3598 (md_apply_fix): Fix to work on 32-bit hosts.
3600 2017-01-02 Alan Modra <amodra@gmail.com>
3602 Update year range in copyright notice of all files.
3604 For older changes see ChangeLog-2016
3606 Copyright (C) 2017 Free Software Foundation, Inc.
3608 Copying and distribution of this file, with or without modification,
3609 are permitted in any medium without royalty provided the copyright
3610 notice and this notice are preserved.
3616 version-control: never