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