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