]> Git Repo - binutils.git/blame - gas/ChangeLog
support generating multi-html pages in parallel
[binutils.git] / gas / ChangeLog
CommitLineData
cf758b39
MF
12021-05-08 Mike Frysinger <[email protected]>
2
3 * doc/Makefile.am (html-local, as/index.html): New targets.
4 * doc/Makefile.in: Regenerate.
5
2faf902d
MF
62021-05-08 Mike Frysinger <[email protected]>
7
8 * doc/Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
9 * doc/Makefile.in: Regenerate.
10
476654be
NC
112021-05-07 Nick Clifton <[email protected]>
12
13 PR 3136
14 * config/obj-elf.c (elf_pseudo_table): Add entry for .bss.
15 (obj_elf_bss): New function. Change to the .bss section.
16 Support an optional subsection number.
17 (obj_elf_change_section): Call obj_elf_section_change_hook.
18 (obj_elf_section): Likewise.
19 (obj_elf_data): Likewise.
20 (obj_elf_text): Likewise.
21 (obj_elf_struct): Likewise.
22 (obj_elf_subsection): Likewise.
23 (obj_elf_previous): Likewise.
24 * config/obj-elf.h (obj_elf_bss): Prototype.
25 * doc/as.texi (Bss): New node.
26
97834047
CC
272021-05-07 Clément Chigot <[email protected]>
28
29 * config/obj-coff.c (coff_frob_symbol): Don't skip C_DWARF.
30 (coff_adjust_section_syms): Use corrext auxent for C_DWARF.
31 (coff_frob_section): Likewise.
32 * config/obj-coff.h (SA_GET_SECT_SCNLEN,
33 SA_GET_SECT_NRELOC, SA_SET_SECT_SCNLEN,
34 SA_SET_SECT_NRELOC) New defines.
35 (SET_SECTION_RELOCS): Adjust for C_DWARF.
36 * config/tc-ppc.c (ppc_frob_symbol): Don't skip C_DWARF.
37 (ppc_adjust_symtab): Reorder C_DWARF symbols.
38 * testsuite/gas/ppc/aix.exp: New tests.
39 * testsuite/gas/ppc/xcoff-dwsect-2-32.d: New test.
40 * testsuite/gas/ppc/xcoff-dwsect-2-64.d: New test.
41 * testsuite/gas/ppc/xcoff-dwsect-2.s: New test.
42
43 * config/tc-ppc.c (ppc_function): Update comment for
44 fifth argument.
45 (ppc_frob_symbol): Remove ppc_last_function check.
46 Make sure coff_last_function is reset.
47 Correctly set fsize when not provided in .function.
48 * testsuite/gas/ppc/aix.exp: New tests.
49 * testsuite/gas/ppc/xcoff-function-1-32.d: New test.
50 * testsuite/gas/ppc/xcoff-function-1-64.d: New test.
51 * testsuite/gas/ppc/xcoff-function-1.s: New test.
52
17c6c3b9
JB
532021-05-07 Jan Beulich <[email protected]>
54
55 * testsuite/gas/i386/rela.s, testsuite/gas/i386/rela.d: New.
56 * testsuite/gas/i386/i386.exp: Run new test.
57
98da05bf
JB
582021-05-07 Jan Beulich <[email protected]>
59
60 * config/tc-i386.c (output_disp): Use disps field instead of
61 imms one.
62
9aac24b1
JB
632021-05-07 Jan Beulich <[email protected]>
64
65 * config/tc-i386.c (i386_finalize_immediate): Move register
66 check ...
67 (i386_immediate): ... here.
68
87ed972d
JB
692021-05-07 Jan Beulich <[email protected]>
70
71 * config/tc-i386.c (optimize_imm): Drop redundant masking.
72 Re-arrange operand type accumulation.
73
0b3e14c9
SH
742021-05-06 Stafford Horne <[email protected]>
75
76 PR 21464
77 * testsuite/gas/or1k/reloc-1.s: Add test for new relocation.
78 * testsuite/gas/or1k/reloc-1.d: Add test result for new
79 relocation.
80
7b06fcf5
JW
812021-05-03 Christoph Muellner <[email protected]>
82
83 PR 27764
84 * testsuite/gas/riscv/a-ext-64.d: New testcase.
85 * testsuite/gas/riscv/a-ext-64.s: Likewise.
86 * testsuite/gas/riscv/a-ext.d: Likewise.
87 * testsuite/gas/riscv/a-ext.s: Likewise.
88
5e0a033b
JB
892021-05-03 Jan Beulich <[email protected]>
90
91 * config/tc-i386.h (TC_PARSE_CONS_EXPRESSION): Adjust surrounding
92 #if.
93 * testsuite/gas/i386/secrel.s: Convert some .secrel32 to .long.
94 Add two further .long and an .equ.
95 * testsuite/gas/i386/secrel.d: Adjust expecations.
96
3e301ce0
JB
972021-05-03 Jan Beulich <[email protected]>
98
99 * testsuite/gas/i386/secrel.d, testsuite/gas/i386/secrel.s:
100 Convert Windows to UNIX EOL.
101
deea4973
JB
1022021-05-03 Jan Beulich <[email protected]>
103
104 * config/tc-i386.c (lex_got): Adjust surrounding #if. Fold TE_PE
105 variant into ELF one.
106
db543a7d
AM
1072021-05-03 Alan Modra <[email protected]>
108
109 * testsuite/gas/elf/section25.s: Don't start directives in first
110 column.
111 * testsuite/gas/elf/section26.s: Likewise.
112
a2443c89
JB
1132021-04-29 Jan Beulich <[email protected]>
114
115 * testsuite/gas/i386/i386.exp: Move x86-64-rip-2 invocation.
116 * testsuite/gas/i386/lea64.d,
117 testsuite/gas/i386/lea64-optimize.d: Allow for COFF relocs.
118 * testsuite/gas/i386/x86-64-rip-inval-1.s,
119 testsuite/gas/i386/x86-64-rip-inval-2.s. Add .end.
120
3abbafc2
JB
1212021-04-29 Jan Beulich <[email protected]>
122
123 * config/tc-i386.c (i386_validate_fix): Change return type to
124 int. Short-circuit BFD_RELOC_SIZE* handling.
125 (tc_gen_reloc): New local variable sym. Extend logic when
126 processing BFD_RELOC_SIZE*.
127 * config/tc-i386.f (i386_validate_fix): Change return type to
128 int.
129 (TC_VALIDATE_FIX): Proceed to SKIP when i386_validate_fix()
130 returns zero.
131 * testsuite/gas/i386/size-5.s, testsuite/gas/i386/size-5a.d,
132 testsuite/gas/i386/size-5b.d: New.
133 * testsuite/gas/i386/i386.exp: Run new tests.
134
44f87162
JB
1352021-04-29 Jan Beulich <[email protected]>
136
137 * config/tc-i386.c (tc_gen_reloc): Use section size for section
138 symbols when resolving BFD_RELOC_SIZE*.
139 * testsuite/gas/i386/size-2.s: Add section size cases.
140 * testsuite/gas/i386/size-2.d,
141 testsuite/gas/i386/x86-64-size-2.d: Adjust expectations.
142
eb19308f
JB
1432021-04-28 Jan Beulich <[email protected]>
144 H.J. Lu <[email protected]>
145
146 PR gas/27763
147 * config/tc-i386.c (output_jump): Also mark 2-byte relocs as
148 signed for XBEGIN. Also mark 4-byte relocs as signed for 64-bit.
149 (output_disp): Also mark 4-byte relocs as signed for 64-bit.
150 (md_estimate_size_before_relax): Move local variable fixP. Set
151 it from fix_new() return values. Mark 4-byte relocs as signed
152 for 64-bit.
153 * testsuite/gas/i386/pcrel64.s, testsuite/gas/i386/pcrel64.l,
154 * testsuite/gas/i386/x86-64-rip-2.s,
155 * testsuite/gas/i386/x86-64-rip-2.d,
156 * testsuite/gas/i386/x86-64-rip-inval-1.s,
157 * testsuite/gas/i386/x86-64-rip-inval-1.l,
158 * testsuite/gas/i386/x86-64-rip-inval-2.s,
159 * testsuite/gas/i386/x86-64-rip-inval-2.l: New.
160 * testsuite/gas/i386/i386.exp: Run new tests.
161
60cfa10c
L
1622021-04-27 H.J. Lu <[email protected]>
163
164 * config/tc-i386.c (optimize_encoding): Add () to silence GCC 5.
165
8fb88245
JB
1662021-04-26 Jan Beulich <[email protected]>
167
168 * config/tc-i386.c (tc_gen_reloc): Check IS_ELF for
169 BFD_RELOC_SIZE*.
170
d965814f
JB
1712021-04-26 Jan Beulich <[email protected]>
172
173 * config/tc-i386.c (tc_gen_reloc): Limit BFD_RELOC_SIZE32
174 overflow check to 64-bit objects.
175
fe134c65
JB
1762021-04-26 Jan Beulich <[email protected]>
177
178 * config/tc-i386.c (want_disp32): Also check for SIZE32.
179 (optimize_encoding): Handle LEA.
180 * testsuite/gas/i386/lea.s, testsuite/gas/i386/lea.d,
181 testsuite/gas/i386/lea.e, testsuite/gas/i386/lea-optimize.d:
182 Add many more forms.
183 * testsuite/gas/i386/lea16.s, testsuite/gas/i386/lea16-optimize.d,
184 testsuite/gas/i386/lea64.s, testsuite/gas/i386/lea64.d,
185 testsuite/gas/i386/lea64.e, testsuite/gas/i386/lea64-optimize.d:
186 New.
187 * testsuite/gas/i386/i386.exp: Run new tests.
188
b8188555
JB
1892021-04-26 Jan Beulich <[email protected]>
190
191 * config/tc-i386.c (md_apply_fix): Mark BFD_RELOC_X86_64_32S as
192 signed.
193 * testsuite/gas/i386/x86-64-addr32-bad.s,
194 testsuite/gas/i386/x86-64-addr32-bad.l: New.
195 * testsuite/gas/i386/i386.exp: Run new test.
196
f5e98b7d
EB
1972021-04-23 Eric Botcazou<[email protected]>
198
199 * testsuite/gas/elf/section25.d: Run it everywhere.
200 * testsuite/gas/elf/section26.d: Likewise.
201 * testsuite/gas/elf/section26.s: Add test for .persistent.bss.
202
d039200a
G
2032021-04-23 Jérôme Gardou <[email protected]>
204
205 * config/obj-coff-seh.c (obj_coff_seh_pushframe): Allow an
206 optional "code" argument.
207
a9aabc23
JB
2082021-04-23 Jan Beulich <[email protected]>
209
210 * config/tc-i386.c (want_disp32): New.
211 (md_assemble): Use it.
212 (optimize_disp): Likewise.
213 (build_modrm_byte): Likewise.
214
cce08655
JB
2152021-04-23 Jan Beulich <[email protected]>
216
217 * config/tc-i386.c (i386_finalize_displacement): Move Disp32S
218 check ...
219 (md_assemble): ... here.
220
28a167a4
JB
2212021-04-23 Jan Beulich <[email protected]>
222
223 * config/tc-i386.c (optimize_disp): Move down BFD64 section.
224 Move up setting of disp32.
225
7b025ee8
JB
2262021-04-23 Jan Beulich <[email protected]>
227
228 * config/tc-i386.c (pe): Don't truncate expression value.
229 (i386_finalize_displacement): Likewise.
230
23356397
NC
2312021-04-21 Nick Clifton <[email protected]>
232
233 * testsuite/gas/aarch64/dwarf.d: Adjust expected output to allow
234 for named section symbols.
235 * testsuite/gas/arm/thumbver.d: Likewise.
236 * testsuite/gas/bfin/loop_temps.d: Likewise.
237 * testsuite/gas/elf/section2.e-arc: Likewise.
238 * testsuite/gas/elf/section2.e-arm: Likewise.
239 * testsuite/gas/elf/section2.e-csky: Likewise.
240 * testsuite/gas/elf/section2.e-m32r: Likewise.
241 * testsuite/gas/elf/section2.e-mips: Likewise.
242 * testsuite/gas/elf/section2.e-msp430: Likewise.
243 * testsuite/gas/elf/section2.e-riscv: Likewise.
244 * testsuite/gas/elf/section2.e-rl78: Likewise.
245 * testsuite/gas/elf/section2.e-rx: Likewise.
246 * testsuite/gas/elf/section2.e-score: Likewise.
247 * testsuite/gas/elf/section2.e-tic6x: Likewise.
248 * testsuite/gas/elf/section2.e-unused: Likewise.
249 * testsuite/gas/elf/section2.e-v850: Likewise.
250 * testsuite/gas/elf/section2.e-xtensa: Likewise.
251 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
252 * testsuite/gas/ia64/alias.d: Likewise.
253 * testsuite/gas/ia64/global.d: Likewise.
254 * testsuite/gas/microblaze/relax_size.elf: Likewise.
255 * testsuite/gas/microblaze/relax_size2.elf: Likewise.
256 * testsuite/gas/mips/global-local-symtab-sort-n64t.d: Likewise.
257 * testsuite/gas/mips/global-local-symtab-sort-o32t.d: Likewise.
258 * testsuite/gas/mmix/bspec-1.d: Likewise.
259 * testsuite/gas/mmix/byte-1.d: Likewise.
260 * testsuite/gas/mmix/comment-1.d: Likewise.
261 * testsuite/gas/mmix/loc-1.d: Likewise.
262 * testsuite/gas/mmix/loc-2.d: Likewise.
263 * testsuite/gas/mmix/loc-3.d: Likewise.
264 * testsuite/gas/mmix/loc-4.d: Likewise.
265 * testsuite/gas/mmix/loc-5.d: Likewise.
266 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
267
c5df7e44
CC
2682021-04-20 Clément Chigot <[email protected]>
269
270 PR binutils/21700
271 * config/tc-ppc.c (ppc_get_csect_to_adjust): New function.
272 (ppc_fix_adjustable): Manage fx_subsy part.
273 (tc_gen_reloc): Create second relocation when both
274 fx_addsy and fx_subsy are provided.
275 * config/tc-ppc.h (RELOC_EXPANSION_POSSIBLE): New define.
276 (MAX_RELOC_EXPANSION): Likewise.
277 (TC_FORCE_RELOCATION_SUB_SAME): Likewise
278 (UNDEFINED_DIFFERENCE_OK): Likewise
279 * testsuite/gas/all/gas.exp: Skip difference between two
280 undefined symbols test.
281
8d6502d2
NC
2822021-04-19 Nick Clifton <[email protected]>
283
284 * testsuite/gas/all/gas.exp: Add rs6000*-*-aix* to the list of
285 targets which should skip the undefined symbols test.
286
02202574
PW
2872021-04-19 Przemyslaw Wirkus <[email protected]>
288
289 * NEWS: Update news.
290 * testsuite/gas/aarch64/rme.d: Update test.
291 * testsuite/gas/aarch64/rme.s: Update test.
292
cd6608e4
PW
2932021-04-19 Przemyslaw Wirkus <[email protected]>
294
295 * testsuite/gas/aarch64/rme.d: Update test.
296 * testsuite/gas/aarch64/rme.s: Update test.
297
9a8041fd
JB
2982021-04-19 Jan Beulich <[email protected]>
299
300 * as.h (sprint_value): Delete.
301 * messages.c (sprint_value): Likewise.
302 * config/tc-i386.c (offset_in_range): Use bfd_sprintf_vma in
303 place of sprint_value.
304 * config/tc-s390.c (s390_insert_operand): Likewise.
305 * doc/internals.texi (sprint_value): Delete section.
306 * write.c (fixup_segment): Likewise.
307 (relax_segment): Likewise.
308
100e914d
PW
3092021-04-16 Przemyslaw Wirkus <[email protected]>
310
311 * testsuite/gas/aarch64/rme-invalid.d: New test.
312 * testsuite/gas/aarch64/rme-invalid.l: New test.
313 * testsuite/gas/aarch64/rme-invalid.s: New test.
314 * testsuite/gas/aarch64/rme.d: New test.
315 * testsuite/gas/aarch64/rme.s: New test.
316
768589d1
NC
3172021-04-16 Nelson Chu <[email protected]>
318
319 PR 27436
320 * config/tc-riscv.c (riscv_ip): make operand C> work the same as >.
321 * testsuite/gas/riscv/shamt-32.d: New testcase.
322 * testsuite/gas/riscv/shamt-32.l: Likewise.
323 * testsuite/gas/riscv/shamt-32.s: Likewise.
324 * testsuite/gas/riscv/shamt-64.d: Likewise.
325 * testsuite/gas/riscv/shamt-64.l: Likewise.
326 * testsuite/gas/riscv/shamt-64.s: Likewise.
327
a21b96dd
NC
3282021-04-16 Lifang Xia <[email protected]>
329
330 * testsuite/gas/riscv/c-zero-imm.d: Compress addi a4,a4,0 to
331 c.mv a4,a4.
332 * testsuite/gas/riscv/c-zero-imm.s: Likewise.
333
d20eb466
AM
3342021-04-14 Alan Modra <[email protected]>
335
336 PR 27723
337 * dw2gencfi.c (initial_cie_insn): New function, extracted from..
338 (select_cie_for_fde): ..here. Simplify.
339
c159f352
AM
3402021-04-14 Alan Modra <[email protected]>
341
342 PR 27723
343 * dw2gencfi.c (select_cie_for_fde): Handle DW_CFA_val_offset,
344 DW_CFA_GNU_window_save and DW_CFA_restore_state.
345
4bb920c6
AM
3462021-04-13 Alan Modra <[email protected]>
347
348 * testsuite/gas/m68hc11/m68hc11.exp (gas_m68hc11_message): Don't
349 write to $srcdir. Use gas_host_run and read output file rather
350 than gas_start/gas_finish.
351
32d71569
AM
3522021-04-12 Alan Modra <[email protected]>
353
354 * config/tc-ppc.c (insn_validate): Use uint64_t for operand values.
355 (md_assemble): Likewise. Handle bignum operands.
356 (ppc_elf_suffix): Handle O_big. Remove unnecessary input_line_pointer
357 check.
358 * expr.c: Delete unnecessary forward declarations.
359 (generic_bignum_to_int32): Return uint32_t.
360 (generic_bignum_to_int64): Return uint64_t. Compile always.
361 (operand): Twiddle X_extrabit for unary '~'. Set X_unsigned and
362 clear X_extrabit for unary '!'.
363 * expr.h (generic_bignum_to_int32): Declare.
364 (generic_bignum_to_int64): Declare.
365 * testsuite/gas/ppc/prefix-pcrel.s,
366 * testsuite/gas/ppc/prefix-pcrel.d: Add more instructions.
367
e601909a
NC
3682021-04-12 Nelson Chu <[email protected]>
369
370 * testsuite/gas/riscv/march-fail-order-x-std.d: Renamed from
371 march-fail-porder-x-std.d.
372 * testsuite/gas/riscv/march-fail-order-z-std.d: Renamed from
373 march-fail-porder-z-std.d.
374 * testsuite/gas/riscv/march-fail-order-x-z.d: Renamed from
375 march-fail-porder-x-z.d.
376 * testsuite/gas/riscv/march-fail-order-zx-std.l: Added to replace
377 march-fail-porder.l.
378 * testsuite/gas/riscv/march-fail-order-x-z.l: Likewise.
379 * testsuite/gas/riscv/march-fail-order-x.l: Updated.
380 * testsuite/gas/riscv/march-fail-order-z.l: Likewise.
381 * testsuite/gas/riscv/march-fail-single-prefix-h.d: Renamed from
382 march-fail-single-char-h.d.
383 * testsuite/gas/riscv/march-fail-single-prefix-s.d: Renamed from
384 march-fail-single-char-s.d.
385 * testsuite/gas/riscv/march-fail-single-prefix-x.d: Renamed from
386 march-fail-single-char-x.d.
387 * testsuite/gas/riscv/march-fail-single-prefix-z.d: Renamed from
388 march-fail-single-char-z.d.
389 * testsuite/gas/riscv/march-fail-single-prefix-zmx.d: Added.
390 * testsuite/gas/riscv/march-fail-single-prefix.l: Added to replace
391 march-fail-single-prefix.l.
392 * testsuite/gas/riscv/march-fail-unknown-zxm.d: Added.
393 * testsuite/gas/riscv/march-fail-unknown-std.l: Updated.
394 * testsuite/gas/riscv/march-fail-unknown.l: Likewise.
395
dd170203
TB
3962021-04-09 Tejas Belagod <[email protected]>
397
32d71569
AM
398 * config/tc-aarch64.c (warn_unpredictable_ldst): Clean-up
399 diagnostic messages for LD/ST Exclusive instructions.
dd170203 400 * testsuite/gas/aarch64/diagnostic.s: Add a diagnostic test for STLXP.
32d71569
AM
401 * testsuite/gas/aarch64/diagnostic.l: Fix-up test after message
402 clean-up.
dd170203 403
c3f72de4
AM
4042021-04-09 Alan Modra <[email protected]>
405
406 * testsuite/gas/ppc/prefix-pcrel.d: Update expected output.
407 * testsuite/gas/ppc/prefix-reloc.d: Likewise.
408 * gas/testsuite/gas/ppc/vsx_32byte.d: Likewise.
409
97bf40d8
AM
4102021-04-08 Alan Modra <[email protected]>
411
412 * testsuite/gas/ppc/pr27676.d,
413 * testsuite/gas/ppc/pr27676.s: New test.
414 * testsuite/gas/ppc/ppc.exp: Run it.
415 * testsuite/gas/ppc/dcbt.d: Update.
416 * testsuite/gas/ppc/power4_32.d: Update.
417
b12389f2
AM
4182021-04-07 Alan Modra <[email protected]>
419
420 PR 27217
421 * testsuite/gas/aarch64/pr27217.d: Correct name. Accept ilp32 relocs.
422
eac4eb8e
NC
4232021-04-06 Nick Clifton <[email protected]>
424
425 PR 27217
426 * config/tc-aarch64.c (my_get_expression): Rename to
427 aarch64_get_expression. Add a fifth argument to enable deferring
428 of expression resolution.
429 (parse_typed_reg): Update calls to my_get_expression.
430 (parse_vector_reg_list): Likewise.
431 (parse_immediate_expression): Likewise.
432 (parse_big_immediate): Likewise.
433 (parse_shift): Likewise.
434 (parse_shifter_operand_imm): Likewise.
435 (parse_operands): Likewise.
436 (parse_shifter_operand_reloc): Update calls to my_get_expression
437 and call aarch64_force_reloc to determine the value of the new
438 fifth argument.
439 (parse_address_main): Likewise.
440 (parse_half): Likewise.
441 (parse_adrp): Likewise.
442 (aarch64_force_reloc): New function. Contains code extracted from...
443 (aarch64_force_relocation): ... here.
444 * testsuite/gas/aarch64/pr27217.s: New test case.
445 * testsuite/gas/aarch64/pr27217.d: New test driver.
446
da0835ae
JB
4472021-04-06 Jan Beulich <[email protected]>
448
449 * write.c (fixup_segment): Move add_symbol_segment declaration
450 into main loop.
451
23d61380
AM
4522021-04-05 Alan Modra <[email protected]>
453
454 * configure.ac: Don't check for string.h, strings.h, stdlib.h,
455 errno.h, limits.h, locale.h or time.h. Don't check for unlink,
456 remove, sbrk (unused) or setlocale. Adjust gas_test_headers.
457 Don't check for errno, free, malloc, realoc, sbrk, strstr, getenv
458 strstr, or vsnprintf declarations.
459 (AC_ISC_POSIX, AC_FUNC_ALLOCA, AC_C_INLINE): Don't invoke.
460 * as.h: Don't include alloca-conf.h, include config.h instead.
461 Include string.h, stdlib.h, errno.h unconditionally. Remove
462 various fallback declarations.
463 * asintl.h: Don't test HAVE_LOCALE_H.
464 * as.c: Don't test HAVE_SETLOCALE.
465 * dwarf2dbg.c: Include limits.h unconditionally.
466 * expr.c: Likewise.
467 * sb.c: Likewise.
468 * symbols.c: Likewise.
469 * config/tc-cr16.c: Likewise.
470 * config/tc-d30v.c: Likewise.
471 * config/tc-i386.c: Likewise.
472 * config/tc-ia64.c: Likewise.
473 * config/tc-tic54x.c (tic54x_mlib): Call remove rather than unlink.
474 * config.in: Regenerate.
475 * configure: Regenerate.
476 * Makefile.in: Regenerate.
477 * doc/Makefile.in: Regenerate.
478
e9b095a5
ML
4792021-04-01 Martin Liska <[email protected]>
480
481 * config/obj-coff.c (strneq): Remove strneq and use startswith.
482 (weak_is_altname): Likewise.
483 (obj_coff_section): Likewise.
484 * config/tc-cr16.c (process_label_constant): Likewise.
485 * config/tc-crx.c (strneq): Likewise.
486
d34049e8
ML
4872021-04-01 Martin Liska <[email protected]>
488
489 * as.c (select_emulation_mode): Use startswith.
490 * config/m68k-parse.y: Likewise.
491 * config/obj-aout.c (obj_aout_type): Likewise.
492 * config/obj-elf.c (elf_common_parse): Likewise.
493 (obj_elf_section_type): Likewise.
494 (obj_elf_section_word): Likewise.
495 (obj_elf_section): Likewise.
496 (obj_elf_symver): Likewise.
497 (adjust_stab_sections): Likewise.
498 * config/obj-evax.c (evax_shorten_name): Likewise.
499 * config/obj-macho.c (obj_mach_o_is_frame_section): Likewise.
500 * config/tc-aarch64.c (parse_aarch64_imm_float): Likewise.
501 (aarch64_parse_features): Likewise.
502 (create_register_alias): Likewise.
503 (aarch64_data_in_code): Likewise.
504 (md_parse_option): Likewise.
505 * config/tc-alpha.c (s_alpha_section_word): Likewise.
506 (s_alpha_pdesc): Likewise.
507 * config/tc-arc.c (tokenize_extregister): Likewise.
508 * config/tc-arm.c (create_register_alias): Likewise.
509 (create_neon_reg_alias): Likewise.
510 (parse_ifimm_zero): Likewise.
511 (parse_qfloat_immediate): Likewise.
512 (arm_elf_section_type): Likewise.
513 (arm_parse_extension): Likewise.
514 (aeabi_set_public_attributes): Likewise.
515 (s_arm_arch_extension): Likewise.
516 (arm_data_in_code): Likewise.
517 (start_unwind_section): Likewise.
518 * config/tc-avr.c (avr_ldi_expression): Likewise.
519 * config/tc-csky.c (is_freglist_legal): Likewise.
520 (csky_s_section): Likewise.
521 * config/tc-d30v.c (do_assemble): Likewise.
522 * config/tc-dlx.c (parse_operand): Likewise.
523 * config/tc-epiphany.c (md_assemble): Likewise.
524 * config/tc-h8300.c (h8300_elf_section): Likewise.
525 (get_operand): Likewise.
526 * config/tc-hppa.c (pa_ip): Likewise.
527 (pa_level): Likewise.
528 (pa_space): Likewise.
529 * config/tc-i386.c (i386_mach): Likewise.
530 (md_assemble): Likewise.
531 (check_VecOperations): Likewise.
532 (i386_target_format): Likewise.
533 (i386_elf_section_type): Likewise.
534 * config/tc-ia64.c (start_unwind_section): Likewise.
535 (md_parse_option): Likewise.
536 (is_taken_branch): Likewise.
537 (idesc->name,): Likewise.
538 (note_register_values): Likewise.
539 (do_alias): Likewise.
540 * config/tc-m32c.c (insn_to_subtype): Likewise.
541 * config/tc-m68hc11.c (get_operand): Likewise.
542 (md_assemble): Likewise.
543 * config/tc-m68k.c (m68k_ip): Likewise.
544 (m68k_elf_suffix): Likewise.
545 * config/tc-mcore.c (mcore_s_section): Likewise.
546 * config/tc-metag.c (parse_get_set): Likewise.
547 (md_parse_option): Likewise.
548 * config/tc-microblaze.c (parse_imm): Likewise.
549 (check_got): Likewise.
550 (md_apply_fix): Likewise.
551 * config/tc-mips.c (CPU_HAS_MIPS16): Likewise.
552 (md_begin): Likewise.
553 (s_is_linkonce): Likewise.
554 (check_regno): Likewise.
555 (match_float_constant): Likewise.
556 (classify_vr4120_insn): Likewise.
557 (match_insn): Likewise.
558 (mips_after_parse_args): Likewise.
559 (s_change_sec): Likewise.
560 (s_option): Likewise.
561 (parse_code_option): Likewise.
562 (md_section_align): Likewise.
563 (nopic_need_relax): Likewise.
564 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
565 * config/tc-mn10300.c (mn10300_fix_adjustable): Likewise.
566 (mn10300_end_of_match): Likewise.
567 * config/tc-msp430.c (msp430_make_init_symbols): Likewise.
568 * config/tc-nds32.c (nds32_parse_option): Likewise.
569 * config/tc-nds32.h (md_do_align): Likewise.
570 * config/tc-nios2.c (strprefix): Likewise.
571 (nios2_special_relocation_p): Likewise.
572 (nios2_parse_base_register): Likewise.
573 (nios2_cons): Likewise.
574 * config/tc-ns32k.c (addr_mode): Likewise.
575 * config/tc-pdp11.c (set_option): Likewise.
576 (parse_reg): Likewise.
577 (parse_ac5): Likewise.
578 (parse_op_no_deferred): Likewise.
579 (set_cpu_model): Likewise.
580 (set_machine_model): Likewise.
581 * config/tc-pj.c (md_operand): Likewise.
582 * config/tc-ppc.c (ppc_set_cpu): Likewise.
583 (ppc_arch): Likewise.
584 (ppc_section_type): Likewise.
585 * config/tc-s12z.c (tb_reg_rel): Likewise.
586 (tb_opr_rel): Likewise.
587 * config/tc-s390.c (s390_parse_cpu): Likewise.
588 (md_parse_option): Likewise.
589 * config/tc-score.c (s3_nopic_need_relax): Likewise.
590 (s3_pic_need_relax): Likewise.
591 * config/tc-score7.c (s7_nopic_need_relax): Likewise.
592 (s7_pic_need_relax): Likewise.
593 * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise.
594 * config/tc-sparc.c (md_parse_option): Likewise.
595 (sparc_ip): Likewise.
596 (s_reserve): Likewise.
597 (s_common): Likewise.
598 (s_seg): Likewise.
599 (sparc_cons): Likewise.
600 * config/tc-tic54x.c (stag_add_field): Likewise.
601 (tic54x_endstruct): Likewise.
602 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
603 * config/tc-v850.c (v850_comm): Likewise.
604 (md_begin): Likewise.
605 (md_assemble): Likewise.
606 * config/tc-vax.c (vax_cons): Likewise.
607 * config/tc-wasm32.c (wasm32_leb128): Likewise.
608 * config/tc-xstormy16.c (md_operand): Likewise.
609 * config/tc-xtensa.c (get_directive): Likewise.
610 (xg_instruction_matches_option_term): Likewise.
611 (is_unaligned_label): Likewise.
612 (cache_literal_section): Likewise.
613 * config/xtensa-relax.c (parse_precond): Likewise.
614 (parse_option_cond): Likewise.
615 (transition_applies): Likewise.
616 (wide_branch_opcode): Likewise.
617 * dw2gencfi.c: Likewise.
618 * dwarf2dbg.c (dwarf2_directive_filename): Likewise.
619 * ehopt.c (get_cie_info): Likewise.
620 * input-file.c (input_file_open): Likewise.
621 * listing.c (listing_newline): Likewise.
622 (debugging_pseudo): Likewise.
623 * read.c (read_a_source_file): Likewise.
624 * write.c (adjust_reloc_syms): Likewise.
625 (compress_debug): Likewise.
626 (maybe_generate_build_notes): Likewise.
627
fdb21288
AM
6282021-03-31 Alan Modra <[email protected]>
629
630 * itbl-lex-wrapper.c: Include as.h not sysdep.h.
631 * config/bfin-lex-wrapper.c: Likewise.
632 * itbl-lex.l: Don't include as.h.
633 * config/bfin-lex.l: Likewise.
634
5b7c81bd
AM
6352021-03-31 Alan Modra <[email protected]>
636
637 * as.h (POISON_BFD_BOOLEAN): Define.
638 * as.c, * as.h, * atof-generic.c, * config/atof-ieee.c,
639 * config/bfin-aux.h, * config/obj-coff.c, * config/obj-ecoff.c,
640 * config/obj-elf.c, * config/obj-elf.h, * config/obj-som.c,
641 * config/tc-aarch64.c, * config/tc-alpha.c, * config/tc-arc.c,
642 * config/tc-arc.h, * config/tc-arm.c, * config/tc-arm.h,
643 * config/tc-avr.c, * config/tc-avr.h, * config/tc-bfin.c,
644 * config/tc-bfin.h, * config/tc-bpf.c, * config/tc-cris.c,
645 * config/tc-csky.c, * config/tc-csky.h, * config/tc-d10v.c,
646 * config/tc-d10v.h, * config/tc-d30v.c, * config/tc-d30v.h,
647 * config/tc-dlx.c, * config/tc-dlx.h, * config/tc-epiphany.c,
648 * config/tc-epiphany.h, * config/tc-fr30.c, * config/tc-fr30.h,
649 * config/tc-frv.c, * config/tc-frv.h, * config/tc-ft32.c,
650 * config/tc-ft32.h, * config/tc-h8300.c, * config/tc-hppa.c,
651 * config/tc-i386-intel.c, * config/tc-i386.c, * config/tc-ia64.c,
652 * config/tc-ip2k.c, * config/tc-iq2000.c, * config/tc-iq2000.h,
653 * config/tc-lm32.c, * config/tc-lm32.h, * config/tc-m32c.c,
654 * config/tc-m32c.h, * config/tc-m32r.c, * config/tc-m32r.h,
655 * config/tc-m68hc11.c, * config/tc-m68k.c, * config/tc-mcore.c,
656 * config/tc-mcore.h, * config/tc-mep.c, * config/tc-mep.h,
657 * config/tc-metag.c, * config/tc-metag.h,
658 * config/tc-microblaze.c, * config/tc-mips.c, * config/tc-mips.h,
659 * config/tc-mmix.c, * config/tc-mn10200.c, * config/tc-mn10300.c,
660 * config/tc-mn10300.h, * config/tc-moxie.c, * config/tc-msp430.c,
661 * config/tc-msp430.h, * config/tc-mt.c, * config/tc-mt.h,
662 * config/tc-nds32.c, * config/tc-nds32.h, * config/tc-nios2.c,
663 * config/tc-ns32k.c, * config/tc-or1k.c, * config/tc-or1k.h,
664 * config/tc-pdp11.c, * config/tc-ppc.c, * config/tc-pru.c,
665 * config/tc-pru.h, * config/tc-riscv.c, * config/tc-riscv.h,
666 * config/tc-rx.c, * config/tc-rx.h, * config/tc-s12z.c,
667 * config/tc-s12z.h, * config/tc-s390.c, * config/tc-score.c,
668 * config/tc-score.h, * config/tc-score7.c, * config/tc-sh.c,
669 * config/tc-sh.h, * config/tc-spu.c, * config/tc-tic54x.c,
670 * config/tc-tic6x.c, * config/tc-tic6x.h, * config/tc-tilegx.c,
671 * config/tc-tilepro.c, * config/tc-v850.c, * config/tc-v850.h,
672 * config/tc-visium.c, * config/tc-visium.h, * config/tc-wasm32.c,
673 * config/tc-wasm32.h, * config/tc-xc16x.c, * config/tc-xgate.c,
674 * config/tc-xstormy16.c, * config/tc-xstormy16.h,
675 * config/tc-xtensa.c, * config/tc-xtensa.h, * config/tc-z80.c,
676 * config/tc-z8k.c, * config/xtensa-istack.h,
677 * config/xtensa-relax.c, * config/xtensa-relax.h, * dw2gencfi.c,
678 * dwarf2dbg.c, * dwarf2dbg.h, * expr.c, * expr.h, * frags.c,
679 * frags.h, * listing.c, * macro.c, * output-file.c, * read.c,
680 * read.h, * stabs.c, * symbols.c, * write.c: Replace bfd_boolean
681 with bool, FALSE with false, and TRUE with true.
682
3dfb1b6d
AM
6832021-03-31 Alan Modra <[email protected]>
684
685 * config/tc-aarch64.c: Include stdint.h in place of bfd_stdint.h.
686 * config/tc-crx.c: Likewise.
687 * config/tc-nds32.h: Likewise.
688
5e042380
JB
6892021-03-30 Jan Beulich <[email protected]>
690
691 * config/tc-i386.c (build_modrm_byte): Change return type.
692 Change type of "default_seg". Use NULL. Adjust setting of
693 "default_seg".
694 (reg_ds, reg_es, reg_ss): New.
695 (struct _i386_insn): Change type of seg[].
696 (md_begin): Initialize reg_ds, reg_es, and reg_ss.
697 (swap_operands): Change type of "temp_seg".
698 (check_string): Adjust %es check.
699 (process_operands): Change type of "default_seg". Use NULL.
700 Adjust segment override processing..
701 (i386_att_operand): Adjust segment override handling.
702 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
703
34684862
JB
7042021-03-30 Jan Beulich <[email protected]>
705
706 * config/tc-i386.c (reg_eax): New.
707 (md_begin): Initialize reg_eax.
708 * config/tc-i386-intel.c (i386_intel_simplify_register): Use
709 reg_eax.
710 (i386_intel_simplify): Likewise.
711
6288d05f
JB
7122021-03-30 Jan Beulich <[email protected]>
713
714 * config/tc-i386.c (reg_st0): New.
715 (md_begin): Convert to switch(). Initialize reg_st0. Don't
716 insert other st(N).
717 (parse_real_register): Adjust st(N) processing.
718
ca5312a2
JB
7192021-03-30 Jan Beulich <[email protected]>
720
721 * config/tc-i386.c (rc_op): Delete.
722 (struct Rounding_Operation): Move ...
723 (struct _i386_insn): ... here. Change field "rounding".
724 (build_evex_prefix): Adjust rounding processing.
725 (swap_2_operands): Likewise.
726 (check_VecOperands): Likewise.
727 (RC_SAE_immediate): Likewise.
728 (optimize_encoding): Adjust check for rounding.
729 (build_modrm_byte): Likewise.
730 (output_imm): Likewise.
731 (md_assemble): Initialize rounding type.
732
5273a3cd
JB
7332021-03-30 Jan Beulich <[email protected]>
734
735 * config/tc-i386.c (broadcast_op): Delete.
736 (struct Broadcast_Operation): Move ...
737 (struct _i386_insn): ... here. Change field "broadcast".
738 (match_mem_size): Adjust check for broadcast.
739 (optimize_encoding): Likewise.
740 (process_suffix): Likewise.
741 (build_evex_prefix): Adjust broadcast processing.
742 (swap_2_operands): Likewise.
743 (check_VecOperations): Likewise.
744 (match_template): Likewise.
745 (check_VecOperands): Likewise.
746
6225c532
JB
7472021-03-30 Jan Beulich <[email protected]>
748
749 * config/tc-i386.c (reg_k0): New.
750 (mask_op): Delete.
751 (struct Mask_Operation): Move ...
752 (struct _i386_insn): ... here. Change field "mask".
753 (md_begin): Initialize reg_k0.
754 (build_evex_prefix): Adjust mask processing.
755 (swap_2_operands): Likewise.
756 (check_VecOperands): Likewise.
757 (check_VecOperations): Likewise.
758 (optimize_encoding): Adjust checks for masking.
759 (output_insn): Likewise.
760
783c187b
JB
7612021-03-30 Jan Beulich <[email protected]>
762
763 * config/tc-i386.c (swap_2_operands): Switch parameters to
764 unsigned.
765 (struct RC_Operation): Switch operand field to unsigned.
766 (struct Mask_Operation): Likewise.
767 (struct Broadcast_Operation): Likewise.
768 (build_evex_prefix): Drop cast.
769 (check_VecOperands): Likewise.
770 (build_modrm_byte): Likewise.
771 (output_imm): Likewise.
772 (check_VecOperations): Add casts to unsigned.
773
c8cad9d3
JB
7742021-03-29 Jan Beulich <[email protected]>
775
776 * testsuite/gas/i386/x86-64-sse2avx.s: Add vpsadbw case.
777 * testsuite/gas/i386/x86-64-avx-swap-2.d.
778 testsuite/gas/i386/x86-64-sse2avx.d: Adjust expectations.
779
389d00a5
JB
7802021-03-29 Jan Beulich <[email protected]>
781
782 * config/tc-i386.c (optimize_encoding): Replace VEX-encoding
783 checks by opcodespace ones.
784 (insert_lfence_before): Likewise.
785 (maybe_fused_with_jcc_p): Likewise.
786 (add_branch_padding_frag_p): Likewise.
787 (output_disp): Likewise.
788 (load_insn_p): Re-arrange checks to key applicable ones off of
789 an opcodespace check.
790 (md_assemble): Adjust opcode checks.
791 (check_byte_reg): Likewise.
792 (process_operands): Likewise.
793 (i386_index_check): Likewise.
794 (process_suffix): Likewise. New local variable is_movx. Adjust
795 movsx/movzx and crc32 handling.
796 (output_insn): Adjust opcode checks. Drop no longer reachable
797 case labels. Output legacy encoding prefixes in addition to the
798 base_opcode byte(s). Rework counting of prefixes for extended
799 opcode maps.
800 * config/tc-i386-intel.c (i386_intel_simplify_register): Adjust
801 opcode checks.
802
63b4cc53
AM
8032021-03-29 Alan Modra <[email protected]>
804
805 * atof-generic.c (FALSE, TRUE): Don't define.
806 * config/obj-elf.h (FALSE, TRUE): Don't define.
807 * config/obj-som.h (FALSE, TRUE): Don't define.
808 * config/tc-hppa.h (FALSE, TRUE): Don't define.
809 * config/tc-pdp11.c (FALSE, TRUE): Don't define.
810 * config/tc-iq2000.h (obj_fix_adjustable): Delete.
811 * config/tc-m32r.h (TC_FIX_ADJUSTABLE): Delete.
812 * config/tc-mt.h (obj_fix_adjustable): Delete.
813 * config/tc-nds32.h (TC_FIX_ADJUSTABLE): Delete.
814 * config/tc-arc.c (parse_opcode_flags): Simplify boolean expression.
815 (relaxable_flag, relaxable_operand, assemble_insn): Likewise.
816 (tokenize_extregister): Likewise.
817 * config/tc-csky.c (parse_opcode, get_operand_value): Likewise.
818 (parse_operands_op, parse_operands, md_assemble): Likewise.
819 * config/tc-d10v.c (build_insn): Likewise.
820 * config/tc-score.c (s3_gen_insn_frag): Likewise.
821 * config/tc-score7.c (s7_gen_insn_frag, s7_relax_frag): Likewise.
822 * config/tc-tic6x.c (tic6x_update_features, md_assemble): Likewise.
823 * config/tc-z80.c (emit_byte): Likewise.
824
854f1e4b
AM
8252021-03-29 Alan Modra <[email protected]>
826
827 * config/tc-arm.c (struct arm_long_option_table <func>): Return
828 bfd_boolean.
829 * config/tc-arm.h (arm_optimize_expr, arm_data_in_code): Likewise.
830 * config/tc-metag.c (parse_mov_port): Replace unsigned int variable
831 with bfd_boolean.
832 (parse_mmov, parse_mov_ct, parse_alu, parse_shift, parse_bitop),
833 (parse_cmp, parse_fmmov, parse_fmov_data, parse_fearith),
834 (parse_dget_set, parse_dalu): Likewise, ensuring assignment from
835 logical expressions.
836 (struct metag_long_option <func>): Return bfd_boolean.
837 (metag_parse_cpu, metag_parse_fpu, metag_parse_dsp): Likewise.
838 * config/tc-msp430.c (msp430_dstoperand): Correct dummy type.
839 * config/tc-s12z.c (parse_operand_func): Return bfd_boolean.
840 (no_operands, lex_force_match, lex_reg_list): Likewise.
841 (size_from_suffix): Return int.
842 (s12z_relax_frag, md_estimate_size_before_relax): Return 0.
843 * config/tc-s12z.h (tc_s12z_fix_adjustable): Likewise.
844
c3344b62
JB
8452021-03-26 Jan Beulich <[email protected]>
846
847 * testsuite/gas/i386/x86-64-nosse2.s,
848 testsuite/gas/i386/x86-64-nosse2.l: New.
849 * testsuite/gas/i386/i386.exp: Run new test.
850
efa30ac3
HAQ
8512021-03-25 Abid Qadeer <[email protected]>
852
853 * testsuite/gas/nios2/brn.d: New.
854 * testsuite/gas/nios2/brn.d: New.
855
5e74b495
JB
8562021-03-25 Jan Beulich <[email protected]>
857
858 * config/tc-i386.c (match_template): Use t instead of i.tm.
859
596a02ff
JB
8602021-03-25 Jan Beulich <[email protected]>
861
862 * testsuite/gas/i386/avx512f-nondef.s: Add vgather cases.
863 * testsuite/gas/i386/x86-64-vgather-check.s: Add cases with
864 colliding registers in the upper half of the space.
865 * testsuite/gas/i386/avx512f-nondef.d,
866 testsuite/gas/i386/vgather-check.d,
867 testsuite/gas/i386/x86-64-vgather-check.d,
868 testsuite/gas/i386/x86-64-vgather-check-error.l,
869 testsuite/gas/i386/x86-64-vgather-check-warn.e: Adjust
870 expecations.
871 * testsuite/gas/i386/vgather-check-none.d,
872 testsuite/gas/i386/vgather-check-warn.d,
873 testsuite/gas/i386/x86-64-vgather-check-none.d,
874 testsuite/gas/i386/x86-64-vgather-check-warn.d: Refer to "base"
875 tests for expected dump output.
876
53642852
JB
8772021-03-25 Jan Beulich <[email protected]>
878
879 * testsuite/gas/i386/avx512f-nondef.s: Add case for EVEX.z
880 without mask register.
881 * testsuite/gas/i386/avx512f-nondef.d: Adjust expectations.
882
c0e54661
JB
8832021-03-25 Jan Beulich <[email protected]>
884
885 * config/tc-i386.c (md_assemble): Widen set of insns to avoid
886 swapping operands for.
887 * testsuite/gas/i386/invlpgb.s: Fix, re-arrange, and add Intel
888 syntax tests.
889 * testsuite/gas/i386/snp.s: Re-arrange and add multi-operand as
890 well as Intel syntax tests.
891 * testsuite/gas/i386/invlpgb.d, testsuite/gas/i386/snp.d: Adjust
892 expectations.
32d71569 893 * testsuite/gas/i386/invlpgb64.d, testsuite/gas/i386/snp64.d:
c0e54661
JB
894 Likewise. Drop passing --def-sym to as.
895
829f3fe1
JB
8962021-03-25 Jan Beulich <[email protected]>
897
898 PR/gas 27419
899 * config/tc-i386.c (process_suffix): Restrict (%rip) -> (%eip)
900 conversion to x32 mode.
901 * testsuite/gas/i386/ilp32/enqcmd.s,
902 testsuite/gas/i386/ilp32/enqcmd.d,
903 testsuite/gas/i386/ilp32/movdir.s,
904 testsuite/gas/i386/ilp32/movdir.d: New.
905 * testsuite/gas/i386/x86-64-enqcmd.s,
906 testsuite/gas/i386/x86-64-movdir.s: Drop mismatched operand
907 cases.
908 * testsuite/gas/i386/x86-64-enqcmd-inval.s: Add (%rip) and
909 (%eip) cases.
910 * testsuite/gas/i386/x86-64-movdir64b-reg.s Add (%eip) case.
911 * testsuite/gas/i386/x86-64-enqcmd.d,
912 testsuite/gas/i386/x86-64-enqcmd-intel.d,
913 testsuite/gas/i386/x86-64-enqcmd-inval.l,
914 testsuite/gas/i386/x86-64-movdir.d,
915 testsuite/gas/i386/x86-64-movdir-intel.d,
916 testsuite/gas/i386/x86-64-movdir64b-reg.l: Adjust expectations.
917
5a403766
AM
9182021-03-25 Alan Modra <[email protected]>
919
920 PR 27647
921 * testsuite/gas/ppc/a2.d: Update expected output.
922 * testsuite/gas/ppc/power8.d: Likewise.
923
9a182d04
JB
9242021-03-24 Jan Beulich <[email protected]>
925
926 * config/tc-i386.c (struct _i386_insn): New field
927 opcode_length.
928 (md_begin): Drop assertion.
929 (install_template): New.
930 (build_vex_prefix): Call install_template.
931 (match_template): Likewise.
932 (process_operands): Use new opcode_length field.
933 (output_jump): Likewise.
934 (output_insn): Likewise. Adjust psedo prefix check.
935
35648716
JB
9362021-03-24 Jan Beulich <[email protected]>
937
938 * config/tc-i386.c (md_begin): Add assertion.
939 (build_vex_prefix): Drop implied prefix calculation.
940 (build_evex_prefix): Likewise.
941 (optimize_encoding): Adjust opcode checks.
942 (load_insn_p): Also check opcodeprefix.
943 (match_template): Also check opcodespace.
944 (process_suffix): Likewise.
945 (process_operands): Likewise.
946 (output_insn): Likewise. Also check isprefix when discaring
947 standalone LOCK.
948 * config/tc-i386-intel.c (i386_intel_operand): Also check
949 opcodespace.
950
31184569
JB
9512021-03-24 Jan Beulich <[email protected]>
952
953 * config/tc-i386.c (parse_insn): Recognize pseudo prefixes by
954 base_opcode and extension_opcode.
955
b933fa4b
JB
9562021-03-23 Jan Beulich <[email protected]>
957
958 * config/tc-i386.c (pte): Re-order opc_pfx[] entries.
959
dac10fb0
JB
9602021-03-23 Jan Beulich <[email protected]>
961
962 * config/tc-i386.c (output_i386_opcode): Invoke
963 process_i386_cpu_flag() slightly later.
964 (process_i386_opcodes): Likewise.
965
441f6aca
JB
9662021-03-23 Jan Beulich <[email protected]>
967
968 * config/tc-i386.c (pte): Print prefix and encoding space.
969 (build_vex_prefix): Check opcodespace instead of opcodeprefix.
970 (build_evex_prefix): Likewise.
971 (load_insn_p): Likewise.
972
70e95837
JB
9732021-03-23 Jan Beulich <[email protected]>
974
975 * config/tc-i386.c (load_insn_p): Use PREFIX_NONE. Fold two
976 if()-s.
977 (match_template, output_insn): Use PREFIX_NONE.
978
a152332d
JB
9792021-03-23 Jan Beulich <[email protected]>
980
981 * config/tc-i386.c (i386_index_check): New local variable t.
982 Correct MPX insn check.
983 * config/tc-i386-intel.c (i386_intel_simplify_register): Correct
984 MPX insn check.
985 * testsuite/gas/i386/x86-64-mpx.s: Add RIP-relative cases. Test
986 index scaling by other than 1.
987 * testsuite/gas/i386/x86-64-mpx.d: Adjust expectations.
988
08dedd66
ML
9892021-03-22 Martin Liska <[email protected]>
990
991 * config/tc-i386.c (md_parse_option): Replace usage of CONST_STRNEQ with startswith.
992 (x86_64_section_word): Likewise.
993 * config/tc-sparc.c (md_parse_option): Likewise.
994
826b97d4
AM
9952021-03-19 Alan Modra <[email protected]>
996
997 * app.c (do_scrub_chars): Don't lose spaces before a slash.
998
3273f9a1
CG
9992021-03-18 Christian Groessler <[email protected]>
1000
1001 * config/tc-z8k.c (apply_fix): Handle 7-bit relocations correctly.
1002 Problem found by Tadashi G. Takaoka <[email protected]>.
1003
80d49d6a
KLC
10042021-03-16 Kuan-Lin Chen <[email protected]>
1005
1006 * config/tc-riscv.c (ext_version_table): Add b, zba, zbb and zbc.
1007 (riscv_multi_subset_supports): Add INSN_CLASS_ZB*.
1008 * testsuite/gas/riscv/b-ext-64.s: Bitmanip test case.
1009 * testsuite/gas/riscv/b-ext-64.d: Likewise.
1010 * testsuite/gas/riscv/b-ext.s: Likewise.
1011 * testsuite/gas/riscv/b-ext.d: Likewise.
1012
7fce7ea9
PW
10132021-03-12 Przemyslaw Wirkus <[email protected]>
1014
1015 * testsuite/gas/aarch64/illegal-sysreg-7.d: New test.
1016 * testsuite/gas/aarch64/illegal-sysreg-7.l: New test.
1017 * testsuite/gas/aarch64/illegal-sysreg-7.s: New test.
1018 * testsuite/gas/aarch64/sysreg-7.d: New test.
1019 * testsuite/gas/aarch64/sysreg-7.s: New test.
1020
1b2cb8e2
CC
10212021-03-12 Clément Chigot <[email protected]>
1022
1023 * config/tc-ppc.c (ppc_xcoff_text_section, ppc_xcoff_data_section,
1024 (ppc_xcoff_bss_section, ppc_xcoff_tdata_section,
1025 (ppc_xcoff_tbss_section): New variables.
1026 (ppc_text_subsegment, ppc_text_csects, ppc_data_subgments,
1027 (ppc_data_csects): Removed.
1028 (ppc_xcoff_section_is_initialized, ppc_init_xcoff_section,
1029 ppc_xcoff_parse_cons): New functions.
1030 (md_being): Initialize XCOFF sections.
1031 (ppc_xcoff_suffix): Add support for TLS relocations
1032 (fixup_size, md_apply_fix): Add support for new BFD_RELOC.
1033 (ppc_change_csect): Handle XMC_TL, XMC_UL. Correctly, add XMC_BS
1034 to .bss section. Handle new XCOFF section variables.
1035 (ppc_comm): Likewise.
1036 (ppc_toc): Likewise.
1037 (ppc_symbol_new_hook): Likewise.
1038 (ppc_frob_symbol): Likewise.
1039 (ppc_fix_adjustable): Add tbss support.
1040 * config/tc-ppc.h (TC_PARSE_CONS_EXPRESSION): New define.
1041 (ppc_xcoff_parse_cons): Add prototype.
1042 (struct ppc_xcoff_section): New structure.
1043
4a403be0
CC
10442021-03-12 Clément Chigot <[email protected]>
1045
1046 * config/tc-ppc.c (ppc_xcoff_suffix): New function.
1047 (MAP, MAP32, MAP64): New macros for XCOFF.
1048 (ppc_xcoff_fixup_addis): New function.
1049 (ppc_is_toc_sym): Handle XMC_TE.
1050 (fixup_size): Add cases for BFD_RELOC_PPC_TOC16_HI and
1051 BFD_RELOC_PPC_TOC16_LO.
1052 (md_assemble): Call ppc_xcoff_fixup_addis for XCOFF.
1053 (ppc_change_csect): Handle XMC_TE.
1054 (ppc_tc): Enable .tc symbols to have only a XMC_TC or XMC_TE
1055 storage class.
1056 (ppc_symbol_new_hook): Handle XMC_TE.
1057 (ppc_frob_symbol): Likewise.
1058 (ppc_fix_adjustable): Likewise.
1059 (md_apply_fix): Handle BFD_RELOC_PPC_TOC16_HI and
1060 BFD_RELOC_PPC_TOC16_LO.
1061
b763d508
JB
10622021-03-10 Jan Beulich <[email protected]>
1063
1064 * testsuite/gas/i386/avx512f-intel.d,
1065 testsuite/gas/i386/avx512f_vl-intel.d,
1066 testsuite/gas/i386/avx512pf-intel.d,
1067 testsuite/gas/i386/x86-64-avx512f-intel.d,
1068 testsuite/gas/i386/x86-64-avx512f_vl-intel.d,
1069 testsuite/gas/i386/x86-64-avx512pf-intel.d: Adjust expectations.
1070
31941983
JB
10712021-03-10 Jan Beulich <[email protected]>
1072
1073 * testsuite/gas/i386/prefetch.d,
1074 testsuite/gas/i386/prefetch-intel.d,
1075 testsuite/gas/i386/x86-64-prefetch.d,
1076 testsuite/gas/i386/x86-64-prefetch-intel.d: Adjust expectations.
1077 * testsuite/gas/i386/nops-8.s, testsuite/gas/i386/nops-8.d: New.
1078 * testsuite/gas/i386/i386.exp: Run new test.
1079
742732c7
JB
10802021-03-09 Jan Beulich <[email protected]>
1081
1082 * config/tc-i386.c (check_hle): Replace HLEPrefix* by Prefix*.
1083 (md_assemble): Replace use of repprefixok, islockable, and
1084 notrackprefixok.
1085 (i386_index_check): Replace use of repprefixok.
1086
e93a3b27
JB
10872021-03-09 Jan Beulich <[email protected]>
1088
1089 * testsuite/gas/i386/noreg64.s: Add sysexit.
1090 * testsuite/gas/i386/x86-64-sysenter-amd.s: Split sysexit into
1091 sysexitl and sysexitq.
1092 * testsuite/gas/i386/noreg-intel64.l,
1093 testsuite/gas/i386/noreg64-data16.d,
1094 testsuite/gas/i386/noreg64-data16.e,
1095 testsuite/gas/i386/noreg64-rex64.d,
1096 testsuite/gas/i386/noreg64.d,
1097 testsuite/gas/i386/noreg64.l,
1098 testsuite/gas/i386/x86-64-sysenter-amd.d,
1099 testsuite/gas/i386/x86-64-sysenter-amd.l,
1100 testsuite/gas/i386/x86-64-sysenter-intel.d: Adjust expectations.
1101
fe0171d2
NC
11022021-02-26 Nick Clifton <[email protected]>
1103
1104 PR 27411
1105 * config/tc-arm.c (do_t_add_sub): Correct error message.
1106 * testsuite/gas/arm/pr27411.s: New test.
1107 * testsuite/gas/arm/pr27411.d: New test driver.
1108 * testsuite/gas/arm/pr27411.l: Expected error output for new test.
1109
55add51e
AM
11102021-02-24 Alan Modra <[email protected]>
1111
1112 PR 23691
1113 * Makefile.am (TARGET_CPU_CFILES): Split off config/xtensa-relax.c..
1114 (TARGET_CPU_HFILES): ..and config/xtensa-relax.h..
1115 (TARGET_EXTRA_FILES): ..to here. Add config/bfin-lex-wrapper.c,
1116 and use alongside TARGET_CPU_CFILES.
1117 (EXTRA_DIST): Update location of generated .c files.
1118 (config/m68k-parse.c): New rule replacing m68k-parse.c rule.
1119 (config/bfin-parse.c, config/rl78-parse.cm config/rx-parse.c),
1120 (config/bfin-lex.c, config/bfin-lex-wrapper.@OBJEXT@): Similarly.
1121 (itbl-lex-wrapper.@OBJEXT@): Simplify to just the needed
1122 dependencies.
1123 (itbl-parse.@OBJEXT@): Delete rule using NO_WERROR.
1124 (itbl-parse.c, itbl-parse.h): Tidy.
1125 * config/bfin-lex-wrapper.c: Include config/bfin-lex.c.
1126 * config/bfin-lex.l: Include config/bfin-parse.h.
1127 * configure.ac (extra_objects): Move object files corresponding
1128 to .y and .l files now in config/ to config/.
1129 * Makefile.in: Regenerate.
1130 * configure: Regenerate.
1131 * po/POTFILES.in: Regenerate.
1132
0257c2ff
NC
11332021-02-19 Nick Clifton <[email protected]>
1134
1135 * config/tc-riscv.c (riscv_ip): Fix compile time warnings about
1136 misleading indentation.
1137
5a9f5403
NC
11382021-02-19 Nelson Chu <[email protected]>
1139
1140 PR 27158
1141 * config/tc-riscv.c (riscv_ip): Updated encoding macros.
1142 (md_apply_fix): Likewise.
1143 (md_convert_frag_branch): Likewise.
1144 (validate_riscv_insn): Likewise. Also arranged operands, including
1145 added C5 and C6 operands, and removed unused Ci and C< operands.
1146 * doc/c-riscv.texi: Updated and added CSS/CL/CS types.
1147 * testsuite/gas/riscv/insn.d: Added CSS/CL/CS instructions.
1148 * testsuite/gas/riscv/insn.s: Likewise.
1149
3d73d29e
NC
11502021-02-18 Nelson Chu <[email protected]>
1151
1152 * config/tc-riscv.c: Included cpu-riscv.h.
1153 (enum riscv_csr_clas): Moved from include/opcode/riscv.h.
1154 (struct riscv_csr_extra): Likewise.
1155 (struct riscv_ext_version): Likewise.
1156 (ext_version_table): Moved from opcodes/riscv-opc.c.
1157 (default_isa_spec): Updated type to riscv_spec_class.
1158 (default_priv_spec): Likewise.
1159 (riscv_set_default_isa_spec): Updated.
1160 (init_ext_version_hash): Likewise.
1161 (riscv_init_csr_hash): Likewise, also fixed indent.
1162
089485ff
AM
11632021-02-17 Alan Modra <[email protected]>
1164
1165 * testsuite/gas/elf/section28.d: xfail h8300.
1166
ca1289b9
L
11672021-02-16 H.J. Lu <[email protected]>
1168
1169 PR gas/27412
1170 * config/obj-elf.c (obj_elf_change_section): Strip SHF_GNU_RETAIN
1171 when checking incorrect section attributes.
1172 * testsuite/gas/elf/elf.exp: Run section28 and section29.
1173 * testsuite/gas/elf/section28.d: New file.
1174 * testsuite/gas/elf/section28.s: Likewise.
1175 * testsuite/gas/elf/section29.d: Likewise.
1176 * testsuite/gas/elf/section29.s: Likewise.
1177
394ae71f
JB
11782021-02-16 Jan Beulich <[email protected]>
1179
1180 * testsuite/gas/i386/sse-check.s,
1181 testsuite/gas/i386/sse2avx.s,
1182 testsuite/gas/i386/x86-64-sse2avx.s: Add CVTPI2PD cases.
1183 * testsuite/gas/i386/sse-check-error.l,
1184 testsuite/gas/i386/sse-check-warn.e,
1185 testsuite/gas/i386/sse-check.d,
1186 testsuite/gas/i386/sse2avx.d,
1187 testsuite/gas/i386/x86-64-sse-check-error.l,
1188 testsuite/gas/i386/x86-64-sse2avx.d: Adjust expecations.
1189 * testsuite/gas/i386/property-cvtpi2pd.s,
1190 testsuite/gas/i386/property-cvtpi2pd.d,
1191 testsuite/gas/i386/property-cvtpi2ps.s,
1192 testsuite/gas/i386/property-cvtpi2ps.d: New.
1193 * testsuite/gas/i386/i386.exp: Run new tests.
1194
3d70986f
JB
11952021-02-16 Jan Beulich <[email protected]>
1196
1197 * config/tc-i386.c (md_assemble): Use template rather than
1198 actuals when updating i.xstate.
1199 * testsuite/gas/i386/property-4.d,
1200 testsuite/gas/i386/property-5.d,
1201 testsuite/gas/i386/property-12.d: Adjust expectations.
1202
014d61ea
JB
12032021-02-16 Jan Beulich <[email protected]>
1204
1205 * config/tc-i386.c (output_insn): Handle ldmxcsr, stmxcsr,
1206 vldmxcsr, vstmxcsr, vzeroall, and vzeroupper.
1207 * testsuite/gas/i386/property-ldmxcsr.s,
1208 testsuite/gas/i386/property-ldmxcsr.d,
1209 testsuite/gas/i386/property-vldmxcsr.s,
1210 testsuite/gas/i386/property-vldmxcsr.d,
1211 testsuite/gas/i386/property-vzeroall.s,
1212 testsuite/gas/i386/property-vzeroall.d: New.
1213 * testsuite/gas/i386/i386.exp: Run new tests.
1214
cbe68696
JB
12152021-02-16 Jan Beulich <[email protected]>
1216
1217 * testsuite/gas/i386/i386.exp: Move bitness-independent property
1218 tests to bitness independent section.
1219 * testsuite/gas/i386/x86-64-property-2.d,
1220 testsuite/gas/i386/x86-64-property-3.d,
1221 testsuite/gas/i386/x86-64-property-4.d,
1222 testsuite/gas/i386/x86-64-property-5.d,
1223 testsuite/gas/i386/x86-64-property-6.d,
1224 testsuite/gas/i386/x86-64-property-10.d,
1225 testsuite/gas/i386/x86-64-property-11.d,
1226 testsuite/gas/i386/x86-64-property-12.d,
1227 testsuite/gas/i386/x86-64-property-13.d: Delete.
1228
c2f1204d
JB
12292021-02-16 Jan Beulich <[email protected]>
1230
1231 * testsuite/gas/i386/enqcmd-16bit.s: Include enqcmd.s, not
1232 movdir.s.
1233 * testsuite/gas/i386/enqcmd-16bit.d: Adjust expectations.
1234
9a12b194
AM
12352021-02-16 Alan Modra <[email protected]>
1236
1237 PR 27426
1238 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
1239 in another place.
1240
70433886
AM
12412021-02-16 Alan Modra <[email protected]>
1242
1243 * read.c (demand_copy_C_string): Really check for embedded zeros.
1244
ba2b480f
AK
12452021-02-15 Andreas Krebbel <[email protected]>
1246
1247 * config/tc-s390.c (s390_parse_cpu): New entry for arch14.
1248 * doc/c-s390.texi: Document arch14 march option.
1249 * testsuite/gas/s390/s390.exp: Run the arch14 related tests.
1250 * testsuite/gas/s390/zarch-arch14.d: New test.
1251 * testsuite/gas/s390/zarch-arch14.s: New test.
1252
c46b7066
NC
12532021-02-12 Nick Clifton <[email protected]>
1254
1255 * testsuite/gas/mach-o/sections-1.d: Stop automatic debug link
32d71569 1256 following.
c46b7066
NC
1257 * testsuite/gas/xgate/insns-dwarf2.d: Likewise.
1258
3c1d4101
AM
12592021-02-12 Alan Modra <[email protected]>
1260
1261 * testsuite/gas/all/pr27381.err: Don't match source file name.
1262 * testsuite/gas/all/pr27381.s: Don't start directive in first column.
1263 * testsuite/gas/all/pr27384.err: Don't match source file name.
1264 Adjust line number.
1265 * testsuite/gas/all/pr27384.s: Add ".text" directive.
1266 * testsuite/gas/elf/pr27355.err: Don't match source file name.
1267
933feaf3
AM
12682021-02-11 Alan Modra <[email protected]>
1269
1270 * NEWS: Mention arm-symbianelf removal.
1271
01e8b831
NC
12722021-02-10 Nick Clifton <[email protected]>
1273
1274 * listing.c (buffer_line): Remove debugging code accidentally
1275 included with the fix for PR 27384.
1276
284beb43
NC
12772021-02-09 Nick Clifton <[email protected]>
1278
1279 PR 27381
1280 * read.c (s_incbin): Check that the file to be included is a
1281 regular, non-directory file.
1282 * testsuite/gas/all/pr27381.s: New test source file.
1283 * testsuite/gas/all/pr27381.d: New test control file.
1284 * testsuite/gas/all/pr27381.err: Expected error output for the new test.
1285 * testsuite/gas/all/gas.exp: Run the new test.
1286
a57d1773
AM
12872021-02-09 Alan Modra <[email protected]>
1288
1289 * Makefile.am (TARG_ENV_HFILES): Remove config/te-symbian.h.
1290 * config/tc-arm.c (elf32_arm_target_format): Remove TE_SYMBIAN
1291 support.
1292 * config/te-symbian.h: Delete.
1293 * configure.tgt: Remove arm-*-symbianelf*.
1294 * testsuite/gas/arm/arch4t-eabi.d: Don't mention symbianelf in
1295 target selection.
1296 * testsuite/gas/arm/arch4t.d: Likewise.
1297 * testsuite/gas/arm/got_prel.d: Likewise.
1298 * testsuite/gas/arm/mapdir.d: Likewise.
1299 * testsuite/gas/arm/mapmisc.d: Likewise.
1300 * testsuite/gas/arm/mapsecs.d: Likewise.
1301 * testsuite/gas/arm/mapshort-eabi.d: Likewise.
1302 * testsuite/gas/arm/thumb-eabi.d: Likewise.
1303 * testsuite/gas/arm/thumb.d: Likewise.
1304 * testsuite/gas/arm/thumbrel.d: Likewise.
1305 * Makefile.in: Regenerate.
1306 * po/POTFILES.in: Regenerate.
1307
4a68fcd7
NC
13082021-02-09 Nick Clifton <[email protected]>
1309
1310 PR 27384
1311 * listing.c (listing_psize): Check the result of the width
1312 expression before assigning it to paper_width.
1313 * testsuite/gas/all/pr27384.s: New test source file.
1314 * testsuite/gas/all/pr27384.d: New test control file.
1315 * testsuite/gas/all/pr27384.err: Expected errors from new test.
1316 * testsuite/gas/all/gas.exp: Run the new test.
1317
52563b0f
NC
13182021-02-09 Nick Clifton <[email protected]>
1319
1320 PR 27355
1321 * testsuite/gas/elf/pr27355.s: New test source file.
1322 * testsuite/gas/elf/pr27355.d: New test control file.
1323 * testsuite/gas/elf/pr27355.err: Expected errors from new test.
1324 * testsuite/gas/elf/elf.exp: Run the new test.
1325
bfd428bc
MF
13262021-02-08 Mike Frysinger <[email protected]>
1327
1328 * config/tc-tic54x (tic54x_mmregs): Rename to ...
1329 (tic54x_register_mmregs): ... this. Change mmregs to tic54x_mmregs.
1330 (md_pseudo_table): Change tic54x_mmregs to tic54x_register_mmregs.
1331 (md_begin): Add tic54x_ prefix to regs, mmregs, condition_codes,
1332 cc2_codes, cc3_codes, status_bits, and misc_symbols.
1333
80b652ef
NC
13342021-02-08 Nick Clifton <[email protected]>
1335
1336 PR 27355
1337 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
1338 if it has not already been created.
1339
24075dcc
NC
13402021-02-04 Nelson Chu <[email protected]>
1341
1342 * config/tc-riscv.c (riscv_multi_subset_supports): Removed
1343 INSN_CLASS_ZB*.
1344 * testsuite/gas/riscv/bitmanip-insns-32.d: Removed.
1345 * testsuite/gas/riscv/bitmanip-insns-64.d: Removed.
1346 * testsuite/gas/riscv/bitmanip-insns.s: Removed.
1347
61ecbbae
AK
13482021-02-03 Andreas Krebbel <[email protected]>
1349
1350 * doc/c-s390.texi: Document vector instruction formats.
1351
1f568f9a
EH
13522021-02-01 Emery Hemingway <[email protected]>
1353
1354 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
1355
7bba67ec
AM
13562021-02-01 Alan Modra <[email protected]>
1357
1358 PR 27283
1359 * config/tc-alpha.c (insert_operand): Delete dead code.
1360
1f583bc2
L
13612021-01-26 H.J. Lu <[email protected]>
1362
1363 PR gas/27243
1364 * config/tc-nios2.c (md_begin): Don't disable relaxation with
1365 --gdwarf-N.
1366 * testsuite/gas/nios2/relax.d: New file.
1367 * testsuite/gas/nios2/relax.s: Likewise.
1368
a45ef9a3
AM
13692021-01-26 Alan Modra <[email protected]>
1370
1371 * testsuite/gas/all/local-label-overflow.d: Use xfail rather than
1372 notarget all except hppa. Comment.
1373 * testsuite/gas/all/sleb128-2.d: Use xfail rather than notarget.
1374 * testsuite/gas/all/sleb128-4.d: Likewise. Don't skip msp430.
1375 * testsuite/gas/all/sleb128-5.d: Use xfail rather than notarget.
1376 * testsuite/gas/all/sleb128-7.d: Likewise.
1377 * testsuite/gas/all/sleb128-9.d: Likewise.
1378 * testsuite/gas/elf/bignums.d: Likewise.
1379 * testsuite/gas/elf/group0c.d: Likewise.
1380 * testsuite/gas/elf/group1a.d: Likewise.
1381 * testsuite/gas/elf/section-symbol-redef.d: Likewise.
1382 * testsuite/gas/elf/section15.d: Likewise.
1383 * testsuite/gas/elf/section4.d: Likewise.
1384 * testsuite/gas/elf/section7.d: Likewise.
1385 * testsuite/gas/macros/irp.d: Likewise.
1386 * testsuite/gas/macros/repeat.d: Likewise.
1387 * testsuite/gas/macros/rept.d: Likewise.
1388 * testsuite/gas/macros/test2.d: Likewise.
1389 * testsuite/gas/macros/vararg.d: Likewise.
1390 * testsuite/gas/all/string.d: Use xfail rather than skip.
1391 * testsuite/gas/elf/missing-build-notes.d: Likewise.
1392 * testsuite/gas/elf/section0.d: Likewise.
1393 * testsuite/gas/elf/section1.d: Likewise.
1394 * testsuite/gas/elf/section10.d: Likewise.
1395 * testsuite/gas/elf/section11.d: Likewise.
1396 * testsuite/gas/elf/section6.d: Likewise.
1397 * testsuite/gas/elf/symtab.d: Use xfail rather than skip, adjust hppa.
1398 * testsuite/gas/elf/symtab.s: Don't start directives in first column.
1399 * testsuite/gas/macros/test3.d: Don't notarget nds32.
1400
9886ff03
AM
14012021-01-26 Alan Modra <[email protected]>
1402
1403 * testsuite/gas/all/byte.d,
1404 * testsuite/gas/all/byte.l,
1405 * testsuite/gas/all/byte.s: Delete.
1406 * testsuite/gas/all/gas.exp: Don't run byte test.
1407
4287950e
AM
14082021-01-26 Alan Modra <[email protected]>
1409
1410 PR 27282
1411 * testsuite/gas/all/none.d: Replace skip with xfail, don't xfail ft32.
1412 * testsuite/gas/elf/pr27228.d: xfail hppa and allow OBJECT match.
1413
eea133e6
L
14142021-01-24 H.J. Lu <[email protected]>
1415
1416 PR gas/27228
1417 * testsuite/gas/elf/elf.exp: Run pr27228.
1418 * testsuite/gas/elf/pr27228.d: New file.
1419 * testsuite/gas/elf/pr27228.s: Likewise.
1420
68fcee4f
AM
14212021-01-24 Alan Modra <[email protected]>
1422
1423 PR 27228
1424 * write.c (resolve_reloc_expr_symbols): Don't assume local symbol
1425 is defined.
1426
be07043e
AM
14272021-01-21 Alan Modra <[email protected]>
1428
1429 PR 27221
1430 * dwarf2dbg.c (dwarf2_gen_line_info_1): Don't warn about ignored
1431 line number info when gas is generating it.
1432 * testsuite/gas/elf/dwarf2-20.d: Adjust to not expect warnings.
1433 * testsuite/gas/m68hc11/indexed12.d: Likewise.
1434 * testsuite/gas/elf/elf.exp: Don't run warn-2.
1435 * gas/testsuite/gas/elf/warn-2.s: Delete.
1436
498ff032
AM
14372021-01-21 Alan Modra <[email protected]>
1438
1439 PR 27218
1440 * dwarf2dbg.c (dwarf2_gen_line_info): Correct setting of dwarf_level.
1441 (dwarf2_directive_filename, dwarf2_directive_loc): Likewise, and
1442 error for negative file numbers.
1443
4bd7c902
AM
14442021-01-20 Alan Modra <[email protected]>
1445
1446 * testsuite/gas/ppc/power4.d: Adjust for removal of section sym.
1447 * testsuite/gas/ppc/test1elf32.d: Likewise.
1448 * testsuite/gas/ppc/test1elf64.d: Likewise.
1449
705989f1
L
14502021-01-18 H.J. Lu <[email protected]>
1451
1452 PR gas/27195
1453 * dwarf2dbg.c (dwarf2_gen_line_info): Set dwarf_level to 5 if
1454 needed.
1455 (dwarf2_directive_filename): Likewise.
1456 (dwarf2_directive_loc): Likewise.
1457 * testsuite/gas/elf/dwarf-5-file0.d: Pass --gdwarf-3.
1458 * testsuite/gas/lns/lns-diag-1.l: Remove the
1459 "Error: file number less than one" errors.
1460
44365e88
AM
14612021-01-18 Alan Modra <[email protected]>
1462
1463 PR 27198
1464 * config/tc-i386.c (need_plt32_p): Return FALSE for NULL symbol.
1465 * testsuite/gas/i386/pr27198.d,
1466 * gas/testsuite/gas/i386/pr27198.err,
1467 * gas/testsuite/gas/i386/pr27198.s: New test.
1468 * gas/testsuite/gas/i386/i386.exp: Run it.
1469
1942a048
NC
14702021-01-15 Nelson Chu <[email protected]>
1471
1472 * config/tc-riscv.c: Indent and GNU coding standards tidy,
1473 also aligned the code.
1474 * config/tc-riscv.h: Likewise.
1475
b800637e
NC
14762021-01-15 Nelson Chu <[email protected]>
1477
1478 * config/tc-riscv.c: Error and warning messages tidy.
1479 * testsuite/gas/riscv/priv-reg-fail-fext.l: Updated.
1480 * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
1481 * testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise.
1482 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
1483 * testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
1484 * testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
1485 * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
1486
dcd709e0
NC
14872021-01-15 Nelson Chu <[email protected]>
1488
1489 * config/tc-riscv.c: Comments tidy and improvement. Also update
1490 comment "fallthru" to "Fall through" that end with a period and
1491 two spaces.
1492
5fda40b2
MF
14932021-01-14 Mike Frysinger <[email protected]>
1494
1495 * doc/as.texi: Delete @ifset ELF wrapping around [248]byte entries.
1496 Delete warning that these are only available with ELF targets.
1497 * obj-elf.c (elf_pseudo_table): Move 2byte/4byte/8byte entries ...
1498 * read.c (potable): ... here.
1499
abad2815
MF
15002021-01-14 Mike Frysinger <[email protected]>
1501
1502 * Makefile.am (bfin-lex-wrapper.@OBJEXT@): Delete $(NO_WERROR).
1503 * Makefile.in: Regenerated.
1504
adb0bd8f
MF
15052021-01-14 Mike Frysinger <[email protected]>
1506
1507 * bfin-lex.l (YY_NO_INPUT, YY_NO_UNPUT): Define.
1508 (parse_int): Mark char_bag const.
1509
844bf810
L
15102021-01-13 H.J. Lu <[email protected]>
1511
1512 PR gas/27178
1513 * config/tc-i386.c (lex_got::gotrel): Add need_GOT_symbol.
1514 Don't generate GOT_symbol for PLT relocations.
1515 * testsuite/gas/i386/i386.exp: Run PR gas/27178 tests.
1516 * testsuite/gas/i386/no-got.d: New file.
1517 * testsuite/gas/i386/no-got.s: Likewise.
1518 * testsuite/gas/i386/x86-64-no-got.d: Likewise.
1519 * testsuite/gas/i386/x86-64-no-got.s: Likewise.
1520
5347ed60
AM
15212021-01-13 Alan Modra <[email protected]>
1522
1523 * Makefile.in: Regenerate.
1524 * Makefile.in: Regenerate.
1525
d546b610
L
15262021-01-12 H.J. Lu <[email protected]>
1527
1528 PR binutils/26792
1529 * configure.ac: Use GNU_MAKE_JOBSERVER.
1530 * aclocal.m4: Regenerated.
1531 * configure: Likewise.
1532
6d104cac
NC
15332021-01-12 Nick Clifton <[email protected]>
1534
1535 * po/fr.po: Updated French translation.
1536
83b33c6c
L
15372021-01-11 H.J. Lu <[email protected]>
1538
1539 PR ld/27173
1540 * configure: Regenerated.
1541
82c70b08
KT
15422021-10-11 Kyrylo Tkachov <[email protected]>
1543
1544 * NEWS: Remove CSRE.
1545 * config/tc-aarch64.c (parse_csr_operand): Delete.
1546 (parse_operands): Delete handling of
1547 AARCH64_OPND_CSRE_CSR.
1548 (aarch64_features): Remove csre.
1549 * doc/c-aarch64.texi: Remove CSRE.
1550 * testsuite/gas/aarch64/csre.d: Delete.
1551 * testsuite/gas/aarch64/csre-invalid.s: Likewise.
1552 * testsuite/gas/aarch64/csre-invalid.d: Likewise.
1553 * testsuite/gas/aarch64/csre_csr.s: Likewise.
1554 * testsuite/gas/aarch64/csre_csr.d: Likewise.
1555 * testsuite/gas/aarch64/csre_csr-invalid.s: Likewise.
1556 * testsuite/gas/aarch64/csre_csr-invalid.l: Likewise.
1557 * testsuite/gas/aarch64/csre_csr-invalid.d: Likewise.
1558
a8aa72b9
NC
15592021-01-11 Nick Clifton <[email protected]>
1560
1561 * po/uk.po: Updated Ukranian translation.
1562
a4966cd9
L
15632021-01-09 H.J. Lu <[email protected]>
1564
1565 * configure: Regenerated.
1566
573fe3fb
NC
15672021-01-09 Nick Clifton <[email protected]>
1568
1569 * configure: Regenerate.
1570 * po/gas.pot: Regenerate.
1571
055bc77a
NC
15722021-01-09 Nick Clifton <[email protected]>
1573
1574 * 2.36 release branch crated.
1575
aae7fcb8
PB
15762021-01-08 Peter Bergner <[email protected]>
1577
1578 * testsuite/gas/ppc/rop-checks.d,
1579 * testsuite/gas/ppc/rop-checks.l,
1580 * testsuite/gas/ppc/rop-checks.s,
1581 * testsuite/gas/ppc/rop.d,
1582 * testsuite/gas/ppc/rop.s: New tests.
1583 * testsuite/gas/ppc/ppc.exp: Run them.
1584
64307045
AM
15852021-01-09 Alan Modra <[email protected]>
1586
1587 * configure: Regenerate.
1588
f4782128
ST
15892021-01-07 Samuel Thibault <[email protected]>
1590
1591 * configure: Regenerate.
1592
d1bcae83
L
15932021-01-07 H.J. Lu <[email protected]>
1594
1595 PR 27109
1596 * read.c (s_reloc): Call symbol_mark_used_in_reloc on the
1597 section symbol.
1598 * subsegs.c (subseg_set_rest): Set BSF_SECTION_SYM_USED if needed.
1599 * write.c (adjust_reloc_syms): Call symbol_mark_used_in_reloc
1600 on the section symbol.
1601 (set_symtab): Don't generate unused section symbols.
1602 (maybe_generate_build_notes): Call symbol_mark_used_in_reloc
1603 on the section symbol.
1604 * config/obj-elf.c (elf_adjust_symtab): Call
1605 symbol_mark_used_in_reloc on the group signature symbol.
1606 * testsuite/gas/cfi/cfi-label.d: Remove unused section symbols
1607 from expected output.
1608 * testsuite/gas/elf/elf.exp (run_elf_list_test): Check
1609 is_elf_unused_section_symbols.
1610 * testsuite/gas/elf/section2.e: Updated.
1611 * testsuite/gas/elf/section2.e-unused: New file.
1612 * testsuite/gas/elf/symver.d: Remove unused section symbols.
1613 * testsuite/gas/i386/ilp32/elf/symver.d: Likewise.
1614 * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
1615 * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
1616 * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
1617 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
1618 * testsuite/gas/i386/size-1.d: Likewise.
1619 * testsuite/gas/i386/size-3.d: Likewise.
1620 * testsuite/gas/i386/svr4.d: Likewise.
1621 * testsuite/gas/i386/x86-64-size-1.d: Likewise.
1622 * testsuite/gas/i386/x86-64-size-3.d: Likewise.
1623 * testsuite/gas/i386/x86-64-size-5.d: Likewise.
1624 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1625
aa881ecd
PT
16262021-01-07 Philipp Tomsich <[email protected]>
1627
1628 * config/tc-riscv.c (riscv_multi_subset_supports): Added
1629 INSN_CLASS_ZIHINTPAUSE.
1630 * testsuite/gas/riscv/pause.d: New testcase. Adding coverage for
1631 the pause hint instruction.
1632 * testsuite/gas/riscv/pause.s: Likewise.
1633
2652cfad
CXW
16342021-01-07 Claire Xenia Wolf <[email protected]>
1635 Jim Wilson <[email protected]>
1636 Andrew Waterman <[email protected]>
1637 Maxim Blinov <[email protected]>
1638 Kito Cheng <[email protected]>
1639 Nelson Chu <[email protected]>
1640
1641 * config/tc-riscv.c (riscv_multi_subset_supports): Handle INSN_CLASS_ZB*.
1642 (riscv_get_default_ext_version): Do not check the default_isa_spec when
1643 the version defined in the riscv_opcodes table is ISA_SPEC_CLASS_DRAFT.
1644 * testsuite/gas/riscv/bitmanip-insns-32.d: New testcase.
1645 * testsuite/gas/riscv/bitmanip-insns-64.d: Likewise.
1646 * testsuite/gas/riscv/bitmanip-insns.s: Likewise.
1647
85f55c2b
AM
16482021-01-06 Alan Modra <[email protected]>
1649
1650 * testsuite/gas/sparc/sparc.exp: Move 64-bit tests inside gas_64_check.
1651
22206e84
AM
16522021-01-06 Alan Modra <[email protected]>
1653
1654 * testsuite/gas/macros/app1.d: xfail tic30.
1655 * testsuite/gas/macros/app2.d: Likewise.
1656 * testsuite/gas/macros/app3.d: Likewise.
1657 * testsuite/gas/macros/app4.d: Likewise.
1658
286d2f2c
MC
16592021-01-06 Marcus Comstedt <[email protected]>
1660
1661 * doc/as.texi: Add -mlittle-endian and -mbig-endian to docs.
1662 * doc/c-riscv.texi: Likewise.
1663
f36ce378
MC
16642021-01-06 Marcus Comstedt <[email protected]>
1665
1666 * testsuite/gas/riscv/li32.d: Accept bigriscv in addition
1667 to littleriscv.
1668 * testsuite/gas/riscv/li64.d: Likewise.
1669 * testsuite/gas/riscv/lla32.d: Likewise.
1670 * testsuite/gas/riscv/lla64.d: Likewise.
1671 * testsuite/gas/riscv/march-ok-g2.d: Likewise.
1672 * testsuite/gas/riscv/march-ok-g2_p1.d: Likewise.
1673 * testsuite/gas/riscv/march-ok-g2p0.d: Likewise.
1674 * testsuite/gas/riscv/march-ok-i2p0.d: Likewise.
1675 * testsuite/gas/riscv/march-ok-i2p0m2_a2f2.d: Likewise.
1676 * testsuite/gas/riscv/march-ok-nse-with-version.d: Likewise.
1677 * testsuite/gas/riscv/march-ok-two-nse.d: Likewise.
1678
fbc09e7a
MC
16792021-01-06 Marcus Comstedt <[email protected]>
1680
1681 * config/tc-riscv.c (riscv_target_format): Add elf64-bigriscv and
1682 elf32-bigriscv.
1683 (install_insn): Always write instructions as little endian.
1684 (riscv_make_nops): Likewise.
1685 (md_convert_frag_branch): Likewise.
1686 (md_number_to_chars): Write data in target endianness.
1687 (options, md_longopts): Add -mbig-endian and -mlittle-endian options.
1688 (md_parse_option): Handle the endian options.
1689 * config/tc-riscv.h: Only define TARGET_BYTES_BIG_ENDIAN if not
1690 already defined.
1691 * configure.tgt: Added riscv64be*, riscv32be*, riscvbe*.
1692
cd6d537c
L
16932021-01-04 H.J. Lu <[email protected]>
1694
1695 PR ld/26256
1696 * config/obj-elf.c (obj_elf_change_section): Also filter out
1697 SHF_LINK_ORDER.
1698
dd933805
AM
16992021-01-04 Alan Modra <[email protected]>
1700
1701 PR 27102
1702 * symbols.c (S_SET_EXTERNAL): Revise section symbol warning
1703 message and register symbol error message.
1704
90320e40
AM
17052021-01-04 Alan Modra <[email protected]>
1706
1707 PR 27101
1708 * read.c (s_align): Use a large enough type for "align" to hold
1709 the result of get_absolute_expression.
1710
f9a6a8f0
AM
17112021-01-01 Nicolas Boulenguez <[email protected]>
1712
1713 * config/tc-i386.c: Correct comment spelling.
1714 * config/tc-riscv.c: Likewise.
1715 * config/tc-s390.c: Correct comment grammar.
1716 * doc/c-i386.texi: Correct spelling.
1717 * doc/c-s390.texi: Correct grammar.
1718
250d07de
AM
17192021-01-01 Alan Modra <[email protected]>
1720
1721 Update year range in copyright notice of all files.
1722
64d05a43
HPN
17232021-01-01 Hans-Peter Nilsson <[email protected]>
1724
1725 * config/tc-mmix.h (md_single_noop_insn): Change to "swym 0".
1726
c2795844 1727For older changes see ChangeLog-2020
3499769a 1728\f
c2795844 1729Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
1730
1731Copying and distribution of this file, with or without modification,
1732are permitted in any medium without royalty provided the copyright
1733notice and this notice are preserved.
1734
1735Local Variables:
1736mode: change-log
1737left-margin: 8
1738fill-column: 74
1739version-control: never
1740End:
This page took 0.893919 seconds and 4 git commands to generate.