]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/ChangeLog
objdump: add DWARF support for AIX
[thirdparty/binutils-gdb.git] / gas / ChangeLog
CommitLineData
51d29b8c
CC
12021-07-14 Clément Chigot <clement.chigot@atos.net>
2
3 * config/tc-ppc.c (ppc_change_debug_section): Update to
4 match new name's field.
5
ef744040
T
62021-07-12 Tucker <tuckkern@sourceware@gmail.com>
7
8 PR 28054
9 * config/obj-elf.c (obj_elf_change_section): Set the
10 SEF_ELF_OCTETS flag on debug sections.
11
b180e829
AK
122021-06-07 Andreas Krebbel <krebbel@linux.ibm.com>
13
14 * testsuite/gas/s390/zarch-arch14.d: Add qpaci.
15 * testsuite/gas/s390/zarch-arch14.s: Add qpaci.
16
ffa5352c
NC
172021-07-07 Nick Clifton <nickc@redhat.com>
18
19 PR 28051
20 * config/tc-i386.c (offset_in_range): Reformat error messages in
21 order to fix problems when translating.
22 (md_assemble): Likewise.
23 * messages.c (as_internal_value_out_of_range): Likewise.
24 * read.c (emit_expr_with_reloc): Likewise.
25 * testsuite/gas/all/overflow.l Change expected output format.
26 * po/gas.pot: Regenerate.
27
346d80ef
NC
282021-07-03 Nick Clifton <nickc@redhat.com>
29
30 * configure: Regenerate.
31 * po/gas.pot: Regenerate.
32
51419248
NC
332021-07-03 Nick Clifton <nickc@redhat.com>
34
35 * 2.37 release branch created.
36
62194b63
AM
372021-07-02 Alan Modra <amodra@gmail.com>
38
39 * config/tc-nds32.c (nds32_keyword_gpr): Don't declare.
40 (md_begin): Constify k.
41
af82b082
NC
422021-07-02 Nick Clifton <nickc@redhat.com>
43
44 * config/tc-nds32.c: Change all references of keyword_gpr to
45 nds32_keyword_gpr.
46
52b83874
MF
472021-07-01 Mike Frysinger <vapier@gentoo.org>
48
49 * config/tc-microblaze.c (md_begin): Make opcode const. Rename
50 opcodes to microblaze_opcodes.
51
6c2ede01
MF
522021-07-01 Mike Frysinger <vapier@gentoo.org>
53
54 * config/tc-aarch64.c (struct templates): Make opcode const.
55 (md_assemble): Likewise.
56 (fill_instruction_hash_table): Likewise.
57
1daf786b
CC
582021-06-24 Clément Chigot <clement.chigot@atos.net>
59
60 * config/tc-ppc.c (md_assemble): Update ppc_current_csect
61 alignment when finding prefixed instructions.
62
ded5cb94
AM
632021-06-22 Alan Modra <amodra@gmail.com>
64
65 * config/tc-pj.c (md_apply_fix): Apply PJ_CODE_REL32 relocs.
66 * testsuite/gas/pj/ops.s: Update jsr, ret, getstatic,
67 putstatic, getfield, putfield, invokevirtual, invokespecial,
68 invokestatic, invokeinterface, goto_w, jsr_w assembly. Delete
69 version 1 picojava opcodes.
70 * testsuite/gas/pj/ops.d: Match expected output.
71
03e689aa
AM
722021-06-19 Alan Modra <amodra@gmail.com>
73
74 * config/tc-z80.c (signed_overflow, unsigned_overflow): Avoid UB.
75
43f71bc5
AM
762021-06-19 Alan Modra <amodra@gmail.com>
77
78 * testsuite/gas/ppc/raw.s: Use 0 as pli constant.
79 * testsuite/gas/ppc/raw.d: Update to suit.
80
162c6aef
JB
812021-06-18 Jan Beulich <jbeulich@suse.com>
82
83 * expr.c (symbol_lookup_or_make): New.
84 (operand): Use it.
85 * testsuite/gas/elf/startof.s, testsuite/gas/elf/startof.d: New.
86 * testsuite/gas/elf/elf.exp: Run new test.
87
96cbfd9f
NC
882021-06-17 Nick Clifton <nickc@redhat.com>
89
90 PR 27904
91 * config/tc-aarch64.c (ldst_lo12_determine_real_reloc_type):
92 Generate a syntax error message if the reloc qualifier does not
93 match the instruction's size.
94
bcf84703
CC
952021-06-17 Clément Chigot <clement.chigot@atos.net>
96
97 * config/tc-ppc.c (md_begin): Create bss section with dummy
98 symbol.
99 (ppc_frob_symbol): Output XTY_CM for bss csects.
100 (ppc_fix_adjustable): Adjust condition to avoid bss csects.
101
3478a63d
CC
1022021-06-17 Clément Chigot <clement.chigot@atos.net>
103
104 * config/tc-ppc.c (md_apply_fix): Adjust addend to nullify
105 section contents for BFD_RELOC_PPC_TLSM or
106 BFD_RELOC_PPC64_TLSM.
107 * testsuite/gas/ppc/xcoff-tlsm-32.d: New test.
108 * testsuite/gas/ppc/xcoff-tlsm-64.d: New test.
109 * testsuite/gas/ppc/xcoff-tlsm.s: New test.
110 * testsuite/gas/ppc/aix.exp: Run new tests.
111
bb32eac5
JB
1122021-06-16 Jan Beulich <jbeulich@suse.com>
113
114 * read.c (parse_one_float): New.
115 (s_float_space, float_cons): Use it.
116 * testsuite/gas/all/float.s: Add .dc.*, .dcb.*, and .ds.* cases.
117
4504a634
JB
1182021-06-16 Jan Beulich <jbeulich@suse.com>
119
120 * read.c (emit_expr_with_reloc): Adjust overflow check. Drop
121 hibit local variable.
122 * write.c (fixup_segment): Differentiate signed and non-signed
123 relocs in overflow check.
124 * testsuite/gas/all/overflow.s,
125 testsuite/gas/all/overflow.l: New.
126 * testsuite/gas/all/gas.exp: Run new test.
127
b00af7c8
JB
1282021-06-15 Jan Beulich <jbeulich@suse.com>
129
130 * config/tc-i386.c (md_show_usage): Split ELF and PE/COFF parts
131 of object format controlling option. Add Mach-O to the latter.
132 * testsuite/gas/i386/i386.exp (gas_bfd64_check): Adjust
133 accordingly.
134
2f2be86b
JB
1352021-06-15 Jan Beulich <jbeulich@suse.com>
136
137 * config/tc-i386.c (disp16, disp32, disp32s): Delete.
138 (optimize_disp, i386_finalize_displacement): Use
139 operand_type_and_not.
140 (build_modrm_byte): Likewise. Eliminate local variable newdisp.
141
64965897
JB
1422021-06-15 Jan Beulich <jbeulich@suse.com>
143
144 * config/tc-i386.c (offset_in_range): Bail early when mask would
145 cover all bits anyway.
146
a50187b2
JB
1472021-06-15 Jan Beulich <jbeulich@suse.com>
148
149 * config/tc-i386.c (optimize_disp): Generalize disp32 part of
150 the BFD64-only logic to also apply to non-64-bit code.
151 (i386_finalize_displacement): Use extend_to_32bit_address for
152 non-64-bit code. Drop now redundant O_constant checks.
153 * testsuite/gas/i386/disp-imm-32.s,
154 testsuite/gas/i386/disp-imm-32.d: New.
155 * testsuite/gas/i386/i386.exp: Run new test.
156
86f04146
JB
1572021-06-15 Jan Beulich <jbeulich@suse.com>
158
159 * config/tc-i386.c (offset_in_range): Replace uses of
160 bfd_sprintf_vma.
161
4fe51f7d
JB
1622021-06-15 Jan Beulich <jbeulich@suse.com>
163
164 * config/tc-i386.c (offset_in_range): Adjust conditional.
165 * testsuite/gas/i386/disp-imm-16.s,
166 testsuite/gas/i386/disp-imm-16.l,
167 testsuite/gas/i386/disp-imm-64.s,
168 testsuite/gas/i386/disp-imm-64.l: New.
169 * testsuite/gas/i386/i386.exp: Run new tests.
170
cc0f9635
JB
1712021-06-15 Jan Beulich <jbeulich@suse.com>
172
173 * config/tc-i386.c (i386_att_operand): Re-introduce (now
174 properly named) parens_not_balanced.
175 * testsuite/gas/i386/sib.s: Add more cases.
176 * testsuite/gas/i386/sib.d, testsuite/gas/i386/sib-intel.d:
177 Adjust expectations.
178
987610f2
JB
1792021-06-14 Jan Beulich <jbeulich@suse.com>
180
181 * read.c (emit_expr_with_reloc): Fold three as_warn().
182
4981807e
JB
1832021-06-14 Jan Beulich <jbeulich@suse.com>
184
185 * doc/internals.texi (TC_ADDRESS_BYTES): Mention generic default.
186 * read.c (potable, cons_worker): Drop TC_ADDRESS_BYTES
187 conditional.
188
2748c1b1
L
1892021-06-11 H.J. Lu <hongjiu.lu@intel.com>
190
191 * config/tc-i386.c (x86_cons): Handle GOT/PLT relocations only
192 if needed.
193 * config/tc-i386.h (TC_PARSE_CONS_EXPRESSION): Always define.
194
28b2963f
NC
1952021-06-11 Nelson Chu <nelson.chu@sifive.com>
196
197 * config/tc-riscv.c (riscv_set_arch): Call riscv_set_rvc
198 and riscv_set_rve both for -march and elf attributes.
199 (riscv_after_parse_args): Likewise.
200
1db66fb6
JB
2012021-06-10 Jan Beulich <jbeulich@suse.com>
202
203 * config/tc-arm.c (do_bfloat_vfma): Rename index to idx.
204 (do_vusdot): Likewise.
205 (do_vsudot): Likewise.
206 (check_cde_operand): Likewise.
207 (do_vdot): Likewise.
208
e925962f
JB
2092021-06-10 Jan Beulich <jbeulich@suse.com>
210
211 * config/tc-arm.c (reg_expected_msgs): Add REG_TYPE_ZR entry.
212
7772f168
JB
2132021-06-10 Jan Beulich <jbeulich@suse.com>
214
215 * config/tc-i386.c (optimize_encoding): Suppress LEA conversion
216 when it would grow code size in 16-bit mode.
217 * testsuite/gas/i386/lea16-optimize.d: Adjust expectations.
218 * testsuite/gas/i386/lea16-optimize2.d: New.
219 * testsuite/gas/i386/i386.exp: Run new test.
220
7c757f41
JB
2212021-06-08 Jan Beulich <jbeulich@suse.com>
222
223 * testsuite/gas/i386/quoted.d, testsuite/gas/i386/wrap32-text.d:
224 Adjust expectations.
225 * testsuite/gas/i386/wrap32-data.d: Likewise. Correct name.
226
7e96fb68
JB
2272021-06-08 Jan Beulich <jbeulich@suse.com>
228
229 * config/tc-i386.c (optimize_imm): Use fits_in_unsigned_word
230 and fits_in_unsigned_long.
231
cd613c1f
JB
2322021-06-08 Jan Beulich <jbeulich@suse.com>
233
234 * config/tc-i386.c (optimize_disp): Use fits_in_unsigned_word
235 and fits_in_unsigned_long. Combine if()s.
236
77c59789
JB
2372021-06-08 Jan Beulich <jbeulich@suse.com>
238
239 * config/tc-i386.c (optimize_disp): Write back updated value.
240 * testsuite/gas/i386/lea16.s, testsuite/gas/i386/lea64.s: New
241 cases.
242 * testsuite/gas/i386/lea16-optimize.d,
243 testsuite/gas/i386/lea64.d, testsuite/gas/i386/lea64-optimize.d:
244 Adjust expectations.
245 * testsuite/gas/i386/lea16.d: New.
246 * testsuite/gas/i386/i386.exp: Run new test.
247
f185acdd
JB
2482021-06-08 Jan Beulich <jbeulich@suse.com>
249
250 * config/tc-i386.c (optimize_disp): Drop redundant masking.
251 Re-order.
252
6b5ba0d4
JB
2532021-06-07 Jan Beulich <jbeulich@suse.com>
254
255 * config/tc-i386.c (i386_att_operand): Re-write handling of
256 vector operations operand suffix.
257 * testsuite/gas/i386/unary.s: Add more cases.
258 * testsuite/gas/i386/unary.d: Adjust expectations.
259
e68c3d59
JB
2602021-06-07 Jan Beulich <jbeulich@suse.com>
261
262 * config/tc-i386.c (parse_operands): Reduce scope of
263 paren_not_balanced, to match the new in_quotes. Skip over quoted
264 regions of operands.
265 (i386_att_operand): Remove (mis-named) parens_balanced. Respect
266 double quote.
267 * testsuite/gas/i386/unary.s: Add more cases.
268 * testsuite/gas/i386/unary.d: Adjust expectations.
269
014fbcda
JB
2702021-06-07 Jan Beulich <jbeulich@suse.com>
271
272 * config/tc-i386.c (digit_chars, is_digit_char): Delete.
273 (md_begin): Fold digit and lower-case letter handling.
274 (starts_memory_operand): Permit more characters.
275 * testsuite/gas/i386/unary.s, testsuite/gas/i386/unary.d: New.
276 * testsuite/gas/i386/i386.exp: Run new test.
277
9d299bea
JB
2782021-06-07 Jan Beulich <jbeulich@suse.com>
279
280 * config/tc-i386.c (starts_memory_operand): New.
281 (i386_att_operand): Use it.
282 * testsuite/gas/i386/quoted.s, testsuite/gas/i386/quoted.d: New.
283 * testsuite/gas/i386/i386.exp: Run new test.
284
c8d541e2
JB
2852021-06-07 Jan Beulich <jbeulich@suse.com>
286
287 * config/tc-i386.c (i386_att_operand): Flip checking for '*' and
288 start-of-expression. Don't permit '*' when one was already seen.
289
98ff9f1c
JB
2902021-06-07 Jan Beulich <jbeulich@suse.com>
291
292 * config/tc-i386.c (parse_operands): Don't check for matched
293 square brackets.
294
f70c6814
JB
2952021-06-07 Jan Beulich <jbeulich@suse.com>
296
297 * config/tc-i386.c (check_VecOperations): Remove 2nd parameter.
298 (i386_att_operand): Adjust calls to check_VecOperations.
299 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
300
4e014f6a
JB
3012021-06-07 Jan Beulich <jbeulich@suse.com>
302
303 * config/tc-i386.c (i386_immediate): Don't call check_VecOperations.
304
a442cac5
JB
3052021-06-07 Jan Beulich <jbeulich@suse.com>
306
307 * config/tc-i386.c (extend_to_32bit_address): New.
308 (x86_cons, i386_finalize_immediate, md_apply_fix): Use it.
309 (signed_cons): Use object_64bit.
310 * testsuite/gas/i386/wrap32.s, testsuite/gas/i386/wrap32-data.d,
311 testsuite/gas/i386/wrap32-text.d: New.
312 * testsuite/gas/i386/i386.exp: Run new tests.
313
a38d1396
AM
3142021-06-03 Alan Modra <amodra@gmail.com>
315
316 PR 1202
317 * testsuite/gas/mcore/allinsn.d: Correct loopt expected output.
318
1ff6a3b8
AM
3192021-05-29 Alan Modra <amodra@gmail.com>
320
321 * testsuite/gas/ppc/raw.s,
322 * testsuite/gas/ppc/raw.d: New test.
323 * testsuite/gas/ppc/ppc.exp: Run it.
324
28b7d4f1
MR
3252021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
326
327 * testsuite/gas/mips/c0.d: New test.
328 * testsuite/gas/mips/mips1@c0.d: New test.
329 * testsuite/gas/mips/mips2@c0.d: New test.
330 * testsuite/gas/mips/mips3@c0.d: New test.
331 * testsuite/gas/mips/mips4@c0.d: New test.
332 * testsuite/gas/mips/mips5@c0.d: New test.
333 * testsuite/gas/mips/mips32@c0.d: New test.
334 * testsuite/gas/mips/mips64@c0.d: New test.
335 * testsuite/gas/mips/r3000@c0.d: New test.
336 * testsuite/gas/mips/r3900@c0.d: New test.
337 * testsuite/gas/mips/r4000@c0.d: New test.
338 * testsuite/gas/mips/vr5400@c0.d: New test.
339 * testsuite/gas/mips/r5900@c0.d: New test.
340 * testsuite/gas/mips/sb1@c0.d: New test.
341 * testsuite/gas/mips/interaptiv-mr2@c0.d: New test.
342 * testsuite/gas/mips/octeon@c0.d: New test.
343 * testsuite/gas/mips/xlr@c0.d: New test.
344 * testsuite/gas/mips/c1.d: New test.
345 * testsuite/gas/mips/mips1@c1.d: New test.
346 * testsuite/gas/mips/mips2@c1.d: New test.
347 * testsuite/gas/mips/mips3@c1.d: New test.
348 * testsuite/gas/mips/mips4@c1.d: New test.
349 * testsuite/gas/mips/mips5@c1.d: New test.
350 * testsuite/gas/mips/mips32@c1.d: New test.
351 * testsuite/gas/mips/mips64@c1.d: New test.
352 * testsuite/gas/mips/mipsr6@c1.d: New test.
353 * testsuite/gas/mips/r3000@c1.d: New test.
354 * testsuite/gas/mips/r3900@c1.d: New test.
355 * testsuite/gas/mips/r4000@c1.d: New test.
356 * testsuite/gas/mips/vr5400@c1.d: New test.
357 * testsuite/gas/mips/r5900@c1.d: New test.
358 * testsuite/gas/mips/sb1@c1.d: New test.
359 * testsuite/gas/mips/interaptiv-mr2@c1.d: New test.
360 * testsuite/gas/mips/octeon@c1.d: New test.
361 * testsuite/gas/mips/xlr@c1.d: New test.
362 * testsuite/gas/mips/c2.d: New test.
363 * testsuite/gas/mips/vr5400@c2.d: New test.
364 * testsuite/gas/mips/r5900@c2.d: New test.
365 * testsuite/gas/mips/octeon@c2.d: New test.
366 * testsuite/gas/mips/c3.d: New test.
367 * testsuite/gas/mips/mips1@c3.d: New test.
368 * testsuite/gas/mips/mips2@c3.d: New test.
369 * testsuite/gas/mips/mips32@c3.d: New test.
370 * testsuite/gas/mips/r3000@c3.d: New test.
371 * testsuite/gas/mips/r3900@c3.d: New test.
372 * testsuite/gas/mips/c0.l: New test stderr output.
373 * testsuite/gas/mips/c2.l: New test stderr output.
374 * testsuite/gas/mips/c3.l: New test stderr output.
375 * testsuite/gas/mips/c0.s: New test source.
376 * testsuite/gas/mips/c1.s: New test source.
377 * testsuite/gas/mips/c2.s: New test source.
378 * testsuite/gas/mips/c3.s: New test source.
379 * testsuite/gas/mips/mips.exp: Run the new tests.
380
4c67fb41
MR
3812021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
382
383 * testsuite/gas/mips/mips.exp: Run RFE test across all ISAs.
384 * testsuite/gas/mips/rfe.d: Update for ISA exclusions.
385 * testsuite/gas/mips/mips1@rfe.d: New test.
386 * testsuite/gas/mips/mips2@rfe.d: New test.
387 * testsuite/gas/mips/r3000@rfe.d: New test.
388 * testsuite/gas/mips/r3900@rfe.d: New test.
389 * testsuite/gas/mips/rfe.l: New test stderr output.
390
2d5e2889
MR
3912021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
392
393 * testsuite/gas/mips/mips.exp: Run coprocessor tests across all
394 ISAs.
395 * testsuite/gas/mips/cp0b.d: Update for ISA exclusions.
396 * testsuite/gas/mips/cp0bl.d: Update for ISA exclusions.
397 * testsuite/gas/mips/cp0c.d: Update for ISA exclusions.
398 * testsuite/gas/mips/cp0m.d: Update for ISA exclusions.
399 * testsuite/gas/mips/cp3.d: Update for ISA exclusions.
400 * testsuite/gas/mips/cp3b.d: Update for ISA exclusions.
401 * testsuite/gas/mips/cp3bl.d: Update for ISA exclusions.
402 * testsuite/gas/mips/cp3m.d: Update for ISA exclusions.
403 * testsuite/gas/mips/cp3d.d: Update for ISA exclusions.
404 * testsuite/gas/mips/mips1@cp0b.d: New test.
405 * testsuite/gas/mips/mips2@cp0b.d: New test.
406 * testsuite/gas/mips/mips3@cp0b.d: New test.
407 * testsuite/gas/mips/r3000@cp0b.d: New test.
408 * testsuite/gas/mips/r3900@cp0b.d: New test.
409 * testsuite/gas/mips/r4000@cp0b.d: New test.
410 * testsuite/gas/mips/r5900@cp0b.d: New test.
411 * testsuite/gas/mips/mips2@cp0bl.d: New test.
412 * testsuite/gas/mips/mips3@cp0bl.d: New test.
413 * testsuite/gas/mips/r3900@cp0bl.d: New test.
414 * testsuite/gas/mips/r4000@cp0bl.d: New test.
415 * testsuite/gas/mips/r5900@cp0bl.d: New test.
416 * testsuite/gas/mips/mips1@cp0c.d: New test.
417 * testsuite/gas/mips/mips2@cp0c.d: New test.
418 * testsuite/gas/mips/mips3@cp0c.d: New test.
419 * testsuite/gas/mips/mips4@cp0c.d: New test.
420 * testsuite/gas/mips/mips5@cp0c.d: New test.
421 * testsuite/gas/mips/r3000@cp0c.d: New test.
422 * testsuite/gas/mips/r3900@cp0c.d: New test.
423 * testsuite/gas/mips/r4000@cp0c.d: New test.
424 * testsuite/gas/mips/vr5400@cp0c.d: New test.
425 * testsuite/gas/mips/r5900@cp0c.d: New test.
426 * testsuite/gas/mips/mips1@cp0m.d: New test.
427 * testsuite/gas/mips/r3000@cp0m.d: New test.
428 * testsuite/gas/mips/octeon@cp2.d: New test.
429 * testsuite/gas/mips/mipsr6@cp2b.d: New test.
430 * testsuite/gas/mips/vr5400@cp2b.d: New test.
431 * testsuite/gas/mips/octeon@cp2b.d: New test.
432 * testsuite/gas/mips/mips1@cp2bl.d: New test.
433 * testsuite/gas/mips/mipsr6@cp2bl.d: New test.
434 * testsuite/gas/mips/r3000@cp2bl.d: New test.
435 * testsuite/gas/mips/vr5400@cp2bl.d: New test.
436 * testsuite/gas/mips/octeon@cp2bl.d: New test.
437 * testsuite/gas/mips/vr5400@cp2m.d: New test.
438 * testsuite/gas/mips/r5900@cp2m.d: New test.
439 * testsuite/gas/mips/octeon@cp2m.d: New test.
440 * testsuite/gas/mips/mips1@cp2d.d: New test.
441 * testsuite/gas/mips/r3000@cp2d.d: New test.
442 * testsuite/gas/mips/r3900@cp2d.d: New test.
443 * testsuite/gas/mips/vr5400@cp2d.d: New test.
444 * testsuite/gas/mips/r5900@cp2d.d: New test.
445 * testsuite/gas/mips/octeon@cp2d.d: New test.
446 * testsuite/gas/mips/mips1@cp2-64.d: New test.
447 * testsuite/gas/mips/mips2@cp2-64.d: New test.
448 * testsuite/gas/mips/mips32@cp2-64.d: New test.
449 * testsuite/gas/mips/mips32r2@cp2-64.d: New test.
450 * testsuite/gas/mips/mips32r3@cp2-64.d: New test.
451 * testsuite/gas/mips/mips32r5@cp2-64.d: New test.
452 * testsuite/gas/mips/mips32r6@cp2-64.d: New test.
453 * testsuite/gas/mips/r3000@cp2-64.d: New test.
454 * testsuite/gas/mips/r3900@cp2-64.d: New test.
455 * testsuite/gas/mips/interaptiv-mr2@cp2-64.d: New test.
456 * testsuite/gas/mips/mips1@cp3.d: New test.
457 * testsuite/gas/mips/mips2@cp3.d: New test.
458 * testsuite/gas/mips/mips32@cp3.d: New test.
459 * testsuite/gas/mips/r3000@cp3.d: New test.
460 * testsuite/gas/mips/r3900@cp3.d: New test.
461 * testsuite/gas/mips/mips1@cp3b.d: New test.
462 * testsuite/gas/mips/mips2@cp3b.d: New test.
463 * testsuite/gas/mips/mips32@cp3b.d: New test.
464 * testsuite/gas/mips/r3000@cp3b.d: New test.
465 * testsuite/gas/mips/r3900@cp3b.d: New test.
466 * testsuite/gas/mips/mips2@cp3bl.d: New test.
467 * testsuite/gas/mips/mips32@cp3bl.d: New test.
468 * testsuite/gas/mips/r3900@cp3bl.d: New test.
469 * testsuite/gas/mips/mips1@cp3m.d: New test.
470 * testsuite/gas/mips/mips2@cp3m.d: New test.
471 * testsuite/gas/mips/r3000@cp3m.d: New test.
472 * testsuite/gas/mips/r3900@cp3m.d: New test.
473 * testsuite/gas/mips/mips2@cp3d.d: New test.
474 * testsuite/gas/mips/cp0b.l: New test stderr output.
475 * testsuite/gas/mips/cp0bl.l: New test stderr output.
476 * testsuite/gas/mips/cp0c.l: New test stderr output.
477 * testsuite/gas/mips/cp0m.l: New test stderr output.
478 * testsuite/gas/mips/cp2.l: New test stderr output.
479 * testsuite/gas/mips/cp2-64.l: New test stderr output.
480 * testsuite/gas/mips/cp2b.l: New test stderr output.
481 * testsuite/gas/mips/cp2bl.l: New test stderr output.
482 * testsuite/gas/mips/cp2m.l: New test stderr output.
483 * testsuite/gas/mips/cp2d.l: New test stderr output.
484 * testsuite/gas/mips/cp3.l: New test stderr output.
485 * testsuite/gas/mips/cp3b.l: New test stderr output.
486 * testsuite/gas/mips/cp3bl.l: New test stderr output.
487 * testsuite/gas/mips/cp3m.l: New test stderr output.
488 * testsuite/gas/mips/cp3d.l: New test stderr output.
489
9573a461
MR
4902021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
491
492 * testsuite/gas/mips/mips32@isa-override-1.d: Update for LDC3
493 instruction removal.
494 * testsuite/gas/mips/mips32r2@isa-override-1.d: Likewise.
495
270e2b7d
MR
4962021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
497
498 * testsuite/gas/mips/cp0b.d: New test.
499 * testsuite/gas/mips/cp0bl.d: New test.
500 * testsuite/gas/mips/cp2b.d: New test.
501 * testsuite/gas/mips/micromips@cp2b.d: New test.
502 * testsuite/gas/mips/cp2bl.d: New test.
503 * testsuite/gas/mips/micromips@cp2bl.d: New test.
504 * testsuite/gas/mips/cp3b.d: New test.
505 * testsuite/gas/mips/cp3bl.d: New test.
506 * testsuite/gas/mips/cp0b.s: New test source.
507 * testsuite/gas/mips/cp0bl.s: New test source.
508 * testsuite/gas/mips/cp2b.s: New test source.
509 * testsuite/gas/mips/cp2bl.s: New test source.
510 * testsuite/gas/mips/cp3b.s: New test source.
511 * testsuite/gas/mips/cp3bl.s: New test source.
512 * testsuite/gas/mips/mips.exp: Run the new tests.
513
b930964c
MR
5142021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
515
516 * testsuite/gas/mips/rfe.d: New test.
517 * testsuite/gas/mips/rfe.s: New test source.
518 * testsuite/gas/mips/mips.exp: Run the new test.
519
dd844468
MR
5202021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
521
522 * testsuite/gas/mips/cp1-names-r3900.d: New test.
523 * testsuite/gas/mips/mips.exp: Run the new test.
524 * testsuite/gas/mips/branch-misc-3.d: Update disassembly
525 according to changes to opcodes.
526 * testsuite/gas/mips/cp1-names-r3000.d: Likewise.
527 * testsuite/gas/mips/cp1-names-r4000.d: Likewise.
528 * testsuite/gas/mips/relax-swap1-mips1.d: Likewise.
529 * testsuite/gas/mips/relax-swap1-mips2.d: Likewise.
530 * testsuite/gas/mips/trunc.d: Likewise.
531
709aa065
MR
5322021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
533
534 * testsuite/gas/mips/cp0c.d: New test.
535 * testsuite/gas/mips/cp0m.d: New test.
536 * testsuite/gas/mips/r3900@cp0m.d: New test.
537 * testsuite/gas/mips/cp2.d: New test.
538 * testsuite/gas/mips/micromips@cp2.d: New test.
539 * testsuite/gas/mips/cp2m.d: New test.
540 * testsuite/gas/mips/mipsr6@cp2m.d: New test.
541 * testsuite/gas/mips/micromips@cp2m.d: New test.
542 * testsuite/gas/mips/cp2d.d: New test.
543 * testsuite/gas/mips/mipsr6@cp2d.d: New test.
544 * testsuite/gas/mips/micromips@cp2d.d: New test.
545 * testsuite/gas/mips/cp2-64.d: New test.
546 * testsuite/gas/mips/micromips@cp2-64.d: New test.
547 * testsuite/gas/mips/cp3.d: New test.
548 * testsuite/gas/mips/cp3m.d: New test.
549 * testsuite/gas/mips/cp3d.d: New test.
550 * testsuite/gas/mips/cp0c.s: New test source.
551 * testsuite/gas/mips/cp0m.s: New test source.
552 * testsuite/gas/mips/cp2.s: New test source.
553 * testsuite/gas/mips/cp2m.s: New test source.
554 * testsuite/gas/mips/cp2d.s: New test source.
555 * testsuite/gas/mips/cp2-64.s: New test source.
556 * testsuite/gas/mips/cp3.s: New test source.
557 * testsuite/gas/mips/cp3m.s: New test source.
558 * testsuite/gas/mips/cp3d.s: New test source.
559 * testsuite/gas/mips/mips.exp: Run the new tests.
560
9204ccd4
MR
5612021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
562
563 * tc-mips.c (convert_reg_type) <OP_REG_CONTROL>: New case.
564 (macro) <M_TRUNCWS, M_TRUNCWD>: Use the `g' rather than `G'
565 operand code.
566
a3fb396f
MR
5672021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
568
569 * testsuite/gas/mips/cp0-names-r3900.d: New test.
570 * testsuite/gas/mips/mips.exp: Run it.
571
c9de3168
MR
5722021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
573
574 * testsuite/gas/mips/micromips.d: Update disassembly according
575 to "dmtc1" entry fix with opcodes.
576 * testsuite/gas/mips/micromips-compact.d: Likewise.
577 * testsuite/gas/mips/micromips-insn32.d: Likewise.
578 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
579 * testsuite/gas/mips/micromips-trap.d: Likewise.
580 * testsuite/gas/mips/micromips@isa-override-1.d: Likewise.
581
25663db4
MR
5822021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
583
584 * config/tc-mips.c (FCSR): New macro.
585 (macro) <M_TRUNCWS, M_TRUNCWD>: Use it in place of RA.
586
1273b2f8
L
5872021-05-28 H.J. Lu <hongjiu.lu@intel.com>
588
589 PR ld/27905
590 * config/tc-i386.c (set_code_flag): Revert commit 50c95a739c9.
591 (set_16bit_gcc_code_flag): Likewise.
592 (x86_cleanup): Likewise.
593 * testsuite/gas/i386/code16-2.d: Updated.
594 * testsuite/gas/i386/x86-64-code16-2.d: Likewise.
595
ebcab741
PB
5962021-05-27 Peter Bergner <bergner@linux.ibm.com>
597
598 * testsuite/gas/ppc/vsx.d <xxmr, xxlnot>: Add tests.
599 * testsuite/gas/ppc/vsx.s: Likewise.
600
badf836a
AM
6012021-05-27 Alan Modra <amodra@gmail.com>
602
603 * config/tc-nds32.c (do_pseudo_push_bhwd, do_pseudo_pop_bhwd),
604 (do_pseudo_pusha, do_pseudo_pushi): Avoid fortify strncpy bound
605 error.
606
50c95a73
L
6072021-05-26 H.J. Lu <hongjiu.lu@intel.com>
608
609 PR ld/27905
610 * config/tc-i386.c (set_code_flag): Update x86_feature_2_used
611 with GNU_PROPERTY_X86_FEATURE_2_CODE16 for .code16 in ELF
612 object.
613 (set_16bit_gcc_code_flag): Likewise.
614 (x86_cleanup): Always generate the GNU property note if
615 x86_feature_2_used isn't 0.
616 * testsuite/gas/i386/code16-2.d: New file.
617 * testsuite/gas/i386/code16-2.s: Likewise.
618 * testsuite/gas/i386/x86-64-code16-2.d: Likewise.
619 * testsuite/gas/i386/i386.exp: Run code16-2 and x86-64-code16-2.
620
3f335b75
SV
6212021-05-26 Sebastien Villemot <sebastien@debian.org>
622
623 PR gas/27906
624 * doc/c-i386.texi: Replace movsb with movsxb as an alias for
625 movsbq.
626
fe1f847d
NC
6272021-05-26 Nelson Chu <nelson.chu@sifive.com>
628
629 * config/tc-riscv.c (riscv_set_arch): Set
630 check_unknown_prefixed_ext to true for assembler.
631
d3e52e12
TC
6322021-05-25 Tamar Christina <tamar.christina@arm.com>
633
634 PR gas/25235
635 * config/tc-arm.c (md_convert_frag): Set LSB when Thumb symbol.
636 (relax_adr): Thumb symbols 4 bytes.
637 * testsuite/gas/arm/pr25235.d: New test.
638 * testsuite/gas/arm/pr25235.s: New test.
639
5d0ed830
NC
6402021-05-24 Nelson Chu <nelson.chu@sifive.com>
641
642 PR 25212
643 * config/tc-riscv.c (riscv_set_abi_by_arch): If -mabi isn't set, we
644 will choose ilp32e abi for rv32e. Besides, report errors for the
645 invalid march and mabi combinations.
646 * testsuite/gas/riscv/mabi-attr-rv32e.s: New testcase. Only accept
647 ilp32e abi for rve extension.
648 * testsuite/gas/riscv/mabi-fail-rv32e-lp64f.d: Likewise.
649 * testsuite/gas/riscv/mabi-fail-rv32e-lp64f.l: Likewise.
650 * testsuite/gas/riscv/mabi-fail-rv32e-lp64d.d: Likewise.
651 * testsuite/gas/riscv/mabi-fail-rv32e-lp64d.l: Likewise.
652 * testsuite/gas/riscv/mabi-fail-rv32e-lp64d.q: Likewise.
653 * testsuite/gas/riscv/mabi-fail-rv32e-lp64d.q: Likewise.
654 Renamed all mabi testcases to their march-mabi settings.
655
d7189380
AM
6562021-05-22 Alan Modra <amodra@gmail.com>
657
658 PR 25599
659 * config/tc-ia64.c (emit_one_bundle): Expand comment for HP-UX
660 adjustment. Add assertion.
661 * testsuite/gas/ia64/reloc-mlx.d: Pass when slot 2 specified
662 for PCREL60B.
663
9a01ec4c
SB
6642021-05-20 Sergey Belyashov <sergey.belyashov@gmail.com>
665
666 * config/tc-z80.c (emit_data_val): Warn on constant overflow.
667 (signed_overflow): New function.
668 (unsigned_overflow): New function.
669 (is_overflow): Use new functions.
670 (md_apply_fix): Use signed_overflow.
671 * testsuite/gas/z80/ez80_adl_suf.d: Fix test.
672 * testsuite/gas/z80/ez80_isuf.s: Likewise.
673 * testsuite/gas/z80/ez80_z80_suf.d: Likewise.
674
d556135f
NB
6752021-05-20 Nicolas Boulenguez <nicolas@debian.org>
676
677 PR 27888
678 * Makefile.am (ZLIB): Define.
679 (as_new_LDADD): Add it.
680 * Makefile.in: Regenerate.
681
e683cb41
AC
6822021-05-17 Alex Coplan <alex.coplan@arm.com>
683
684 * config/tc-arm.c (do_mve_mov): Only reject vmov if we're moving
685 into the same GPR twice.
686 * testsuite/gas/arm/mve-vmov-bad-2.l: Tweak error message.
687 * testsuite/gas/arm/mve-vmov-3.d: New test.
688 * testsuite/gas/arm/mve-vmov-3.s: New test.
689
af2ddf69
AM
6902021-05-12 Alan Modra <amodra@gmail.com>
691
692 * testsuite/gas/elf/dwarf-5-file0.d: Update.
693 * testsuite/gas/i386/dwarf5-line-1.d: Update.
694
cfe7a191
SB
6952021-05-11 Sergey Belyashov <sergey.belyashov@gmail.com>
696
697 PR 27823
698 * config/tc-z80.c (emit_ld_r_m): Report an illegal load
699 instruction.
700 * testsuite/gas/z80/ill_ops.s: New test source file.
701 * testsuite/gas/z80/ill_ops.d: New test driver.
702 * testsuite/gas/z80/ill_ops.l: New test error output.
703
e4b1ab20
SB
7042021-05-10 Sergey Belyashov <sergey.belyashov@gmail.com>
705
706 PR 27415
707 * config/tc-z80.c (emit_data_val): Add support for 8-bit and
708 24-bit shifts.
709 * testsuite/gas/z80/z80_reloc.a: Update tests.
710 * testsuite/gas/z80/z80_reloc.d: Update expected disassembly.
711
cf758b39
MF
7122021-05-08 Mike Frysinger <vapier@gentoo.org>
713
714 * doc/Makefile.am (html-local, as/index.html): New targets.
715 * doc/Makefile.in: Regenerate.
716
2faf902d
MF
7172021-05-08 Mike Frysinger <vapier@gentoo.org>
718
719 * doc/Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
720 * doc/Makefile.in: Regenerate.
721
476654be
NC
7222021-05-07 Nick Clifton <nickc@redhat.com>
723
724 PR 3136
725 * config/obj-elf.c (elf_pseudo_table): Add entry for .bss.
726 (obj_elf_bss): New function. Change to the .bss section.
727 Support an optional subsection number.
728 (obj_elf_change_section): Call obj_elf_section_change_hook.
729 (obj_elf_section): Likewise.
730 (obj_elf_data): Likewise.
731 (obj_elf_text): Likewise.
732 (obj_elf_struct): Likewise.
733 (obj_elf_subsection): Likewise.
734 (obj_elf_previous): Likewise.
735 * config/obj-elf.h (obj_elf_bss): Prototype.
736 * doc/as.texi (Bss): New node.
737
97834047
CC
7382021-05-07 Clément Chigot <clement.chigot@atos.net>
739
740 * config/obj-coff.c (coff_frob_symbol): Don't skip C_DWARF.
741 (coff_adjust_section_syms): Use corrext auxent for C_DWARF.
742 (coff_frob_section): Likewise.
743 * config/obj-coff.h (SA_GET_SECT_SCNLEN,
744 SA_GET_SECT_NRELOC, SA_SET_SECT_SCNLEN,
745 SA_SET_SECT_NRELOC) New defines.
746 (SET_SECTION_RELOCS): Adjust for C_DWARF.
747 * config/tc-ppc.c (ppc_frob_symbol): Don't skip C_DWARF.
748 (ppc_adjust_symtab): Reorder C_DWARF symbols.
749 * testsuite/gas/ppc/aix.exp: New tests.
750 * testsuite/gas/ppc/xcoff-dwsect-2-32.d: New test.
751 * testsuite/gas/ppc/xcoff-dwsect-2-64.d: New test.
752 * testsuite/gas/ppc/xcoff-dwsect-2.s: New test.
753
754 * config/tc-ppc.c (ppc_function): Update comment for
755 fifth argument.
756 (ppc_frob_symbol): Remove ppc_last_function check.
757 Make sure coff_last_function is reset.
758 Correctly set fsize when not provided in .function.
759 * testsuite/gas/ppc/aix.exp: New tests.
760 * testsuite/gas/ppc/xcoff-function-1-32.d: New test.
761 * testsuite/gas/ppc/xcoff-function-1-64.d: New test.
762 * testsuite/gas/ppc/xcoff-function-1.s: New test.
763
17c6c3b9
JB
7642021-05-07 Jan Beulich <jbeulich@suse.com>
765
766 * testsuite/gas/i386/rela.s, testsuite/gas/i386/rela.d: New.
767 * testsuite/gas/i386/i386.exp: Run new test.
768
98da05bf
JB
7692021-05-07 Jan Beulich <jbeulich@suse.com>
770
771 * config/tc-i386.c (output_disp): Use disps field instead of
772 imms one.
773
9aac24b1
JB
7742021-05-07 Jan Beulich <jbeulich@suse.com>
775
776 * config/tc-i386.c (i386_finalize_immediate): Move register
777 check ...
778 (i386_immediate): ... here.
779
87ed972d
JB
7802021-05-07 Jan Beulich <jbeulich@suse.com>
781
782 * config/tc-i386.c (optimize_imm): Drop redundant masking.
783 Re-arrange operand type accumulation.
784
0b3e14c9
SH
7852021-05-06 Stafford Horne <shorne@gmail.com>
786
787 PR 21464
788 * testsuite/gas/or1k/reloc-1.s: Add test for new relocation.
789 * testsuite/gas/or1k/reloc-1.d: Add test result for new
790 relocation.
791
7b06fcf5
JW
7922021-05-03 Christoph Muellner <cmuellner@gcc.gnu.org>
793
794 PR 27764
795 * testsuite/gas/riscv/a-ext-64.d: New testcase.
796 * testsuite/gas/riscv/a-ext-64.s: Likewise.
797 * testsuite/gas/riscv/a-ext.d: Likewise.
798 * testsuite/gas/riscv/a-ext.s: Likewise.
799
5e0a033b
JB
8002021-05-03 Jan Beulich <jbeulich@suse.com>
801
802 * config/tc-i386.h (TC_PARSE_CONS_EXPRESSION): Adjust surrounding
803 #if.
804 * testsuite/gas/i386/secrel.s: Convert some .secrel32 to .long.
805 Add two further .long and an .equ.
806 * testsuite/gas/i386/secrel.d: Adjust expecations.
807
3e301ce0
JB
8082021-05-03 Jan Beulich <jbeulich@suse.com>
809
810 * testsuite/gas/i386/secrel.d, testsuite/gas/i386/secrel.s:
811 Convert Windows to UNIX EOL.
812
deea4973
JB
8132021-05-03 Jan Beulich <jbeulich@suse.com>
814
815 * config/tc-i386.c (lex_got): Adjust surrounding #if. Fold TE_PE
816 variant into ELF one.
817
db543a7d
AM
8182021-05-03 Alan Modra <amodra@gmail.com>
819
820 * testsuite/gas/elf/section25.s: Don't start directives in first
821 column.
822 * testsuite/gas/elf/section26.s: Likewise.
823
a2443c89
JB
8242021-04-29 Jan Beulich <jbeulich@suse.com>
825
826 * testsuite/gas/i386/i386.exp: Move x86-64-rip-2 invocation.
827 * testsuite/gas/i386/lea64.d,
828 testsuite/gas/i386/lea64-optimize.d: Allow for COFF relocs.
829 * testsuite/gas/i386/x86-64-rip-inval-1.s,
830 testsuite/gas/i386/x86-64-rip-inval-2.s. Add .end.
831
3abbafc2
JB
8322021-04-29 Jan Beulich <jbeulich@suse.com>
833
834 * config/tc-i386.c (i386_validate_fix): Change return type to
835 int. Short-circuit BFD_RELOC_SIZE* handling.
836 (tc_gen_reloc): New local variable sym. Extend logic when
837 processing BFD_RELOC_SIZE*.
838 * config/tc-i386.f (i386_validate_fix): Change return type to
839 int.
840 (TC_VALIDATE_FIX): Proceed to SKIP when i386_validate_fix()
841 returns zero.
842 * testsuite/gas/i386/size-5.s, testsuite/gas/i386/size-5a.d,
843 testsuite/gas/i386/size-5b.d: New.
844 * testsuite/gas/i386/i386.exp: Run new tests.
845
44f87162
JB
8462021-04-29 Jan Beulich <jbeulich@suse.com>
847
848 * config/tc-i386.c (tc_gen_reloc): Use section size for section
849 symbols when resolving BFD_RELOC_SIZE*.
850 * testsuite/gas/i386/size-2.s: Add section size cases.
851 * testsuite/gas/i386/size-2.d,
852 testsuite/gas/i386/x86-64-size-2.d: Adjust expectations.
853
eb19308f
JB
8542021-04-28 Jan Beulich <jbeulich@suse.com>
855 H.J. Lu <hjl.tools@gmail.com>
856
857 PR gas/27763
858 * config/tc-i386.c (output_jump): Also mark 2-byte relocs as
859 signed for XBEGIN. Also mark 4-byte relocs as signed for 64-bit.
860 (output_disp): Also mark 4-byte relocs as signed for 64-bit.
861 (md_estimate_size_before_relax): Move local variable fixP. Set
862 it from fix_new() return values. Mark 4-byte relocs as signed
863 for 64-bit.
864 * testsuite/gas/i386/pcrel64.s, testsuite/gas/i386/pcrel64.l,
865 * testsuite/gas/i386/x86-64-rip-2.s,
866 * testsuite/gas/i386/x86-64-rip-2.d,
867 * testsuite/gas/i386/x86-64-rip-inval-1.s,
868 * testsuite/gas/i386/x86-64-rip-inval-1.l,
869 * testsuite/gas/i386/x86-64-rip-inval-2.s,
870 * testsuite/gas/i386/x86-64-rip-inval-2.l: New.
871 * testsuite/gas/i386/i386.exp: Run new tests.
872
60cfa10c
L
8732021-04-27 H.J. Lu <hongjiu.lu@intel.com>
874
875 * config/tc-i386.c (optimize_encoding): Add () to silence GCC 5.
876
8fb88245
JB
8772021-04-26 Jan Beulich <jbeulich@suse.com>
878
879 * config/tc-i386.c (tc_gen_reloc): Check IS_ELF for
880 BFD_RELOC_SIZE*.
881
d965814f
JB
8822021-04-26 Jan Beulich <jbeulich@suse.com>
883
884 * config/tc-i386.c (tc_gen_reloc): Limit BFD_RELOC_SIZE32
885 overflow check to 64-bit objects.
886
fe134c65
JB
8872021-04-26 Jan Beulich <jbeulich@suse.com>
888
889 * config/tc-i386.c (want_disp32): Also check for SIZE32.
890 (optimize_encoding): Handle LEA.
891 * testsuite/gas/i386/lea.s, testsuite/gas/i386/lea.d,
892 testsuite/gas/i386/lea.e, testsuite/gas/i386/lea-optimize.d:
893 Add many more forms.
894 * testsuite/gas/i386/lea16.s, testsuite/gas/i386/lea16-optimize.d,
895 testsuite/gas/i386/lea64.s, testsuite/gas/i386/lea64.d,
896 testsuite/gas/i386/lea64.e, testsuite/gas/i386/lea64-optimize.d:
897 New.
898 * testsuite/gas/i386/i386.exp: Run new tests.
899
b8188555
JB
9002021-04-26 Jan Beulich <jbeulich@suse.com>
901
902 * config/tc-i386.c (md_apply_fix): Mark BFD_RELOC_X86_64_32S as
903 signed.
904 * testsuite/gas/i386/x86-64-addr32-bad.s,
905 testsuite/gas/i386/x86-64-addr32-bad.l: New.
906 * testsuite/gas/i386/i386.exp: Run new test.
907
f5e98b7d
EB
9082021-04-23 Eric Botcazou<ebotcazou@adacore.com>
909
910 * testsuite/gas/elf/section25.d: Run it everywhere.
911 * testsuite/gas/elf/section26.d: Likewise.
912 * testsuite/gas/elf/section26.s: Add test for .persistent.bss.
913
d039200a
G
9142021-04-23 Jérôme Gardou <jerome.gardou@gmail.com>
915
916 * config/obj-coff-seh.c (obj_coff_seh_pushframe): Allow an
917 optional "code" argument.
918
a9aabc23
JB
9192021-04-23 Jan Beulich <jbeulich@suse.com>
920
921 * config/tc-i386.c (want_disp32): New.
922 (md_assemble): Use it.
923 (optimize_disp): Likewise.
924 (build_modrm_byte): Likewise.
925
cce08655
JB
9262021-04-23 Jan Beulich <jbeulich@suse.com>
927
928 * config/tc-i386.c (i386_finalize_displacement): Move Disp32S
929 check ...
930 (md_assemble): ... here.
931
28a167a4
JB
9322021-04-23 Jan Beulich <jbeulich@suse.com>
933
934 * config/tc-i386.c (optimize_disp): Move down BFD64 section.
935 Move up setting of disp32.
936
7b025ee8
JB
9372021-04-23 Jan Beulich <jbeulich@suse.com>
938
939 * config/tc-i386.c (pe): Don't truncate expression value.
940 (i386_finalize_displacement): Likewise.
941
23356397
NC
9422021-04-21 Nick Clifton <nickc@redhat.com>
943
944 * testsuite/gas/aarch64/dwarf.d: Adjust expected output to allow
945 for named section symbols.
946 * testsuite/gas/arm/thumbver.d: Likewise.
947 * testsuite/gas/bfin/loop_temps.d: Likewise.
948 * testsuite/gas/elf/section2.e-arc: Likewise.
949 * testsuite/gas/elf/section2.e-arm: Likewise.
950 * testsuite/gas/elf/section2.e-csky: Likewise.
951 * testsuite/gas/elf/section2.e-m32r: Likewise.
952 * testsuite/gas/elf/section2.e-mips: Likewise.
953 * testsuite/gas/elf/section2.e-msp430: Likewise.
954 * testsuite/gas/elf/section2.e-riscv: Likewise.
955 * testsuite/gas/elf/section2.e-rl78: Likewise.
956 * testsuite/gas/elf/section2.e-rx: Likewise.
957 * testsuite/gas/elf/section2.e-score: Likewise.
958 * testsuite/gas/elf/section2.e-tic6x: Likewise.
959 * testsuite/gas/elf/section2.e-unused: Likewise.
960 * testsuite/gas/elf/section2.e-v850: Likewise.
961 * testsuite/gas/elf/section2.e-xtensa: Likewise.
962 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
963 * testsuite/gas/ia64/alias.d: Likewise.
964 * testsuite/gas/ia64/global.d: Likewise.
965 * testsuite/gas/microblaze/relax_size.elf: Likewise.
966 * testsuite/gas/microblaze/relax_size2.elf: Likewise.
967 * testsuite/gas/mips/global-local-symtab-sort-n64t.d: Likewise.
968 * testsuite/gas/mips/global-local-symtab-sort-o32t.d: Likewise.
969 * testsuite/gas/mmix/bspec-1.d: Likewise.
970 * testsuite/gas/mmix/byte-1.d: Likewise.
971 * testsuite/gas/mmix/comment-1.d: Likewise.
972 * testsuite/gas/mmix/loc-1.d: Likewise.
973 * testsuite/gas/mmix/loc-2.d: Likewise.
974 * testsuite/gas/mmix/loc-3.d: Likewise.
975 * testsuite/gas/mmix/loc-4.d: Likewise.
976 * testsuite/gas/mmix/loc-5.d: Likewise.
977 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
978
c5df7e44
CC
9792021-04-20 Clément Chigot <clement.chigot@atos.net>
980
981 PR binutils/21700
982 * config/tc-ppc.c (ppc_get_csect_to_adjust): New function.
983 (ppc_fix_adjustable): Manage fx_subsy part.
984 (tc_gen_reloc): Create second relocation when both
985 fx_addsy and fx_subsy are provided.
986 * config/tc-ppc.h (RELOC_EXPANSION_POSSIBLE): New define.
987 (MAX_RELOC_EXPANSION): Likewise.
988 (TC_FORCE_RELOCATION_SUB_SAME): Likewise
989 (UNDEFINED_DIFFERENCE_OK): Likewise
990 * testsuite/gas/all/gas.exp: Skip difference between two
991 undefined symbols test.
992
8d6502d2
NC
9932021-04-19 Nick Clifton <nickc@redhat.com>
994
995 * testsuite/gas/all/gas.exp: Add rs6000*-*-aix* to the list of
996 targets which should skip the undefined symbols test.
997
02202574
PW
9982021-04-19 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
999
1000 * NEWS: Update news.
1001 * testsuite/gas/aarch64/rme.d: Update test.
1002 * testsuite/gas/aarch64/rme.s: Update test.
1003
cd6608e4
PW
10042021-04-19 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
1005
1006 * testsuite/gas/aarch64/rme.d: Update test.
1007 * testsuite/gas/aarch64/rme.s: Update test.
1008
9a8041fd
JB
10092021-04-19 Jan Beulich <jbeulich@suse.com>
1010
1011 * as.h (sprint_value): Delete.
1012 * messages.c (sprint_value): Likewise.
1013 * config/tc-i386.c (offset_in_range): Use bfd_sprintf_vma in
1014 place of sprint_value.
1015 * config/tc-s390.c (s390_insert_operand): Likewise.
1016 * doc/internals.texi (sprint_value): Delete section.
1017 * write.c (fixup_segment): Likewise.
1018 (relax_segment): Likewise.
1019
100e914d
PW
10202021-04-16 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
1021
1022 * testsuite/gas/aarch64/rme-invalid.d: New test.
1023 * testsuite/gas/aarch64/rme-invalid.l: New test.
1024 * testsuite/gas/aarch64/rme-invalid.s: New test.
1025 * testsuite/gas/aarch64/rme.d: New test.
1026 * testsuite/gas/aarch64/rme.s: New test.
1027
768589d1
NC
10282021-04-16 Nelson Chu <nelson.chu@sifive.com>
1029
1030 PR 27436
1031 * config/tc-riscv.c (riscv_ip): make operand C> work the same as >.
1032 * testsuite/gas/riscv/shamt-32.d: New testcase.
1033 * testsuite/gas/riscv/shamt-32.l: Likewise.
1034 * testsuite/gas/riscv/shamt-32.s: Likewise.
1035 * testsuite/gas/riscv/shamt-64.d: Likewise.
1036 * testsuite/gas/riscv/shamt-64.l: Likewise.
1037 * testsuite/gas/riscv/shamt-64.s: Likewise.
1038
a21b96dd
NC
10392021-04-16 Lifang Xia <lifang_xia@c-sky.com>
1040
1041 * testsuite/gas/riscv/c-zero-imm.d: Compress addi a4,a4,0 to
1042 c.mv a4,a4.
1043 * testsuite/gas/riscv/c-zero-imm.s: Likewise.
1044
d20eb466
AM
10452021-04-14 Alan Modra <amodra@gmail.com>
1046
1047 PR 27723
1048 * dw2gencfi.c (initial_cie_insn): New function, extracted from..
1049 (select_cie_for_fde): ..here. Simplify.
1050
c159f352
AM
10512021-04-14 Alan Modra <amodra@gmail.com>
1052
1053 PR 27723
1054 * dw2gencfi.c (select_cie_for_fde): Handle DW_CFA_val_offset,
1055 DW_CFA_GNU_window_save and DW_CFA_restore_state.
1056
4bb920c6
AM
10572021-04-13 Alan Modra <amodra@gmail.com>
1058
1059 * testsuite/gas/m68hc11/m68hc11.exp (gas_m68hc11_message): Don't
1060 write to $srcdir. Use gas_host_run and read output file rather
1061 than gas_start/gas_finish.
1062
32d71569
AM
10632021-04-12 Alan Modra <amodra@gmail.com>
1064
1065 * config/tc-ppc.c (insn_validate): Use uint64_t for operand values.
1066 (md_assemble): Likewise. Handle bignum operands.
1067 (ppc_elf_suffix): Handle O_big. Remove unnecessary input_line_pointer
1068 check.
1069 * expr.c: Delete unnecessary forward declarations.
1070 (generic_bignum_to_int32): Return uint32_t.
1071 (generic_bignum_to_int64): Return uint64_t. Compile always.
1072 (operand): Twiddle X_extrabit for unary '~'. Set X_unsigned and
1073 clear X_extrabit for unary '!'.
1074 * expr.h (generic_bignum_to_int32): Declare.
1075 (generic_bignum_to_int64): Declare.
1076 * testsuite/gas/ppc/prefix-pcrel.s,
1077 * testsuite/gas/ppc/prefix-pcrel.d: Add more instructions.
1078
e601909a
NC
10792021-04-12 Nelson Chu <nelson.chu@sifive.com>
1080
1081 * testsuite/gas/riscv/march-fail-order-x-std.d: Renamed from
1082 march-fail-porder-x-std.d.
1083 * testsuite/gas/riscv/march-fail-order-z-std.d: Renamed from
1084 march-fail-porder-z-std.d.
1085 * testsuite/gas/riscv/march-fail-order-x-z.d: Renamed from
1086 march-fail-porder-x-z.d.
1087 * testsuite/gas/riscv/march-fail-order-zx-std.l: Added to replace
1088 march-fail-porder.l.
1089 * testsuite/gas/riscv/march-fail-order-x-z.l: Likewise.
1090 * testsuite/gas/riscv/march-fail-order-x.l: Updated.
1091 * testsuite/gas/riscv/march-fail-order-z.l: Likewise.
1092 * testsuite/gas/riscv/march-fail-single-prefix-h.d: Renamed from
1093 march-fail-single-char-h.d.
1094 * testsuite/gas/riscv/march-fail-single-prefix-s.d: Renamed from
1095 march-fail-single-char-s.d.
1096 * testsuite/gas/riscv/march-fail-single-prefix-x.d: Renamed from
1097 march-fail-single-char-x.d.
1098 * testsuite/gas/riscv/march-fail-single-prefix-z.d: Renamed from
1099 march-fail-single-char-z.d.
1100 * testsuite/gas/riscv/march-fail-single-prefix-zmx.d: Added.
1101 * testsuite/gas/riscv/march-fail-single-prefix.l: Added to replace
1102 march-fail-single-prefix.l.
1103 * testsuite/gas/riscv/march-fail-unknown-zxm.d: Added.
1104 * testsuite/gas/riscv/march-fail-unknown-std.l: Updated.
1105 * testsuite/gas/riscv/march-fail-unknown.l: Likewise.
1106
dd170203
TB
11072021-04-09 Tejas Belagod <tejas.belagod@arm.com>
1108
32d71569
AM
1109 * config/tc-aarch64.c (warn_unpredictable_ldst): Clean-up
1110 diagnostic messages for LD/ST Exclusive instructions.
dd170203 1111 * testsuite/gas/aarch64/diagnostic.s: Add a diagnostic test for STLXP.
32d71569
AM
1112 * testsuite/gas/aarch64/diagnostic.l: Fix-up test after message
1113 clean-up.
dd170203 1114
c3f72de4
AM
11152021-04-09 Alan Modra <amodra@gmail.com>
1116
1117 * testsuite/gas/ppc/prefix-pcrel.d: Update expected output.
1118 * testsuite/gas/ppc/prefix-reloc.d: Likewise.
1119 * gas/testsuite/gas/ppc/vsx_32byte.d: Likewise.
1120
97bf40d8
AM
11212021-04-08 Alan Modra <amodra@gmail.com>
1122
1123 * testsuite/gas/ppc/pr27676.d,
1124 * testsuite/gas/ppc/pr27676.s: New test.
1125 * testsuite/gas/ppc/ppc.exp: Run it.
1126 * testsuite/gas/ppc/dcbt.d: Update.
1127 * testsuite/gas/ppc/power4_32.d: Update.
1128
b12389f2
AM
11292021-04-07 Alan Modra <amodra@gmail.com>
1130
1131 PR 27217
1132 * testsuite/gas/aarch64/pr27217.d: Correct name. Accept ilp32 relocs.
1133
eac4eb8e
NC
11342021-04-06 Nick Clifton <nickc@redhat.com>
1135
1136 PR 27217
1137 * config/tc-aarch64.c (my_get_expression): Rename to
1138 aarch64_get_expression. Add a fifth argument to enable deferring
1139 of expression resolution.
1140 (parse_typed_reg): Update calls to my_get_expression.
1141 (parse_vector_reg_list): Likewise.
1142 (parse_immediate_expression): Likewise.
1143 (parse_big_immediate): Likewise.
1144 (parse_shift): Likewise.
1145 (parse_shifter_operand_imm): Likewise.
1146 (parse_operands): Likewise.
1147 (parse_shifter_operand_reloc): Update calls to my_get_expression
1148 and call aarch64_force_reloc to determine the value of the new
1149 fifth argument.
1150 (parse_address_main): Likewise.
1151 (parse_half): Likewise.
1152 (parse_adrp): Likewise.
1153 (aarch64_force_reloc): New function. Contains code extracted from...
1154 (aarch64_force_relocation): ... here.
1155 * testsuite/gas/aarch64/pr27217.s: New test case.
1156 * testsuite/gas/aarch64/pr27217.d: New test driver.
1157
da0835ae
JB
11582021-04-06 Jan Beulich <jbeulich@suse.com>
1159
1160 * write.c (fixup_segment): Move add_symbol_segment declaration
1161 into main loop.
1162
23d61380
AM
11632021-04-05 Alan Modra <amodra@gmail.com>
1164
1165 * configure.ac: Don't check for string.h, strings.h, stdlib.h,
1166 errno.h, limits.h, locale.h or time.h. Don't check for unlink,
1167 remove, sbrk (unused) or setlocale. Adjust gas_test_headers.
1168 Don't check for errno, free, malloc, realoc, sbrk, strstr, getenv
1169 strstr, or vsnprintf declarations.
1170 (AC_ISC_POSIX, AC_FUNC_ALLOCA, AC_C_INLINE): Don't invoke.
1171 * as.h: Don't include alloca-conf.h, include config.h instead.
1172 Include string.h, stdlib.h, errno.h unconditionally. Remove
1173 various fallback declarations.
1174 * asintl.h: Don't test HAVE_LOCALE_H.
1175 * as.c: Don't test HAVE_SETLOCALE.
1176 * dwarf2dbg.c: Include limits.h unconditionally.
1177 * expr.c: Likewise.
1178 * sb.c: Likewise.
1179 * symbols.c: Likewise.
1180 * config/tc-cr16.c: Likewise.
1181 * config/tc-d30v.c: Likewise.
1182 * config/tc-i386.c: Likewise.
1183 * config/tc-ia64.c: Likewise.
1184 * config/tc-tic54x.c (tic54x_mlib): Call remove rather than unlink.
1185 * config.in: Regenerate.
1186 * configure: Regenerate.
1187 * Makefile.in: Regenerate.
1188 * doc/Makefile.in: Regenerate.
1189
e9b095a5
ML
11902021-04-01 Martin Liska <mliska@suse.cz>
1191
1192 * config/obj-coff.c (strneq): Remove strneq and use startswith.
1193 (weak_is_altname): Likewise.
1194 (obj_coff_section): Likewise.
1195 * config/tc-cr16.c (process_label_constant): Likewise.
1196 * config/tc-crx.c (strneq): Likewise.
1197
d34049e8
ML
11982021-04-01 Martin Liska <mliska@suse.cz>
1199
1200 * as.c (select_emulation_mode): Use startswith.
1201 * config/m68k-parse.y: Likewise.
1202 * config/obj-aout.c (obj_aout_type): Likewise.
1203 * config/obj-elf.c (elf_common_parse): Likewise.
1204 (obj_elf_section_type): Likewise.
1205 (obj_elf_section_word): Likewise.
1206 (obj_elf_section): Likewise.
1207 (obj_elf_symver): Likewise.
1208 (adjust_stab_sections): Likewise.
1209 * config/obj-evax.c (evax_shorten_name): Likewise.
1210 * config/obj-macho.c (obj_mach_o_is_frame_section): Likewise.
1211 * config/tc-aarch64.c (parse_aarch64_imm_float): Likewise.
1212 (aarch64_parse_features): Likewise.
1213 (create_register_alias): Likewise.
1214 (aarch64_data_in_code): Likewise.
1215 (md_parse_option): Likewise.
1216 * config/tc-alpha.c (s_alpha_section_word): Likewise.
1217 (s_alpha_pdesc): Likewise.
1218 * config/tc-arc.c (tokenize_extregister): Likewise.
1219 * config/tc-arm.c (create_register_alias): Likewise.
1220 (create_neon_reg_alias): Likewise.
1221 (parse_ifimm_zero): Likewise.
1222 (parse_qfloat_immediate): Likewise.
1223 (arm_elf_section_type): Likewise.
1224 (arm_parse_extension): Likewise.
1225 (aeabi_set_public_attributes): Likewise.
1226 (s_arm_arch_extension): Likewise.
1227 (arm_data_in_code): Likewise.
1228 (start_unwind_section): Likewise.
1229 * config/tc-avr.c (avr_ldi_expression): Likewise.
1230 * config/tc-csky.c (is_freglist_legal): Likewise.
1231 (csky_s_section): Likewise.
1232 * config/tc-d30v.c (do_assemble): Likewise.
1233 * config/tc-dlx.c (parse_operand): Likewise.
1234 * config/tc-epiphany.c (md_assemble): Likewise.
1235 * config/tc-h8300.c (h8300_elf_section): Likewise.
1236 (get_operand): Likewise.
1237 * config/tc-hppa.c (pa_ip): Likewise.
1238 (pa_level): Likewise.
1239 (pa_space): Likewise.
1240 * config/tc-i386.c (i386_mach): Likewise.
1241 (md_assemble): Likewise.
1242 (check_VecOperations): Likewise.
1243 (i386_target_format): Likewise.
1244 (i386_elf_section_type): Likewise.
1245 * config/tc-ia64.c (start_unwind_section): Likewise.
1246 (md_parse_option): Likewise.
1247 (is_taken_branch): Likewise.
1248 (idesc->name,): Likewise.
1249 (note_register_values): Likewise.
1250 (do_alias): Likewise.
1251 * config/tc-m32c.c (insn_to_subtype): Likewise.
1252 * config/tc-m68hc11.c (get_operand): Likewise.
1253 (md_assemble): Likewise.
1254 * config/tc-m68k.c (m68k_ip): Likewise.
1255 (m68k_elf_suffix): Likewise.
1256 * config/tc-mcore.c (mcore_s_section): Likewise.
1257 * config/tc-metag.c (parse_get_set): Likewise.
1258 (md_parse_option): Likewise.
1259 * config/tc-microblaze.c (parse_imm): Likewise.
1260 (check_got): Likewise.
1261 (md_apply_fix): Likewise.
1262 * config/tc-mips.c (CPU_HAS_MIPS16): Likewise.
1263 (md_begin): Likewise.
1264 (s_is_linkonce): Likewise.
1265 (check_regno): Likewise.
1266 (match_float_constant): Likewise.
1267 (classify_vr4120_insn): Likewise.
1268 (match_insn): Likewise.
1269 (mips_after_parse_args): Likewise.
1270 (s_change_sec): Likewise.
1271 (s_option): Likewise.
1272 (parse_code_option): Likewise.
1273 (md_section_align): Likewise.
1274 (nopic_need_relax): Likewise.
1275 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
1276 * config/tc-mn10300.c (mn10300_fix_adjustable): Likewise.
1277 (mn10300_end_of_match): Likewise.
1278 * config/tc-msp430.c (msp430_make_init_symbols): Likewise.
1279 * config/tc-nds32.c (nds32_parse_option): Likewise.
1280 * config/tc-nds32.h (md_do_align): Likewise.
1281 * config/tc-nios2.c (strprefix): Likewise.
1282 (nios2_special_relocation_p): Likewise.
1283 (nios2_parse_base_register): Likewise.
1284 (nios2_cons): Likewise.
1285 * config/tc-ns32k.c (addr_mode): Likewise.
1286 * config/tc-pdp11.c (set_option): Likewise.
1287 (parse_reg): Likewise.
1288 (parse_ac5): Likewise.
1289 (parse_op_no_deferred): Likewise.
1290 (set_cpu_model): Likewise.
1291 (set_machine_model): Likewise.
1292 * config/tc-pj.c (md_operand): Likewise.
1293 * config/tc-ppc.c (ppc_set_cpu): Likewise.
1294 (ppc_arch): Likewise.
1295 (ppc_section_type): Likewise.
1296 * config/tc-s12z.c (tb_reg_rel): Likewise.
1297 (tb_opr_rel): Likewise.
1298 * config/tc-s390.c (s390_parse_cpu): Likewise.
1299 (md_parse_option): Likewise.
1300 * config/tc-score.c (s3_nopic_need_relax): Likewise.
1301 (s3_pic_need_relax): Likewise.
1302 * config/tc-score7.c (s7_nopic_need_relax): Likewise.
1303 (s7_pic_need_relax): Likewise.
1304 * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise.
1305 * config/tc-sparc.c (md_parse_option): Likewise.
1306 (sparc_ip): Likewise.
1307 (s_reserve): Likewise.
1308 (s_common): Likewise.
1309 (s_seg): Likewise.
1310 (sparc_cons): Likewise.
1311 * config/tc-tic54x.c (stag_add_field): Likewise.
1312 (tic54x_endstruct): Likewise.
1313 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
1314 * config/tc-v850.c (v850_comm): Likewise.
1315 (md_begin): Likewise.
1316 (md_assemble): Likewise.
1317 * config/tc-vax.c (vax_cons): Likewise.
1318 * config/tc-wasm32.c (wasm32_leb128): Likewise.
1319 * config/tc-xstormy16.c (md_operand): Likewise.
1320 * config/tc-xtensa.c (get_directive): Likewise.
1321 (xg_instruction_matches_option_term): Likewise.
1322 (is_unaligned_label): Likewise.
1323 (cache_literal_section): Likewise.
1324 * config/xtensa-relax.c (parse_precond): Likewise.
1325 (parse_option_cond): Likewise.
1326 (transition_applies): Likewise.
1327 (wide_branch_opcode): Likewise.
1328 * dw2gencfi.c: Likewise.
1329 * dwarf2dbg.c (dwarf2_directive_filename): Likewise.
1330 * ehopt.c (get_cie_info): Likewise.
1331 * input-file.c (input_file_open): Likewise.
1332 * listing.c (listing_newline): Likewise.
1333 (debugging_pseudo): Likewise.
1334 * read.c (read_a_source_file): Likewise.
1335 * write.c (adjust_reloc_syms): Likewise.
1336 (compress_debug): Likewise.
1337 (maybe_generate_build_notes): Likewise.
1338
fdb21288
AM
13392021-03-31 Alan Modra <amodra@gmail.com>
1340
1341 * itbl-lex-wrapper.c: Include as.h not sysdep.h.
1342 * config/bfin-lex-wrapper.c: Likewise.
1343 * itbl-lex.l: Don't include as.h.
1344 * config/bfin-lex.l: Likewise.
1345
5b7c81bd
AM
13462021-03-31 Alan Modra <amodra@gmail.com>
1347
1348 * as.h (POISON_BFD_BOOLEAN): Define.
1349 * as.c, * as.h, * atof-generic.c, * config/atof-ieee.c,
1350 * config/bfin-aux.h, * config/obj-coff.c, * config/obj-ecoff.c,
1351 * config/obj-elf.c, * config/obj-elf.h, * config/obj-som.c,
1352 * config/tc-aarch64.c, * config/tc-alpha.c, * config/tc-arc.c,
1353 * config/tc-arc.h, * config/tc-arm.c, * config/tc-arm.h,
1354 * config/tc-avr.c, * config/tc-avr.h, * config/tc-bfin.c,
1355 * config/tc-bfin.h, * config/tc-bpf.c, * config/tc-cris.c,
1356 * config/tc-csky.c, * config/tc-csky.h, * config/tc-d10v.c,
1357 * config/tc-d10v.h, * config/tc-d30v.c, * config/tc-d30v.h,
1358 * config/tc-dlx.c, * config/tc-dlx.h, * config/tc-epiphany.c,
1359 * config/tc-epiphany.h, * config/tc-fr30.c, * config/tc-fr30.h,
1360 * config/tc-frv.c, * config/tc-frv.h, * config/tc-ft32.c,
1361 * config/tc-ft32.h, * config/tc-h8300.c, * config/tc-hppa.c,
1362 * config/tc-i386-intel.c, * config/tc-i386.c, * config/tc-ia64.c,
1363 * config/tc-ip2k.c, * config/tc-iq2000.c, * config/tc-iq2000.h,
1364 * config/tc-lm32.c, * config/tc-lm32.h, * config/tc-m32c.c,
1365 * config/tc-m32c.h, * config/tc-m32r.c, * config/tc-m32r.h,
1366 * config/tc-m68hc11.c, * config/tc-m68k.c, * config/tc-mcore.c,
1367 * config/tc-mcore.h, * config/tc-mep.c, * config/tc-mep.h,
1368 * config/tc-metag.c, * config/tc-metag.h,
1369 * config/tc-microblaze.c, * config/tc-mips.c, * config/tc-mips.h,
1370 * config/tc-mmix.c, * config/tc-mn10200.c, * config/tc-mn10300.c,
1371 * config/tc-mn10300.h, * config/tc-moxie.c, * config/tc-msp430.c,
1372 * config/tc-msp430.h, * config/tc-mt.c, * config/tc-mt.h,
1373 * config/tc-nds32.c, * config/tc-nds32.h, * config/tc-nios2.c,
1374 * config/tc-ns32k.c, * config/tc-or1k.c, * config/tc-or1k.h,
1375 * config/tc-pdp11.c, * config/tc-ppc.c, * config/tc-pru.c,
1376 * config/tc-pru.h, * config/tc-riscv.c, * config/tc-riscv.h,
1377 * config/tc-rx.c, * config/tc-rx.h, * config/tc-s12z.c,
1378 * config/tc-s12z.h, * config/tc-s390.c, * config/tc-score.c,
1379 * config/tc-score.h, * config/tc-score7.c, * config/tc-sh.c,
1380 * config/tc-sh.h, * config/tc-spu.c, * config/tc-tic54x.c,
1381 * config/tc-tic6x.c, * config/tc-tic6x.h, * config/tc-tilegx.c,
1382 * config/tc-tilepro.c, * config/tc-v850.c, * config/tc-v850.h,
1383 * config/tc-visium.c, * config/tc-visium.h, * config/tc-wasm32.c,
1384 * config/tc-wasm32.h, * config/tc-xc16x.c, * config/tc-xgate.c,
1385 * config/tc-xstormy16.c, * config/tc-xstormy16.h,
1386 * config/tc-xtensa.c, * config/tc-xtensa.h, * config/tc-z80.c,
1387 * config/tc-z8k.c, * config/xtensa-istack.h,
1388 * config/xtensa-relax.c, * config/xtensa-relax.h, * dw2gencfi.c,
1389 * dwarf2dbg.c, * dwarf2dbg.h, * expr.c, * expr.h, * frags.c,
1390 * frags.h, * listing.c, * macro.c, * output-file.c, * read.c,
1391 * read.h, * stabs.c, * symbols.c, * write.c: Replace bfd_boolean
1392 with bool, FALSE with false, and TRUE with true.
1393
3dfb1b6d
AM
13942021-03-31 Alan Modra <amodra@gmail.com>
1395
1396 * config/tc-aarch64.c: Include stdint.h in place of bfd_stdint.h.
1397 * config/tc-crx.c: Likewise.
1398 * config/tc-nds32.h: Likewise.
1399
5e042380
JB
14002021-03-30 Jan Beulich <jbeulich@suse.com>
1401
1402 * config/tc-i386.c (build_modrm_byte): Change return type.
1403 Change type of "default_seg". Use NULL. Adjust setting of
1404 "default_seg".
1405 (reg_ds, reg_es, reg_ss): New.
1406 (struct _i386_insn): Change type of seg[].
1407 (md_begin): Initialize reg_ds, reg_es, and reg_ss.
1408 (swap_operands): Change type of "temp_seg".
1409 (check_string): Adjust %es check.
1410 (process_operands): Change type of "default_seg". Use NULL.
1411 Adjust segment override processing..
1412 (i386_att_operand): Adjust segment override handling.
1413 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
1414
34684862
JB
14152021-03-30 Jan Beulich <jbeulich@suse.com>
1416
1417 * config/tc-i386.c (reg_eax): New.
1418 (md_begin): Initialize reg_eax.
1419 * config/tc-i386-intel.c (i386_intel_simplify_register): Use
1420 reg_eax.
1421 (i386_intel_simplify): Likewise.
1422
6288d05f
JB
14232021-03-30 Jan Beulich <jbeulich@suse.com>
1424
1425 * config/tc-i386.c (reg_st0): New.
1426 (md_begin): Convert to switch(). Initialize reg_st0. Don't
1427 insert other st(N).
1428 (parse_real_register): Adjust st(N) processing.
1429
ca5312a2
JB
14302021-03-30 Jan Beulich <jbeulich@suse.com>
1431
1432 * config/tc-i386.c (rc_op): Delete.
1433 (struct Rounding_Operation): Move ...
1434 (struct _i386_insn): ... here. Change field "rounding".
1435 (build_evex_prefix): Adjust rounding processing.
1436 (swap_2_operands): Likewise.
1437 (check_VecOperands): Likewise.
1438 (RC_SAE_immediate): Likewise.
1439 (optimize_encoding): Adjust check for rounding.
1440 (build_modrm_byte): Likewise.
1441 (output_imm): Likewise.
1442 (md_assemble): Initialize rounding type.
1443
5273a3cd
JB
14442021-03-30 Jan Beulich <jbeulich@suse.com>
1445
1446 * config/tc-i386.c (broadcast_op): Delete.
1447 (struct Broadcast_Operation): Move ...
1448 (struct _i386_insn): ... here. Change field "broadcast".
1449 (match_mem_size): Adjust check for broadcast.
1450 (optimize_encoding): Likewise.
1451 (process_suffix): Likewise.
1452 (build_evex_prefix): Adjust broadcast processing.
1453 (swap_2_operands): Likewise.
1454 (check_VecOperations): Likewise.
1455 (match_template): Likewise.
1456 (check_VecOperands): Likewise.
1457
6225c532
JB
14582021-03-30 Jan Beulich <jbeulich@suse.com>
1459
1460 * config/tc-i386.c (reg_k0): New.
1461 (mask_op): Delete.
1462 (struct Mask_Operation): Move ...
1463 (struct _i386_insn): ... here. Change field "mask".
1464 (md_begin): Initialize reg_k0.
1465 (build_evex_prefix): Adjust mask processing.
1466 (swap_2_operands): Likewise.
1467 (check_VecOperands): Likewise.
1468 (check_VecOperations): Likewise.
1469 (optimize_encoding): Adjust checks for masking.
1470 (output_insn): Likewise.
1471
783c187b
JB
14722021-03-30 Jan Beulich <jbeulich@suse.com>
1473
1474 * config/tc-i386.c (swap_2_operands): Switch parameters to
1475 unsigned.
1476 (struct RC_Operation): Switch operand field to unsigned.
1477 (struct Mask_Operation): Likewise.
1478 (struct Broadcast_Operation): Likewise.
1479 (build_evex_prefix): Drop cast.
1480 (check_VecOperands): Likewise.
1481 (build_modrm_byte): Likewise.
1482 (output_imm): Likewise.
1483 (check_VecOperations): Add casts to unsigned.
1484
c8cad9d3
JB
14852021-03-29 Jan Beulich <jbeulich@suse.com>
1486
1487 * testsuite/gas/i386/x86-64-sse2avx.s: Add vpsadbw case.
1488 * testsuite/gas/i386/x86-64-avx-swap-2.d.
1489 testsuite/gas/i386/x86-64-sse2avx.d: Adjust expectations.
1490
389d00a5
JB
14912021-03-29 Jan Beulich <jbeulich@suse.com>
1492
1493 * config/tc-i386.c (optimize_encoding): Replace VEX-encoding
1494 checks by opcodespace ones.
1495 (insert_lfence_before): Likewise.
1496 (maybe_fused_with_jcc_p): Likewise.
1497 (add_branch_padding_frag_p): Likewise.
1498 (output_disp): Likewise.
1499 (load_insn_p): Re-arrange checks to key applicable ones off of
1500 an opcodespace check.
1501 (md_assemble): Adjust opcode checks.
1502 (check_byte_reg): Likewise.
1503 (process_operands): Likewise.
1504 (i386_index_check): Likewise.
1505 (process_suffix): Likewise. New local variable is_movx. Adjust
1506 movsx/movzx and crc32 handling.
1507 (output_insn): Adjust opcode checks. Drop no longer reachable
1508 case labels. Output legacy encoding prefixes in addition to the
1509 base_opcode byte(s). Rework counting of prefixes for extended
1510 opcode maps.
1511 * config/tc-i386-intel.c (i386_intel_simplify_register): Adjust
1512 opcode checks.
1513
63b4cc53
AM
15142021-03-29 Alan Modra <amodra@gmail.com>
1515
1516 * atof-generic.c (FALSE, TRUE): Don't define.
1517 * config/obj-elf.h (FALSE, TRUE): Don't define.
1518 * config/obj-som.h (FALSE, TRUE): Don't define.
1519 * config/tc-hppa.h (FALSE, TRUE): Don't define.
1520 * config/tc-pdp11.c (FALSE, TRUE): Don't define.
1521 * config/tc-iq2000.h (obj_fix_adjustable): Delete.
1522 * config/tc-m32r.h (TC_FIX_ADJUSTABLE): Delete.
1523 * config/tc-mt.h (obj_fix_adjustable): Delete.
1524 * config/tc-nds32.h (TC_FIX_ADJUSTABLE): Delete.
1525 * config/tc-arc.c (parse_opcode_flags): Simplify boolean expression.
1526 (relaxable_flag, relaxable_operand, assemble_insn): Likewise.
1527 (tokenize_extregister): Likewise.
1528 * config/tc-csky.c (parse_opcode, get_operand_value): Likewise.
1529 (parse_operands_op, parse_operands, md_assemble): Likewise.
1530 * config/tc-d10v.c (build_insn): Likewise.
1531 * config/tc-score.c (s3_gen_insn_frag): Likewise.
1532 * config/tc-score7.c (s7_gen_insn_frag, s7_relax_frag): Likewise.
1533 * config/tc-tic6x.c (tic6x_update_features, md_assemble): Likewise.
1534 * config/tc-z80.c (emit_byte): Likewise.
1535
854f1e4b
AM
15362021-03-29 Alan Modra <amodra@gmail.com>
1537
1538 * config/tc-arm.c (struct arm_long_option_table <func>): Return
1539 bfd_boolean.
1540 * config/tc-arm.h (arm_optimize_expr, arm_data_in_code): Likewise.
1541 * config/tc-metag.c (parse_mov_port): Replace unsigned int variable
1542 with bfd_boolean.
1543 (parse_mmov, parse_mov_ct, parse_alu, parse_shift, parse_bitop),
1544 (parse_cmp, parse_fmmov, parse_fmov_data, parse_fearith),
1545 (parse_dget_set, parse_dalu): Likewise, ensuring assignment from
1546 logical expressions.
1547 (struct metag_long_option <func>): Return bfd_boolean.
1548 (metag_parse_cpu, metag_parse_fpu, metag_parse_dsp): Likewise.
1549 * config/tc-msp430.c (msp430_dstoperand): Correct dummy type.
1550 * config/tc-s12z.c (parse_operand_func): Return bfd_boolean.
1551 (no_operands, lex_force_match, lex_reg_list): Likewise.
1552 (size_from_suffix): Return int.
1553 (s12z_relax_frag, md_estimate_size_before_relax): Return 0.
1554 * config/tc-s12z.h (tc_s12z_fix_adjustable): Likewise.
1555
c3344b62
JB
15562021-03-26 Jan Beulich <jbeulich@suse.com>
1557
1558 * testsuite/gas/i386/x86-64-nosse2.s,
1559 testsuite/gas/i386/x86-64-nosse2.l: New.
1560 * testsuite/gas/i386/i386.exp: Run new test.
1561
efa30ac3
HAQ
15622021-03-25 Abid Qadeer <abidh@codesourcery.com>
1563
1564 * testsuite/gas/nios2/brn.d: New.
1565 * testsuite/gas/nios2/brn.d: New.
1566
5e74b495
JB
15672021-03-25 Jan Beulich <jbeulich@suse.com>
1568
1569 * config/tc-i386.c (match_template): Use t instead of i.tm.
1570
596a02ff
JB
15712021-03-25 Jan Beulich <jbeulich@suse.com>
1572
1573 * testsuite/gas/i386/avx512f-nondef.s: Add vgather cases.
1574 * testsuite/gas/i386/x86-64-vgather-check.s: Add cases with
1575 colliding registers in the upper half of the space.
1576 * testsuite/gas/i386/avx512f-nondef.d,
1577 testsuite/gas/i386/vgather-check.d,
1578 testsuite/gas/i386/x86-64-vgather-check.d,
1579 testsuite/gas/i386/x86-64-vgather-check-error.l,
1580 testsuite/gas/i386/x86-64-vgather-check-warn.e: Adjust
1581 expecations.
1582 * testsuite/gas/i386/vgather-check-none.d,
1583 testsuite/gas/i386/vgather-check-warn.d,
1584 testsuite/gas/i386/x86-64-vgather-check-none.d,
1585 testsuite/gas/i386/x86-64-vgather-check-warn.d: Refer to "base"
1586 tests for expected dump output.
1587
53642852
JB
15882021-03-25 Jan Beulich <jbeulich@suse.com>
1589
1590 * testsuite/gas/i386/avx512f-nondef.s: Add case for EVEX.z
1591 without mask register.
1592 * testsuite/gas/i386/avx512f-nondef.d: Adjust expectations.
1593
c0e54661
JB
15942021-03-25 Jan Beulich <jbeulich@suse.com>
1595
1596 * config/tc-i386.c (md_assemble): Widen set of insns to avoid
1597 swapping operands for.
1598 * testsuite/gas/i386/invlpgb.s: Fix, re-arrange, and add Intel
1599 syntax tests.
1600 * testsuite/gas/i386/snp.s: Re-arrange and add multi-operand as
1601 well as Intel syntax tests.
1602 * testsuite/gas/i386/invlpgb.d, testsuite/gas/i386/snp.d: Adjust
1603 expectations.
32d71569 1604 * testsuite/gas/i386/invlpgb64.d, testsuite/gas/i386/snp64.d:
c0e54661
JB
1605 Likewise. Drop passing --def-sym to as.
1606
829f3fe1
JB
16072021-03-25 Jan Beulich <jbeulich@suse.com>
1608
1609 PR/gas 27419
1610 * config/tc-i386.c (process_suffix): Restrict (%rip) -> (%eip)
1611 conversion to x32 mode.
1612 * testsuite/gas/i386/ilp32/enqcmd.s,
1613 testsuite/gas/i386/ilp32/enqcmd.d,
1614 testsuite/gas/i386/ilp32/movdir.s,
1615 testsuite/gas/i386/ilp32/movdir.d: New.
1616 * testsuite/gas/i386/x86-64-enqcmd.s,
1617 testsuite/gas/i386/x86-64-movdir.s: Drop mismatched operand
1618 cases.
1619 * testsuite/gas/i386/x86-64-enqcmd-inval.s: Add (%rip) and
1620 (%eip) cases.
1621 * testsuite/gas/i386/x86-64-movdir64b-reg.s Add (%eip) case.
1622 * testsuite/gas/i386/x86-64-enqcmd.d,
1623 testsuite/gas/i386/x86-64-enqcmd-intel.d,
1624 testsuite/gas/i386/x86-64-enqcmd-inval.l,
1625 testsuite/gas/i386/x86-64-movdir.d,
1626 testsuite/gas/i386/x86-64-movdir-intel.d,
1627 testsuite/gas/i386/x86-64-movdir64b-reg.l: Adjust expectations.
1628
5a403766
AM
16292021-03-25 Alan Modra <amodra@gmail.com>
1630
1631 PR 27647
1632 * testsuite/gas/ppc/a2.d: Update expected output.
1633 * testsuite/gas/ppc/power8.d: Likewise.
1634
9a182d04
JB
16352021-03-24 Jan Beulich <jbeulich@suse.com>
1636
1637 * config/tc-i386.c (struct _i386_insn): New field
1638 opcode_length.
1639 (md_begin): Drop assertion.
1640 (install_template): New.
1641 (build_vex_prefix): Call install_template.
1642 (match_template): Likewise.
1643 (process_operands): Use new opcode_length field.
1644 (output_jump): Likewise.
1645 (output_insn): Likewise. Adjust psedo prefix check.
1646
35648716
JB
16472021-03-24 Jan Beulich <jbeulich@suse.com>
1648
1649 * config/tc-i386.c (md_begin): Add assertion.
1650 (build_vex_prefix): Drop implied prefix calculation.
1651 (build_evex_prefix): Likewise.
1652 (optimize_encoding): Adjust opcode checks.
1653 (load_insn_p): Also check opcodeprefix.
1654 (match_template): Also check opcodespace.
1655 (process_suffix): Likewise.
1656 (process_operands): Likewise.
1657 (output_insn): Likewise. Also check isprefix when discaring
1658 standalone LOCK.
1659 * config/tc-i386-intel.c (i386_intel_operand): Also check
1660 opcodespace.
1661
31184569
JB
16622021-03-24 Jan Beulich <jbeulich@suse.com>
1663
1664 * config/tc-i386.c (parse_insn): Recognize pseudo prefixes by
1665 base_opcode and extension_opcode.
1666
b933fa4b
JB
16672021-03-23 Jan Beulich <jbeulich@suse.com>
1668
1669 * config/tc-i386.c (pte): Re-order opc_pfx[] entries.
1670
dac10fb0
JB
16712021-03-23 Jan Beulich <jbeulich@suse.com>
1672
1673 * config/tc-i386.c (output_i386_opcode): Invoke
1674 process_i386_cpu_flag() slightly later.
1675 (process_i386_opcodes): Likewise.
1676
441f6aca
JB
16772021-03-23 Jan Beulich <jbeulich@suse.com>
1678
1679 * config/tc-i386.c (pte): Print prefix and encoding space.
1680 (build_vex_prefix): Check opcodespace instead of opcodeprefix.
1681 (build_evex_prefix): Likewise.
1682 (load_insn_p): Likewise.
1683
70e95837
JB
16842021-03-23 Jan Beulich <jbeulich@suse.com>
1685
1686 * config/tc-i386.c (load_insn_p): Use PREFIX_NONE. Fold two
1687 if()-s.
1688 (match_template, output_insn): Use PREFIX_NONE.
1689
a152332d
JB
16902021-03-23 Jan Beulich <jbeulich@suse.com>
1691
1692 * config/tc-i386.c (i386_index_check): New local variable t.
1693 Correct MPX insn check.
1694 * config/tc-i386-intel.c (i386_intel_simplify_register): Correct
1695 MPX insn check.
1696 * testsuite/gas/i386/x86-64-mpx.s: Add RIP-relative cases. Test
1697 index scaling by other than 1.
1698 * testsuite/gas/i386/x86-64-mpx.d: Adjust expectations.
1699
08dedd66
ML
17002021-03-22 Martin Liska <mliska@suse.cz>
1701
1702 * config/tc-i386.c (md_parse_option): Replace usage of CONST_STRNEQ with startswith.
1703 (x86_64_section_word): Likewise.
1704 * config/tc-sparc.c (md_parse_option): Likewise.
1705
826b97d4
AM
17062021-03-19 Alan Modra <amodra@gmail.com>
1707
1708 * app.c (do_scrub_chars): Don't lose spaces before a slash.
1709
3273f9a1
CG
17102021-03-18 Christian Groessler <chris@groessler.org>
1711
1712 * config/tc-z8k.c (apply_fix): Handle 7-bit relocations correctly.
1713 Problem found by Tadashi G. Takaoka <tadashi.g.takaoka@gmail.com>.
1714
80d49d6a
KLC
17152021-03-16 Kuan-Lin Chen <kuanlinchentw@gmail.com>
1716
1717 * config/tc-riscv.c (ext_version_table): Add b, zba, zbb and zbc.
1718 (riscv_multi_subset_supports): Add INSN_CLASS_ZB*.
1719 * testsuite/gas/riscv/b-ext-64.s: Bitmanip test case.
1720 * testsuite/gas/riscv/b-ext-64.d: Likewise.
1721 * testsuite/gas/riscv/b-ext.s: Likewise.
1722 * testsuite/gas/riscv/b-ext.d: Likewise.
1723
7fce7ea9
PW
17242021-03-12 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
1725
1726 * testsuite/gas/aarch64/illegal-sysreg-7.d: New test.
1727 * testsuite/gas/aarch64/illegal-sysreg-7.l: New test.
1728 * testsuite/gas/aarch64/illegal-sysreg-7.s: New test.
1729 * testsuite/gas/aarch64/sysreg-7.d: New test.
1730 * testsuite/gas/aarch64/sysreg-7.s: New test.
1731
1b2cb8e2
CC
17322021-03-12 Clément Chigot <clement.chigot@atos.net>
1733
1734 * config/tc-ppc.c (ppc_xcoff_text_section, ppc_xcoff_data_section,
1735 (ppc_xcoff_bss_section, ppc_xcoff_tdata_section,
1736 (ppc_xcoff_tbss_section): New variables.
1737 (ppc_text_subsegment, ppc_text_csects, ppc_data_subgments,
1738 (ppc_data_csects): Removed.
1739 (ppc_xcoff_section_is_initialized, ppc_init_xcoff_section,
1740 ppc_xcoff_parse_cons): New functions.
1741 (md_being): Initialize XCOFF sections.
1742 (ppc_xcoff_suffix): Add support for TLS relocations
1743 (fixup_size, md_apply_fix): Add support for new BFD_RELOC.
1744 (ppc_change_csect): Handle XMC_TL, XMC_UL. Correctly, add XMC_BS
1745 to .bss section. Handle new XCOFF section variables.
1746 (ppc_comm): Likewise.
1747 (ppc_toc): Likewise.
1748 (ppc_symbol_new_hook): Likewise.
1749 (ppc_frob_symbol): Likewise.
1750 (ppc_fix_adjustable): Add tbss support.
1751 * config/tc-ppc.h (TC_PARSE_CONS_EXPRESSION): New define.
1752 (ppc_xcoff_parse_cons): Add prototype.
1753 (struct ppc_xcoff_section): New structure.
1754
4a403be0
CC
17552021-03-12 Clément Chigot <clement.chigot@atos.net>
1756
1757 * config/tc-ppc.c (ppc_xcoff_suffix): New function.
1758 (MAP, MAP32, MAP64): New macros for XCOFF.
1759 (ppc_xcoff_fixup_addis): New function.
1760 (ppc_is_toc_sym): Handle XMC_TE.
1761 (fixup_size): Add cases for BFD_RELOC_PPC_TOC16_HI and
1762 BFD_RELOC_PPC_TOC16_LO.
1763 (md_assemble): Call ppc_xcoff_fixup_addis for XCOFF.
1764 (ppc_change_csect): Handle XMC_TE.
1765 (ppc_tc): Enable .tc symbols to have only a XMC_TC or XMC_TE
1766 storage class.
1767 (ppc_symbol_new_hook): Handle XMC_TE.
1768 (ppc_frob_symbol): Likewise.
1769 (ppc_fix_adjustable): Likewise.
1770 (md_apply_fix): Handle BFD_RELOC_PPC_TOC16_HI and
1771 BFD_RELOC_PPC_TOC16_LO.
1772
b763d508
JB
17732021-03-10 Jan Beulich <jbeulich@suse.com>
1774
1775 * testsuite/gas/i386/avx512f-intel.d,
1776 testsuite/gas/i386/avx512f_vl-intel.d,
1777 testsuite/gas/i386/avx512pf-intel.d,
1778 testsuite/gas/i386/x86-64-avx512f-intel.d,
1779 testsuite/gas/i386/x86-64-avx512f_vl-intel.d,
1780 testsuite/gas/i386/x86-64-avx512pf-intel.d: Adjust expectations.
1781
31941983
JB
17822021-03-10 Jan Beulich <jbeulich@suse.com>
1783
1784 * testsuite/gas/i386/prefetch.d,
1785 testsuite/gas/i386/prefetch-intel.d,
1786 testsuite/gas/i386/x86-64-prefetch.d,
1787 testsuite/gas/i386/x86-64-prefetch-intel.d: Adjust expectations.
1788 * testsuite/gas/i386/nops-8.s, testsuite/gas/i386/nops-8.d: New.
1789 * testsuite/gas/i386/i386.exp: Run new test.
1790
742732c7
JB
17912021-03-09 Jan Beulich <jbeulich@suse.com>
1792
1793 * config/tc-i386.c (check_hle): Replace HLEPrefix* by Prefix*.
1794 (md_assemble): Replace use of repprefixok, islockable, and
1795 notrackprefixok.
1796 (i386_index_check): Replace use of repprefixok.
1797
e93a3b27
JB
17982021-03-09 Jan Beulich <jbeulich@suse.com>
1799
1800 * testsuite/gas/i386/noreg64.s: Add sysexit.
1801 * testsuite/gas/i386/x86-64-sysenter-amd.s: Split sysexit into
1802 sysexitl and sysexitq.
1803 * testsuite/gas/i386/noreg-intel64.l,
1804 testsuite/gas/i386/noreg64-data16.d,
1805 testsuite/gas/i386/noreg64-data16.e,
1806 testsuite/gas/i386/noreg64-rex64.d,
1807 testsuite/gas/i386/noreg64.d,
1808 testsuite/gas/i386/noreg64.l,
1809 testsuite/gas/i386/x86-64-sysenter-amd.d,
1810 testsuite/gas/i386/x86-64-sysenter-amd.l,
1811 testsuite/gas/i386/x86-64-sysenter-intel.d: Adjust expectations.
1812
fe0171d2
NC
18132021-02-26 Nick Clifton <nickc@redhat.com>
1814
1815 PR 27411
1816 * config/tc-arm.c (do_t_add_sub): Correct error message.
1817 * testsuite/gas/arm/pr27411.s: New test.
1818 * testsuite/gas/arm/pr27411.d: New test driver.
1819 * testsuite/gas/arm/pr27411.l: Expected error output for new test.
1820
55add51e
AM
18212021-02-24 Alan Modra <amodra@gmail.com>
1822
1823 PR 23691
1824 * Makefile.am (TARGET_CPU_CFILES): Split off config/xtensa-relax.c..
1825 (TARGET_CPU_HFILES): ..and config/xtensa-relax.h..
1826 (TARGET_EXTRA_FILES): ..to here. Add config/bfin-lex-wrapper.c,
1827 and use alongside TARGET_CPU_CFILES.
1828 (EXTRA_DIST): Update location of generated .c files.
1829 (config/m68k-parse.c): New rule replacing m68k-parse.c rule.
1830 (config/bfin-parse.c, config/rl78-parse.cm config/rx-parse.c),
1831 (config/bfin-lex.c, config/bfin-lex-wrapper.@OBJEXT@): Similarly.
1832 (itbl-lex-wrapper.@OBJEXT@): Simplify to just the needed
1833 dependencies.
1834 (itbl-parse.@OBJEXT@): Delete rule using NO_WERROR.
1835 (itbl-parse.c, itbl-parse.h): Tidy.
1836 * config/bfin-lex-wrapper.c: Include config/bfin-lex.c.
1837 * config/bfin-lex.l: Include config/bfin-parse.h.
1838 * configure.ac (extra_objects): Move object files corresponding
1839 to .y and .l files now in config/ to config/.
1840 * Makefile.in: Regenerate.
1841 * configure: Regenerate.
1842 * po/POTFILES.in: Regenerate.
1843
0257c2ff
NC
18442021-02-19 Nick Clifton <nickc@redhat.com>
1845
1846 * config/tc-riscv.c (riscv_ip): Fix compile time warnings about
1847 misleading indentation.
1848
5a9f5403
NC
18492021-02-19 Nelson Chu <nelson.chu@sifive.com>
1850
1851 PR 27158
1852 * config/tc-riscv.c (riscv_ip): Updated encoding macros.
1853 (md_apply_fix): Likewise.
1854 (md_convert_frag_branch): Likewise.
1855 (validate_riscv_insn): Likewise. Also arranged operands, including
1856 added C5 and C6 operands, and removed unused Ci and C< operands.
1857 * doc/c-riscv.texi: Updated and added CSS/CL/CS types.
1858 * testsuite/gas/riscv/insn.d: Added CSS/CL/CS instructions.
1859 * testsuite/gas/riscv/insn.s: Likewise.
1860
3d73d29e
NC
18612021-02-18 Nelson Chu <nelson.chu@sifive.com>
1862
1863 * config/tc-riscv.c: Included cpu-riscv.h.
1864 (enum riscv_csr_clas): Moved from include/opcode/riscv.h.
1865 (struct riscv_csr_extra): Likewise.
1866 (struct riscv_ext_version): Likewise.
1867 (ext_version_table): Moved from opcodes/riscv-opc.c.
1868 (default_isa_spec): Updated type to riscv_spec_class.
1869 (default_priv_spec): Likewise.
1870 (riscv_set_default_isa_spec): Updated.
1871 (init_ext_version_hash): Likewise.
1872 (riscv_init_csr_hash): Likewise, also fixed indent.
1873
089485ff
AM
18742021-02-17 Alan Modra <amodra@gmail.com>
1875
1876 * testsuite/gas/elf/section28.d: xfail h8300.
1877
ca1289b9
L
18782021-02-16 H.J. Lu <hongjiu.lu@intel.com>
1879
1880 PR gas/27412
1881 * config/obj-elf.c (obj_elf_change_section): Strip SHF_GNU_RETAIN
1882 when checking incorrect section attributes.
1883 * testsuite/gas/elf/elf.exp: Run section28 and section29.
1884 * testsuite/gas/elf/section28.d: New file.
1885 * testsuite/gas/elf/section28.s: Likewise.
1886 * testsuite/gas/elf/section29.d: Likewise.
1887 * testsuite/gas/elf/section29.s: Likewise.
1888
394ae71f
JB
18892021-02-16 Jan Beulich <jbeulich@suse.com>
1890
1891 * testsuite/gas/i386/sse-check.s,
1892 testsuite/gas/i386/sse2avx.s,
1893 testsuite/gas/i386/x86-64-sse2avx.s: Add CVTPI2PD cases.
1894 * testsuite/gas/i386/sse-check-error.l,
1895 testsuite/gas/i386/sse-check-warn.e,
1896 testsuite/gas/i386/sse-check.d,
1897 testsuite/gas/i386/sse2avx.d,
1898 testsuite/gas/i386/x86-64-sse-check-error.l,
1899 testsuite/gas/i386/x86-64-sse2avx.d: Adjust expecations.
1900 * testsuite/gas/i386/property-cvtpi2pd.s,
1901 testsuite/gas/i386/property-cvtpi2pd.d,
1902 testsuite/gas/i386/property-cvtpi2ps.s,
1903 testsuite/gas/i386/property-cvtpi2ps.d: New.
1904 * testsuite/gas/i386/i386.exp: Run new tests.
1905
3d70986f
JB
19062021-02-16 Jan Beulich <jbeulich@suse.com>
1907
1908 * config/tc-i386.c (md_assemble): Use template rather than
1909 actuals when updating i.xstate.
1910 * testsuite/gas/i386/property-4.d,
1911 testsuite/gas/i386/property-5.d,
1912 testsuite/gas/i386/property-12.d: Adjust expectations.
1913
014d61ea
JB
19142021-02-16 Jan Beulich <jbeulich@suse.com>
1915
1916 * config/tc-i386.c (output_insn): Handle ldmxcsr, stmxcsr,
1917 vldmxcsr, vstmxcsr, vzeroall, and vzeroupper.
1918 * testsuite/gas/i386/property-ldmxcsr.s,
1919 testsuite/gas/i386/property-ldmxcsr.d,
1920 testsuite/gas/i386/property-vldmxcsr.s,
1921 testsuite/gas/i386/property-vldmxcsr.d,
1922 testsuite/gas/i386/property-vzeroall.s,
1923 testsuite/gas/i386/property-vzeroall.d: New.
1924 * testsuite/gas/i386/i386.exp: Run new tests.
1925
cbe68696
JB
19262021-02-16 Jan Beulich <jbeulich@suse.com>
1927
1928 * testsuite/gas/i386/i386.exp: Move bitness-independent property
1929 tests to bitness independent section.
1930 * testsuite/gas/i386/x86-64-property-2.d,
1931 testsuite/gas/i386/x86-64-property-3.d,
1932 testsuite/gas/i386/x86-64-property-4.d,
1933 testsuite/gas/i386/x86-64-property-5.d,
1934 testsuite/gas/i386/x86-64-property-6.d,
1935 testsuite/gas/i386/x86-64-property-10.d,
1936 testsuite/gas/i386/x86-64-property-11.d,
1937 testsuite/gas/i386/x86-64-property-12.d,
1938 testsuite/gas/i386/x86-64-property-13.d: Delete.
1939
c2f1204d
JB
19402021-02-16 Jan Beulich <jbeulich@suse.com>
1941
1942 * testsuite/gas/i386/enqcmd-16bit.s: Include enqcmd.s, not
1943 movdir.s.
1944 * testsuite/gas/i386/enqcmd-16bit.d: Adjust expectations.
1945
9a12b194
AM
19462021-02-16 Alan Modra <amodra@gmail.com>
1947
1948 PR 27426
1949 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
1950 in another place.
1951
70433886
AM
19522021-02-16 Alan Modra <amodra@gmail.com>
1953
1954 * read.c (demand_copy_C_string): Really check for embedded zeros.
1955
ba2b480f
AK
19562021-02-15 Andreas Krebbel <krebbel@linux.ibm.com>
1957
1958 * config/tc-s390.c (s390_parse_cpu): New entry for arch14.
1959 * doc/c-s390.texi: Document arch14 march option.
1960 * testsuite/gas/s390/s390.exp: Run the arch14 related tests.
1961 * testsuite/gas/s390/zarch-arch14.d: New test.
1962 * testsuite/gas/s390/zarch-arch14.s: New test.
1963
c46b7066
NC
19642021-02-12 Nick Clifton <nickc@redhat.com>
1965
1966 * testsuite/gas/mach-o/sections-1.d: Stop automatic debug link
32d71569 1967 following.
c46b7066
NC
1968 * testsuite/gas/xgate/insns-dwarf2.d: Likewise.
1969
3c1d4101
AM
19702021-02-12 Alan Modra <amodra@gmail.com>
1971
1972 * testsuite/gas/all/pr27381.err: Don't match source file name.
1973 * testsuite/gas/all/pr27381.s: Don't start directive in first column.
1974 * testsuite/gas/all/pr27384.err: Don't match source file name.
1975 Adjust line number.
1976 * testsuite/gas/all/pr27384.s: Add ".text" directive.
1977 * testsuite/gas/elf/pr27355.err: Don't match source file name.
1978
933feaf3
AM
19792021-02-11 Alan Modra <amodra@gmail.com>
1980
1981 * NEWS: Mention arm-symbianelf removal.
1982
01e8b831
NC
19832021-02-10 Nick Clifton <nickc@redhat.com>
1984
1985 * listing.c (buffer_line): Remove debugging code accidentally
1986 included with the fix for PR 27384.
1987
284beb43
NC
19882021-02-09 Nick Clifton <nickc@redhat.com>
1989
1990 PR 27381
1991 * read.c (s_incbin): Check that the file to be included is a
1992 regular, non-directory file.
1993 * testsuite/gas/all/pr27381.s: New test source file.
1994 * testsuite/gas/all/pr27381.d: New test control file.
1995 * testsuite/gas/all/pr27381.err: Expected error output for the new test.
1996 * testsuite/gas/all/gas.exp: Run the new test.
1997
a57d1773
AM
19982021-02-09 Alan Modra <amodra@gmail.com>
1999
2000 * Makefile.am (TARG_ENV_HFILES): Remove config/te-symbian.h.
2001 * config/tc-arm.c (elf32_arm_target_format): Remove TE_SYMBIAN
2002 support.
2003 * config/te-symbian.h: Delete.
2004 * configure.tgt: Remove arm-*-symbianelf*.
2005 * testsuite/gas/arm/arch4t-eabi.d: Don't mention symbianelf in
2006 target selection.
2007 * testsuite/gas/arm/arch4t.d: Likewise.
2008 * testsuite/gas/arm/got_prel.d: Likewise.
2009 * testsuite/gas/arm/mapdir.d: Likewise.
2010 * testsuite/gas/arm/mapmisc.d: Likewise.
2011 * testsuite/gas/arm/mapsecs.d: Likewise.
2012 * testsuite/gas/arm/mapshort-eabi.d: Likewise.
2013 * testsuite/gas/arm/thumb-eabi.d: Likewise.
2014 * testsuite/gas/arm/thumb.d: Likewise.
2015 * testsuite/gas/arm/thumbrel.d: Likewise.
2016 * Makefile.in: Regenerate.
2017 * po/POTFILES.in: Regenerate.
2018
4a68fcd7
NC
20192021-02-09 Nick Clifton <nickc@redhat.com>
2020
2021 PR 27384
2022 * listing.c (listing_psize): Check the result of the width
2023 expression before assigning it to paper_width.
2024 * testsuite/gas/all/pr27384.s: New test source file.
2025 * testsuite/gas/all/pr27384.d: New test control file.
2026 * testsuite/gas/all/pr27384.err: Expected errors from new test.
2027 * testsuite/gas/all/gas.exp: Run the new test.
2028
52563b0f
NC
20292021-02-09 Nick Clifton <nickc@redhat.com>
2030
2031 PR 27355
2032 * testsuite/gas/elf/pr27355.s: New test source file.
2033 * testsuite/gas/elf/pr27355.d: New test control file.
2034 * testsuite/gas/elf/pr27355.err: Expected errors from new test.
2035 * testsuite/gas/elf/elf.exp: Run the new test.
2036
bfd428bc
MF
20372021-02-08 Mike Frysinger <vapier@gentoo.org>
2038
2039 * config/tc-tic54x (tic54x_mmregs): Rename to ...
2040 (tic54x_register_mmregs): ... this. Change mmregs to tic54x_mmregs.
2041 (md_pseudo_table): Change tic54x_mmregs to tic54x_register_mmregs.
2042 (md_begin): Add tic54x_ prefix to regs, mmregs, condition_codes,
2043 cc2_codes, cc3_codes, status_bits, and misc_symbols.
2044
80b652ef
NC
20452021-02-08 Nick Clifton <nickc@redhat.com>
2046
2047 PR 27355
2048 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
2049 if it has not already been created.
2050
24075dcc
NC
20512021-02-04 Nelson Chu <nelson.chu@sifive.com>
2052
2053 * config/tc-riscv.c (riscv_multi_subset_supports): Removed
2054 INSN_CLASS_ZB*.
2055 * testsuite/gas/riscv/bitmanip-insns-32.d: Removed.
2056 * testsuite/gas/riscv/bitmanip-insns-64.d: Removed.
2057 * testsuite/gas/riscv/bitmanip-insns.s: Removed.
2058
61ecbbae
AK
20592021-02-03 Andreas Krebbel <krebbel@linux.ibm.com>
2060
2061 * doc/c-s390.texi: Document vector instruction formats.
2062
1f568f9a
EH
20632021-02-01 Emery Hemingway <ehmry@posteo.net>
2064
2065 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
2066
7bba67ec
AM
20672021-02-01 Alan Modra <amodra@gmail.com>
2068
2069 PR 27283
2070 * config/tc-alpha.c (insert_operand): Delete dead code.
2071
1f583bc2
L
20722021-01-26 H.J. Lu <hongjiu.lu@intel.com>
2073
2074 PR gas/27243
2075 * config/tc-nios2.c (md_begin): Don't disable relaxation with
2076 --gdwarf-N.
2077 * testsuite/gas/nios2/relax.d: New file.
2078 * testsuite/gas/nios2/relax.s: Likewise.
2079
a45ef9a3
AM
20802021-01-26 Alan Modra <amodra@gmail.com>
2081
2082 * testsuite/gas/all/local-label-overflow.d: Use xfail rather than
2083 notarget all except hppa. Comment.
2084 * testsuite/gas/all/sleb128-2.d: Use xfail rather than notarget.
2085 * testsuite/gas/all/sleb128-4.d: Likewise. Don't skip msp430.
2086 * testsuite/gas/all/sleb128-5.d: Use xfail rather than notarget.
2087 * testsuite/gas/all/sleb128-7.d: Likewise.
2088 * testsuite/gas/all/sleb128-9.d: Likewise.
2089 * testsuite/gas/elf/bignums.d: Likewise.
2090 * testsuite/gas/elf/group0c.d: Likewise.
2091 * testsuite/gas/elf/group1a.d: Likewise.
2092 * testsuite/gas/elf/section-symbol-redef.d: Likewise.
2093 * testsuite/gas/elf/section15.d: Likewise.
2094 * testsuite/gas/elf/section4.d: Likewise.
2095 * testsuite/gas/elf/section7.d: Likewise.
2096 * testsuite/gas/macros/irp.d: Likewise.
2097 * testsuite/gas/macros/repeat.d: Likewise.
2098 * testsuite/gas/macros/rept.d: Likewise.
2099 * testsuite/gas/macros/test2.d: Likewise.
2100 * testsuite/gas/macros/vararg.d: Likewise.
2101 * testsuite/gas/all/string.d: Use xfail rather than skip.
2102 * testsuite/gas/elf/missing-build-notes.d: Likewise.
2103 * testsuite/gas/elf/section0.d: Likewise.
2104 * testsuite/gas/elf/section1.d: Likewise.
2105 * testsuite/gas/elf/section10.d: Likewise.
2106 * testsuite/gas/elf/section11.d: Likewise.
2107 * testsuite/gas/elf/section6.d: Likewise.
2108 * testsuite/gas/elf/symtab.d: Use xfail rather than skip, adjust hppa.
2109 * testsuite/gas/elf/symtab.s: Don't start directives in first column.
2110 * testsuite/gas/macros/test3.d: Don't notarget nds32.
2111
9886ff03
AM
21122021-01-26 Alan Modra <amodra@gmail.com>
2113
2114 * testsuite/gas/all/byte.d,
2115 * testsuite/gas/all/byte.l,
2116 * testsuite/gas/all/byte.s: Delete.
2117 * testsuite/gas/all/gas.exp: Don't run byte test.
2118
4287950e
AM
21192021-01-26 Alan Modra <amodra@gmail.com>
2120
2121 PR 27282
2122 * testsuite/gas/all/none.d: Replace skip with xfail, don't xfail ft32.
2123 * testsuite/gas/elf/pr27228.d: xfail hppa and allow OBJECT match.
2124
eea133e6
L
21252021-01-24 H.J. Lu <hongjiu.lu@intel.com>
2126
2127 PR gas/27228
2128 * testsuite/gas/elf/elf.exp: Run pr27228.
2129 * testsuite/gas/elf/pr27228.d: New file.
2130 * testsuite/gas/elf/pr27228.s: Likewise.
2131
68fcee4f
AM
21322021-01-24 Alan Modra <amodra@gmail.com>
2133
2134 PR 27228
2135 * write.c (resolve_reloc_expr_symbols): Don't assume local symbol
2136 is defined.
2137
be07043e
AM
21382021-01-21 Alan Modra <amodra@gmail.com>
2139
2140 PR 27221
2141 * dwarf2dbg.c (dwarf2_gen_line_info_1): Don't warn about ignored
2142 line number info when gas is generating it.
2143 * testsuite/gas/elf/dwarf2-20.d: Adjust to not expect warnings.
2144 * testsuite/gas/m68hc11/indexed12.d: Likewise.
2145 * testsuite/gas/elf/elf.exp: Don't run warn-2.
2146 * gas/testsuite/gas/elf/warn-2.s: Delete.
2147
498ff032
AM
21482021-01-21 Alan Modra <amodra@gmail.com>
2149
2150 PR 27218
2151 * dwarf2dbg.c (dwarf2_gen_line_info): Correct setting of dwarf_level.
2152 (dwarf2_directive_filename, dwarf2_directive_loc): Likewise, and
2153 error for negative file numbers.
2154
4bd7c902
AM
21552021-01-20 Alan Modra <amodra@gmail.com>
2156
2157 * testsuite/gas/ppc/power4.d: Adjust for removal of section sym.
2158 * testsuite/gas/ppc/test1elf32.d: Likewise.
2159 * testsuite/gas/ppc/test1elf64.d: Likewise.
2160
705989f1
L
21612021-01-18 H.J. Lu <hongjiu.lu@intel.com>
2162
2163 PR gas/27195
2164 * dwarf2dbg.c (dwarf2_gen_line_info): Set dwarf_level to 5 if
2165 needed.
2166 (dwarf2_directive_filename): Likewise.
2167 (dwarf2_directive_loc): Likewise.
2168 * testsuite/gas/elf/dwarf-5-file0.d: Pass --gdwarf-3.
2169 * testsuite/gas/lns/lns-diag-1.l: Remove the
2170 "Error: file number less than one" errors.
2171
44365e88
AM
21722021-01-18 Alan Modra <amodra@gmail.com>
2173
2174 PR 27198
2175 * config/tc-i386.c (need_plt32_p): Return FALSE for NULL symbol.
2176 * testsuite/gas/i386/pr27198.d,
2177 * gas/testsuite/gas/i386/pr27198.err,
2178 * gas/testsuite/gas/i386/pr27198.s: New test.
2179 * gas/testsuite/gas/i386/i386.exp: Run it.
2180
1942a048
NC
21812021-01-15 Nelson Chu <nelson.chu@sifive.com>
2182
2183 * config/tc-riscv.c: Indent and GNU coding standards tidy,
2184 also aligned the code.
2185 * config/tc-riscv.h: Likewise.
2186
b800637e
NC
21872021-01-15 Nelson Chu <nelson.chu@sifive.com>
2188
2189 * config/tc-riscv.c: Error and warning messages tidy.
2190 * testsuite/gas/riscv/priv-reg-fail-fext.l: Updated.
2191 * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
2192 * testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise.
2193 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
2194 * testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
2195 * testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
2196 * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
2197
dcd709e0
NC
21982021-01-15 Nelson Chu <nelson.chu@sifive.com>
2199
2200 * config/tc-riscv.c: Comments tidy and improvement. Also update
2201 comment "fallthru" to "Fall through" that end with a period and
2202 two spaces.
2203
5fda40b2
MF
22042021-01-14 Mike Frysinger <vapier@gentoo.org>
2205
2206 * doc/as.texi: Delete @ifset ELF wrapping around [248]byte entries.
2207 Delete warning that these are only available with ELF targets.
2208 * obj-elf.c (elf_pseudo_table): Move 2byte/4byte/8byte entries ...
2209 * read.c (potable): ... here.
2210
abad2815
MF
22112021-01-14 Mike Frysinger <vapier@gentoo.org>
2212
2213 * Makefile.am (bfin-lex-wrapper.@OBJEXT@): Delete $(NO_WERROR).
2214 * Makefile.in: Regenerated.
2215
adb0bd8f
MF
22162021-01-14 Mike Frysinger <vapier@gentoo.org>
2217
2218 * bfin-lex.l (YY_NO_INPUT, YY_NO_UNPUT): Define.
2219 (parse_int): Mark char_bag const.
2220
844bf810
L
22212021-01-13 H.J. Lu <hongjiu.lu@intel.com>
2222
2223 PR gas/27178
2224 * config/tc-i386.c (lex_got::gotrel): Add need_GOT_symbol.
2225 Don't generate GOT_symbol for PLT relocations.
2226 * testsuite/gas/i386/i386.exp: Run PR gas/27178 tests.
2227 * testsuite/gas/i386/no-got.d: New file.
2228 * testsuite/gas/i386/no-got.s: Likewise.
2229 * testsuite/gas/i386/x86-64-no-got.d: Likewise.
2230 * testsuite/gas/i386/x86-64-no-got.s: Likewise.
2231
5347ed60
AM
22322021-01-13 Alan Modra <amodra@gmail.com>
2233
2234 * Makefile.in: Regenerate.
2235 * Makefile.in: Regenerate.
2236
d546b610
L
22372021-01-12 H.J. Lu <hongjiu.lu@intel.com>
2238
2239 PR binutils/26792
2240 * configure.ac: Use GNU_MAKE_JOBSERVER.
2241 * aclocal.m4: Regenerated.
2242 * configure: Likewise.
2243
6d104cac
NC
22442021-01-12 Nick Clifton <nickc@redhat.com>
2245
2246 * po/fr.po: Updated French translation.
2247
83b33c6c
L
22482021-01-11 H.J. Lu <hongjiu.lu@intel.com>
2249
2250 PR ld/27173
2251 * configure: Regenerated.
2252
82c70b08
KT
22532021-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2254
2255 * NEWS: Remove CSRE.
2256 * config/tc-aarch64.c (parse_csr_operand): Delete.
2257 (parse_operands): Delete handling of
2258 AARCH64_OPND_CSRE_CSR.
2259 (aarch64_features): Remove csre.
2260 * doc/c-aarch64.texi: Remove CSRE.
2261 * testsuite/gas/aarch64/csre.d: Delete.
2262 * testsuite/gas/aarch64/csre-invalid.s: Likewise.
2263 * testsuite/gas/aarch64/csre-invalid.d: Likewise.
2264 * testsuite/gas/aarch64/csre_csr.s: Likewise.
2265 * testsuite/gas/aarch64/csre_csr.d: Likewise.
2266 * testsuite/gas/aarch64/csre_csr-invalid.s: Likewise.
2267 * testsuite/gas/aarch64/csre_csr-invalid.l: Likewise.
2268 * testsuite/gas/aarch64/csre_csr-invalid.d: Likewise.
2269
a8aa72b9
NC
22702021-01-11 Nick Clifton <nickc@redhat.com>
2271
2272 * po/uk.po: Updated Ukranian translation.
2273
a4966cd9
L
22742021-01-09 H.J. Lu <hongjiu.lu@intel.com>
2275
2276 * configure: Regenerated.
2277
573fe3fb
NC
22782021-01-09 Nick Clifton <nickc@redhat.com>
2279
2280 * configure: Regenerate.
2281 * po/gas.pot: Regenerate.
2282
055bc77a
NC
22832021-01-09 Nick Clifton <nickc@redhat.com>
2284
2285 * 2.36 release branch crated.
2286
aae7fcb8
PB
22872021-01-08 Peter Bergner <bergner@linux.ibm.com>
2288
2289 * testsuite/gas/ppc/rop-checks.d,
2290 * testsuite/gas/ppc/rop-checks.l,
2291 * testsuite/gas/ppc/rop-checks.s,
2292 * testsuite/gas/ppc/rop.d,
2293 * testsuite/gas/ppc/rop.s: New tests.
2294 * testsuite/gas/ppc/ppc.exp: Run them.
2295
64307045
AM
22962021-01-09 Alan Modra <amodra@gmail.com>
2297
2298 * configure: Regenerate.
2299
f4782128
ST
23002021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
2301
2302 * configure: Regenerate.
2303
d1bcae83
L
23042021-01-07 H.J. Lu <hongjiu.lu@intel.com>
2305
2306 PR 27109
2307 * read.c (s_reloc): Call symbol_mark_used_in_reloc on the
2308 section symbol.
2309 * subsegs.c (subseg_set_rest): Set BSF_SECTION_SYM_USED if needed.
2310 * write.c (adjust_reloc_syms): Call symbol_mark_used_in_reloc
2311 on the section symbol.
2312 (set_symtab): Don't generate unused section symbols.
2313 (maybe_generate_build_notes): Call symbol_mark_used_in_reloc
2314 on the section symbol.
2315 * config/obj-elf.c (elf_adjust_symtab): Call
2316 symbol_mark_used_in_reloc on the group signature symbol.
2317 * testsuite/gas/cfi/cfi-label.d: Remove unused section symbols
2318 from expected output.
2319 * testsuite/gas/elf/elf.exp (run_elf_list_test): Check
2320 is_elf_unused_section_symbols.
2321 * testsuite/gas/elf/section2.e: Updated.
2322 * testsuite/gas/elf/section2.e-unused: New file.
2323 * testsuite/gas/elf/symver.d: Remove unused section symbols.
2324 * testsuite/gas/i386/ilp32/elf/symver.d: Likewise.
2325 * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
2326 * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
2327 * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
2328 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
2329 * testsuite/gas/i386/size-1.d: Likewise.
2330 * testsuite/gas/i386/size-3.d: Likewise.
2331 * testsuite/gas/i386/svr4.d: Likewise.
2332 * testsuite/gas/i386/x86-64-size-1.d: Likewise.
2333 * testsuite/gas/i386/x86-64-size-3.d: Likewise.
2334 * testsuite/gas/i386/x86-64-size-5.d: Likewise.
2335 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2336
aa881ecd
PT
23372021-01-07 Philipp Tomsich <prt@gnu.org>
2338
2339 * config/tc-riscv.c (riscv_multi_subset_supports): Added
2340 INSN_CLASS_ZIHINTPAUSE.
2341 * testsuite/gas/riscv/pause.d: New testcase. Adding coverage for
2342 the pause hint instruction.
2343 * testsuite/gas/riscv/pause.s: Likewise.
2344
2652cfad
CXW
23452021-01-07 Claire Xenia Wolf <claire@symbioticeda.com>
2346 Jim Wilson <jimw@sifive.com>
2347 Andrew Waterman <andrew@sifive.com>
2348 Maxim Blinov <maxim.blinov@embecosm.com>
2349 Kito Cheng <kito.cheng@sifive.com>
2350 Nelson Chu <nelson.chu@sifive.com>
2351
2352 * config/tc-riscv.c (riscv_multi_subset_supports): Handle INSN_CLASS_ZB*.
2353 (riscv_get_default_ext_version): Do not check the default_isa_spec when
2354 the version defined in the riscv_opcodes table is ISA_SPEC_CLASS_DRAFT.
2355 * testsuite/gas/riscv/bitmanip-insns-32.d: New testcase.
2356 * testsuite/gas/riscv/bitmanip-insns-64.d: Likewise.
2357 * testsuite/gas/riscv/bitmanip-insns.s: Likewise.
2358
85f55c2b
AM
23592021-01-06 Alan Modra <amodra@gmail.com>
2360
2361 * testsuite/gas/sparc/sparc.exp: Move 64-bit tests inside gas_64_check.
2362
22206e84
AM
23632021-01-06 Alan Modra <amodra@gmail.com>
2364
2365 * testsuite/gas/macros/app1.d: xfail tic30.
2366 * testsuite/gas/macros/app2.d: Likewise.
2367 * testsuite/gas/macros/app3.d: Likewise.
2368 * testsuite/gas/macros/app4.d: Likewise.
2369
286d2f2c
MC
23702021-01-06 Marcus Comstedt <marcus@mc.pp.se>
2371
2372 * doc/as.texi: Add -mlittle-endian and -mbig-endian to docs.
2373 * doc/c-riscv.texi: Likewise.
2374
f36ce378
MC
23752021-01-06 Marcus Comstedt <marcus@mc.pp.se>
2376
2377 * testsuite/gas/riscv/li32.d: Accept bigriscv in addition
2378 to littleriscv.
2379 * testsuite/gas/riscv/li64.d: Likewise.
2380 * testsuite/gas/riscv/lla32.d: Likewise.
2381 * testsuite/gas/riscv/lla64.d: Likewise.
2382 * testsuite/gas/riscv/march-ok-g2.d: Likewise.
2383 * testsuite/gas/riscv/march-ok-g2_p1.d: Likewise.
2384 * testsuite/gas/riscv/march-ok-g2p0.d: Likewise.
2385 * testsuite/gas/riscv/march-ok-i2p0.d: Likewise.
2386 * testsuite/gas/riscv/march-ok-i2p0m2_a2f2.d: Likewise.
2387 * testsuite/gas/riscv/march-ok-nse-with-version.d: Likewise.
2388 * testsuite/gas/riscv/march-ok-two-nse.d: Likewise.
2389
fbc09e7a
MC
23902021-01-06 Marcus Comstedt <marcus@mc.pp.se>
2391
2392 * config/tc-riscv.c (riscv_target_format): Add elf64-bigriscv and
2393 elf32-bigriscv.
2394 (install_insn): Always write instructions as little endian.
2395 (riscv_make_nops): Likewise.
2396 (md_convert_frag_branch): Likewise.
2397 (md_number_to_chars): Write data in target endianness.
2398 (options, md_longopts): Add -mbig-endian and -mlittle-endian options.
2399 (md_parse_option): Handle the endian options.
2400 * config/tc-riscv.h: Only define TARGET_BYTES_BIG_ENDIAN if not
2401 already defined.
2402 * configure.tgt: Added riscv64be*, riscv32be*, riscvbe*.
2403
cd6d537c
L
24042021-01-04 H.J. Lu <hongjiu.lu@intel.com>
2405
2406 PR ld/26256
2407 * config/obj-elf.c (obj_elf_change_section): Also filter out
2408 SHF_LINK_ORDER.
2409
dd933805
AM
24102021-01-04 Alan Modra <amodra@gmail.com>
2411
2412 PR 27102
2413 * symbols.c (S_SET_EXTERNAL): Revise section symbol warning
2414 message and register symbol error message.
2415
90320e40
AM
24162021-01-04 Alan Modra <amodra@gmail.com>
2417
2418 PR 27101
2419 * read.c (s_align): Use a large enough type for "align" to hold
2420 the result of get_absolute_expression.
2421
f9a6a8f0
AM
24222021-01-01 Nicolas Boulenguez <nicolas@debian.org>
2423
2424 * config/tc-i386.c: Correct comment spelling.
2425 * config/tc-riscv.c: Likewise.
2426 * config/tc-s390.c: Correct comment grammar.
2427 * doc/c-i386.texi: Correct spelling.
2428 * doc/c-s390.texi: Correct grammar.
2429
250d07de
AM
24302021-01-01 Alan Modra <amodra@gmail.com>
2431
2432 Update year range in copyright notice of all files.
2433
64d05a43
HPN
24342021-01-01 Hans-Peter Nilsson <hp@bitrange.com>
2435
2436 * config/tc-mmix.h (md_single_noop_insn): Change to "swym 0".
2437
c2795844 2438For older changes see ChangeLog-2020
3499769a 2439\f
c2795844 2440Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
2441
2442Copying and distribution of this file, with or without modification,
2443are permitted in any medium without royalty provided the copyright
2444notice and this notice are preserved.
2445
2446Local Variables:
2447mode: change-log
2448left-margin: 8
2449fill-column: 74
2450version-control: never
2451End: