]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/ChangeLog
x86: use UNIX EOL in secrel testcase
[thirdparty/binutils-gdb.git] / gas / ChangeLog
CommitLineData
3e301ce0
JB
12021-05-03 Jan Beulich <jbeulich@suse.com>
2
3 * testsuite/gas/i386/secrel.d, testsuite/gas/i386/secrel.s:
4 Convert Windows to UNIX EOL.
5
deea4973
JB
62021-05-03 Jan Beulich <jbeulich@suse.com>
7
8 * config/tc-i386.c (lex_got): Adjust surrounding #if. Fold TE_PE
9 variant into ELF one.
10
db543a7d
AM
112021-05-03 Alan Modra <amodra@gmail.com>
12
13 * testsuite/gas/elf/section25.s: Don't start directives in first
14 column.
15 * testsuite/gas/elf/section26.s: Likewise.
16
a2443c89
JB
172021-04-29 Jan Beulich <jbeulich@suse.com>
18
19 * testsuite/gas/i386/i386.exp: Move x86-64-rip-2 invocation.
20 * testsuite/gas/i386/lea64.d,
21 testsuite/gas/i386/lea64-optimize.d: Allow for COFF relocs.
22 * testsuite/gas/i386/x86-64-rip-inval-1.s,
23 testsuite/gas/i386/x86-64-rip-inval-2.s. Add .end.
24
3abbafc2
JB
252021-04-29 Jan Beulich <jbeulich@suse.com>
26
27 * config/tc-i386.c (i386_validate_fix): Change return type to
28 int. Short-circuit BFD_RELOC_SIZE* handling.
29 (tc_gen_reloc): New local variable sym. Extend logic when
30 processing BFD_RELOC_SIZE*.
31 * config/tc-i386.f (i386_validate_fix): Change return type to
32 int.
33 (TC_VALIDATE_FIX): Proceed to SKIP when i386_validate_fix()
34 returns zero.
35 * testsuite/gas/i386/size-5.s, testsuite/gas/i386/size-5a.d,
36 testsuite/gas/i386/size-5b.d: New.
37 * testsuite/gas/i386/i386.exp: Run new tests.
38
44f87162
JB
392021-04-29 Jan Beulich <jbeulich@suse.com>
40
41 * config/tc-i386.c (tc_gen_reloc): Use section size for section
42 symbols when resolving BFD_RELOC_SIZE*.
43 * testsuite/gas/i386/size-2.s: Add section size cases.
44 * testsuite/gas/i386/size-2.d,
45 testsuite/gas/i386/x86-64-size-2.d: Adjust expectations.
46
eb19308f
JB
472021-04-28 Jan Beulich <jbeulich@suse.com>
48 H.J. Lu <hjl.tools@gmail.com>
49
50 PR gas/27763
51 * config/tc-i386.c (output_jump): Also mark 2-byte relocs as
52 signed for XBEGIN. Also mark 4-byte relocs as signed for 64-bit.
53 (output_disp): Also mark 4-byte relocs as signed for 64-bit.
54 (md_estimate_size_before_relax): Move local variable fixP. Set
55 it from fix_new() return values. Mark 4-byte relocs as signed
56 for 64-bit.
57 * testsuite/gas/i386/pcrel64.s, testsuite/gas/i386/pcrel64.l,
58 * testsuite/gas/i386/x86-64-rip-2.s,
59 * testsuite/gas/i386/x86-64-rip-2.d,
60 * testsuite/gas/i386/x86-64-rip-inval-1.s,
61 * testsuite/gas/i386/x86-64-rip-inval-1.l,
62 * testsuite/gas/i386/x86-64-rip-inval-2.s,
63 * testsuite/gas/i386/x86-64-rip-inval-2.l: New.
64 * testsuite/gas/i386/i386.exp: Run new tests.
65
60cfa10c
L
662021-04-27 H.J. Lu <hongjiu.lu@intel.com>
67
68 * config/tc-i386.c (optimize_encoding): Add () to silence GCC 5.
69
8fb88245
JB
702021-04-26 Jan Beulich <jbeulich@suse.com>
71
72 * config/tc-i386.c (tc_gen_reloc): Check IS_ELF for
73 BFD_RELOC_SIZE*.
74
d965814f
JB
752021-04-26 Jan Beulich <jbeulich@suse.com>
76
77 * config/tc-i386.c (tc_gen_reloc): Limit BFD_RELOC_SIZE32
78 overflow check to 64-bit objects.
79
fe134c65
JB
802021-04-26 Jan Beulich <jbeulich@suse.com>
81
82 * config/tc-i386.c (want_disp32): Also check for SIZE32.
83 (optimize_encoding): Handle LEA.
84 * testsuite/gas/i386/lea.s, testsuite/gas/i386/lea.d,
85 testsuite/gas/i386/lea.e, testsuite/gas/i386/lea-optimize.d:
86 Add many more forms.
87 * testsuite/gas/i386/lea16.s, testsuite/gas/i386/lea16-optimize.d,
88 testsuite/gas/i386/lea64.s, testsuite/gas/i386/lea64.d,
89 testsuite/gas/i386/lea64.e, testsuite/gas/i386/lea64-optimize.d:
90 New.
91 * testsuite/gas/i386/i386.exp: Run new tests.
92
b8188555
JB
932021-04-26 Jan Beulich <jbeulich@suse.com>
94
95 * config/tc-i386.c (md_apply_fix): Mark BFD_RELOC_X86_64_32S as
96 signed.
97 * testsuite/gas/i386/x86-64-addr32-bad.s,
98 testsuite/gas/i386/x86-64-addr32-bad.l: New.
99 * testsuite/gas/i386/i386.exp: Run new test.
100
f5e98b7d
EB
1012021-04-23 Eric Botcazou<ebotcazou@adacore.com>
102
103 * testsuite/gas/elf/section25.d: Run it everywhere.
104 * testsuite/gas/elf/section26.d: Likewise.
105 * testsuite/gas/elf/section26.s: Add test for .persistent.bss.
106
d039200a
G
1072021-04-23 Jérôme Gardou <jerome.gardou@gmail.com>
108
109 * config/obj-coff-seh.c (obj_coff_seh_pushframe): Allow an
110 optional "code" argument.
111
a9aabc23
JB
1122021-04-23 Jan Beulich <jbeulich@suse.com>
113
114 * config/tc-i386.c (want_disp32): New.
115 (md_assemble): Use it.
116 (optimize_disp): Likewise.
117 (build_modrm_byte): Likewise.
118
cce08655
JB
1192021-04-23 Jan Beulich <jbeulich@suse.com>
120
121 * config/tc-i386.c (i386_finalize_displacement): Move Disp32S
122 check ...
123 (md_assemble): ... here.
124
28a167a4
JB
1252021-04-23 Jan Beulich <jbeulich@suse.com>
126
127 * config/tc-i386.c (optimize_disp): Move down BFD64 section.
128 Move up setting of disp32.
129
7b025ee8
JB
1302021-04-23 Jan Beulich <jbeulich@suse.com>
131
132 * config/tc-i386.c (pe): Don't truncate expression value.
133 (i386_finalize_displacement): Likewise.
134
23356397
NC
1352021-04-21 Nick Clifton <nickc@redhat.com>
136
137 * testsuite/gas/aarch64/dwarf.d: Adjust expected output to allow
138 for named section symbols.
139 * testsuite/gas/arm/thumbver.d: Likewise.
140 * testsuite/gas/bfin/loop_temps.d: Likewise.
141 * testsuite/gas/elf/section2.e-arc: Likewise.
142 * testsuite/gas/elf/section2.e-arm: Likewise.
143 * testsuite/gas/elf/section2.e-csky: Likewise.
144 * testsuite/gas/elf/section2.e-m32r: Likewise.
145 * testsuite/gas/elf/section2.e-mips: Likewise.
146 * testsuite/gas/elf/section2.e-msp430: Likewise.
147 * testsuite/gas/elf/section2.e-riscv: Likewise.
148 * testsuite/gas/elf/section2.e-rl78: Likewise.
149 * testsuite/gas/elf/section2.e-rx: Likewise.
150 * testsuite/gas/elf/section2.e-score: Likewise.
151 * testsuite/gas/elf/section2.e-tic6x: Likewise.
152 * testsuite/gas/elf/section2.e-unused: Likewise.
153 * testsuite/gas/elf/section2.e-v850: Likewise.
154 * testsuite/gas/elf/section2.e-xtensa: Likewise.
155 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
156 * testsuite/gas/ia64/alias.d: Likewise.
157 * testsuite/gas/ia64/global.d: Likewise.
158 * testsuite/gas/microblaze/relax_size.elf: Likewise.
159 * testsuite/gas/microblaze/relax_size2.elf: Likewise.
160 * testsuite/gas/mips/global-local-symtab-sort-n64t.d: Likewise.
161 * testsuite/gas/mips/global-local-symtab-sort-o32t.d: Likewise.
162 * testsuite/gas/mmix/bspec-1.d: Likewise.
163 * testsuite/gas/mmix/byte-1.d: Likewise.
164 * testsuite/gas/mmix/comment-1.d: Likewise.
165 * testsuite/gas/mmix/loc-1.d: Likewise.
166 * testsuite/gas/mmix/loc-2.d: Likewise.
167 * testsuite/gas/mmix/loc-3.d: Likewise.
168 * testsuite/gas/mmix/loc-4.d: Likewise.
169 * testsuite/gas/mmix/loc-5.d: Likewise.
170 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
171
c5df7e44
CC
1722021-04-20 Clément Chigot <clement.chigot@atos.net>
173
174 PR binutils/21700
175 * config/tc-ppc.c (ppc_get_csect_to_adjust): New function.
176 (ppc_fix_adjustable): Manage fx_subsy part.
177 (tc_gen_reloc): Create second relocation when both
178 fx_addsy and fx_subsy are provided.
179 * config/tc-ppc.h (RELOC_EXPANSION_POSSIBLE): New define.
180 (MAX_RELOC_EXPANSION): Likewise.
181 (TC_FORCE_RELOCATION_SUB_SAME): Likewise
182 (UNDEFINED_DIFFERENCE_OK): Likewise
183 * testsuite/gas/all/gas.exp: Skip difference between two
184 undefined symbols test.
185
8d6502d2
NC
1862021-04-19 Nick Clifton <nickc@redhat.com>
187
188 * testsuite/gas/all/gas.exp: Add rs6000*-*-aix* to the list of
189 targets which should skip the undefined symbols test.
190
02202574
PW
1912021-04-19 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
192
193 * NEWS: Update news.
194 * testsuite/gas/aarch64/rme.d: Update test.
195 * testsuite/gas/aarch64/rme.s: Update test.
196
cd6608e4
PW
1972021-04-19 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
198
199 * testsuite/gas/aarch64/rme.d: Update test.
200 * testsuite/gas/aarch64/rme.s: Update test.
201
9a8041fd
JB
2022021-04-19 Jan Beulich <jbeulich@suse.com>
203
204 * as.h (sprint_value): Delete.
205 * messages.c (sprint_value): Likewise.
206 * config/tc-i386.c (offset_in_range): Use bfd_sprintf_vma in
207 place of sprint_value.
208 * config/tc-s390.c (s390_insert_operand): Likewise.
209 * doc/internals.texi (sprint_value): Delete section.
210 * write.c (fixup_segment): Likewise.
211 (relax_segment): Likewise.
212
100e914d
PW
2132021-04-16 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
214
215 * testsuite/gas/aarch64/rme-invalid.d: New test.
216 * testsuite/gas/aarch64/rme-invalid.l: New test.
217 * testsuite/gas/aarch64/rme-invalid.s: New test.
218 * testsuite/gas/aarch64/rme.d: New test.
219 * testsuite/gas/aarch64/rme.s: New test.
220
768589d1
NC
2212021-04-16 Nelson Chu <nelson.chu@sifive.com>
222
223 PR 27436
224 * config/tc-riscv.c (riscv_ip): make operand C> work the same as >.
225 * testsuite/gas/riscv/shamt-32.d: New testcase.
226 * testsuite/gas/riscv/shamt-32.l: Likewise.
227 * testsuite/gas/riscv/shamt-32.s: Likewise.
228 * testsuite/gas/riscv/shamt-64.d: Likewise.
229 * testsuite/gas/riscv/shamt-64.l: Likewise.
230 * testsuite/gas/riscv/shamt-64.s: Likewise.
231
a21b96dd
NC
2322021-04-16 Lifang Xia <lifang_xia@c-sky.com>
233
234 * testsuite/gas/riscv/c-zero-imm.d: Compress addi a4,a4,0 to
235 c.mv a4,a4.
236 * testsuite/gas/riscv/c-zero-imm.s: Likewise.
237
d20eb466
AM
2382021-04-14 Alan Modra <amodra@gmail.com>
239
240 PR 27723
241 * dw2gencfi.c (initial_cie_insn): New function, extracted from..
242 (select_cie_for_fde): ..here. Simplify.
243
c159f352
AM
2442021-04-14 Alan Modra <amodra@gmail.com>
245
246 PR 27723
247 * dw2gencfi.c (select_cie_for_fde): Handle DW_CFA_val_offset,
248 DW_CFA_GNU_window_save and DW_CFA_restore_state.
249
4bb920c6
AM
2502021-04-13 Alan Modra <amodra@gmail.com>
251
252 * testsuite/gas/m68hc11/m68hc11.exp (gas_m68hc11_message): Don't
253 write to $srcdir. Use gas_host_run and read output file rather
254 than gas_start/gas_finish.
255
32d71569
AM
2562021-04-12 Alan Modra <amodra@gmail.com>
257
258 * config/tc-ppc.c (insn_validate): Use uint64_t for operand values.
259 (md_assemble): Likewise. Handle bignum operands.
260 (ppc_elf_suffix): Handle O_big. Remove unnecessary input_line_pointer
261 check.
262 * expr.c: Delete unnecessary forward declarations.
263 (generic_bignum_to_int32): Return uint32_t.
264 (generic_bignum_to_int64): Return uint64_t. Compile always.
265 (operand): Twiddle X_extrabit for unary '~'. Set X_unsigned and
266 clear X_extrabit for unary '!'.
267 * expr.h (generic_bignum_to_int32): Declare.
268 (generic_bignum_to_int64): Declare.
269 * testsuite/gas/ppc/prefix-pcrel.s,
270 * testsuite/gas/ppc/prefix-pcrel.d: Add more instructions.
271
e601909a
NC
2722021-04-12 Nelson Chu <nelson.chu@sifive.com>
273
274 * testsuite/gas/riscv/march-fail-order-x-std.d: Renamed from
275 march-fail-porder-x-std.d.
276 * testsuite/gas/riscv/march-fail-order-z-std.d: Renamed from
277 march-fail-porder-z-std.d.
278 * testsuite/gas/riscv/march-fail-order-x-z.d: Renamed from
279 march-fail-porder-x-z.d.
280 * testsuite/gas/riscv/march-fail-order-zx-std.l: Added to replace
281 march-fail-porder.l.
282 * testsuite/gas/riscv/march-fail-order-x-z.l: Likewise.
283 * testsuite/gas/riscv/march-fail-order-x.l: Updated.
284 * testsuite/gas/riscv/march-fail-order-z.l: Likewise.
285 * testsuite/gas/riscv/march-fail-single-prefix-h.d: Renamed from
286 march-fail-single-char-h.d.
287 * testsuite/gas/riscv/march-fail-single-prefix-s.d: Renamed from
288 march-fail-single-char-s.d.
289 * testsuite/gas/riscv/march-fail-single-prefix-x.d: Renamed from
290 march-fail-single-char-x.d.
291 * testsuite/gas/riscv/march-fail-single-prefix-z.d: Renamed from
292 march-fail-single-char-z.d.
293 * testsuite/gas/riscv/march-fail-single-prefix-zmx.d: Added.
294 * testsuite/gas/riscv/march-fail-single-prefix.l: Added to replace
295 march-fail-single-prefix.l.
296 * testsuite/gas/riscv/march-fail-unknown-zxm.d: Added.
297 * testsuite/gas/riscv/march-fail-unknown-std.l: Updated.
298 * testsuite/gas/riscv/march-fail-unknown.l: Likewise.
299
dd170203
TB
3002021-04-09 Tejas Belagod <tejas.belagod@arm.com>
301
32d71569
AM
302 * config/tc-aarch64.c (warn_unpredictable_ldst): Clean-up
303 diagnostic messages for LD/ST Exclusive instructions.
dd170203 304 * testsuite/gas/aarch64/diagnostic.s: Add a diagnostic test for STLXP.
32d71569
AM
305 * testsuite/gas/aarch64/diagnostic.l: Fix-up test after message
306 clean-up.
dd170203 307
c3f72de4
AM
3082021-04-09 Alan Modra <amodra@gmail.com>
309
310 * testsuite/gas/ppc/prefix-pcrel.d: Update expected output.
311 * testsuite/gas/ppc/prefix-reloc.d: Likewise.
312 * gas/testsuite/gas/ppc/vsx_32byte.d: Likewise.
313
97bf40d8
AM
3142021-04-08 Alan Modra <amodra@gmail.com>
315
316 * testsuite/gas/ppc/pr27676.d,
317 * testsuite/gas/ppc/pr27676.s: New test.
318 * testsuite/gas/ppc/ppc.exp: Run it.
319 * testsuite/gas/ppc/dcbt.d: Update.
320 * testsuite/gas/ppc/power4_32.d: Update.
321
b12389f2
AM
3222021-04-07 Alan Modra <amodra@gmail.com>
323
324 PR 27217
325 * testsuite/gas/aarch64/pr27217.d: Correct name. Accept ilp32 relocs.
326
eac4eb8e
NC
3272021-04-06 Nick Clifton <nickc@redhat.com>
328
329 PR 27217
330 * config/tc-aarch64.c (my_get_expression): Rename to
331 aarch64_get_expression. Add a fifth argument to enable deferring
332 of expression resolution.
333 (parse_typed_reg): Update calls to my_get_expression.
334 (parse_vector_reg_list): Likewise.
335 (parse_immediate_expression): Likewise.
336 (parse_big_immediate): Likewise.
337 (parse_shift): Likewise.
338 (parse_shifter_operand_imm): Likewise.
339 (parse_operands): Likewise.
340 (parse_shifter_operand_reloc): Update calls to my_get_expression
341 and call aarch64_force_reloc to determine the value of the new
342 fifth argument.
343 (parse_address_main): Likewise.
344 (parse_half): Likewise.
345 (parse_adrp): Likewise.
346 (aarch64_force_reloc): New function. Contains code extracted from...
347 (aarch64_force_relocation): ... here.
348 * testsuite/gas/aarch64/pr27217.s: New test case.
349 * testsuite/gas/aarch64/pr27217.d: New test driver.
350
da0835ae
JB
3512021-04-06 Jan Beulich <jbeulich@suse.com>
352
353 * write.c (fixup_segment): Move add_symbol_segment declaration
354 into main loop.
355
23d61380
AM
3562021-04-05 Alan Modra <amodra@gmail.com>
357
358 * configure.ac: Don't check for string.h, strings.h, stdlib.h,
359 errno.h, limits.h, locale.h or time.h. Don't check for unlink,
360 remove, sbrk (unused) or setlocale. Adjust gas_test_headers.
361 Don't check for errno, free, malloc, realoc, sbrk, strstr, getenv
362 strstr, or vsnprintf declarations.
363 (AC_ISC_POSIX, AC_FUNC_ALLOCA, AC_C_INLINE): Don't invoke.
364 * as.h: Don't include alloca-conf.h, include config.h instead.
365 Include string.h, stdlib.h, errno.h unconditionally. Remove
366 various fallback declarations.
367 * asintl.h: Don't test HAVE_LOCALE_H.
368 * as.c: Don't test HAVE_SETLOCALE.
369 * dwarf2dbg.c: Include limits.h unconditionally.
370 * expr.c: Likewise.
371 * sb.c: Likewise.
372 * symbols.c: Likewise.
373 * config/tc-cr16.c: Likewise.
374 * config/tc-d30v.c: Likewise.
375 * config/tc-i386.c: Likewise.
376 * config/tc-ia64.c: Likewise.
377 * config/tc-tic54x.c (tic54x_mlib): Call remove rather than unlink.
378 * config.in: Regenerate.
379 * configure: Regenerate.
380 * Makefile.in: Regenerate.
381 * doc/Makefile.in: Regenerate.
382
e9b095a5
ML
3832021-04-01 Martin Liska <mliska@suse.cz>
384
385 * config/obj-coff.c (strneq): Remove strneq and use startswith.
386 (weak_is_altname): Likewise.
387 (obj_coff_section): Likewise.
388 * config/tc-cr16.c (process_label_constant): Likewise.
389 * config/tc-crx.c (strneq): Likewise.
390
d34049e8
ML
3912021-04-01 Martin Liska <mliska@suse.cz>
392
393 * as.c (select_emulation_mode): Use startswith.
394 * config/m68k-parse.y: Likewise.
395 * config/obj-aout.c (obj_aout_type): Likewise.
396 * config/obj-elf.c (elf_common_parse): Likewise.
397 (obj_elf_section_type): Likewise.
398 (obj_elf_section_word): Likewise.
399 (obj_elf_section): Likewise.
400 (obj_elf_symver): Likewise.
401 (adjust_stab_sections): Likewise.
402 * config/obj-evax.c (evax_shorten_name): Likewise.
403 * config/obj-macho.c (obj_mach_o_is_frame_section): Likewise.
404 * config/tc-aarch64.c (parse_aarch64_imm_float): Likewise.
405 (aarch64_parse_features): Likewise.
406 (create_register_alias): Likewise.
407 (aarch64_data_in_code): Likewise.
408 (md_parse_option): Likewise.
409 * config/tc-alpha.c (s_alpha_section_word): Likewise.
410 (s_alpha_pdesc): Likewise.
411 * config/tc-arc.c (tokenize_extregister): Likewise.
412 * config/tc-arm.c (create_register_alias): Likewise.
413 (create_neon_reg_alias): Likewise.
414 (parse_ifimm_zero): Likewise.
415 (parse_qfloat_immediate): Likewise.
416 (arm_elf_section_type): Likewise.
417 (arm_parse_extension): Likewise.
418 (aeabi_set_public_attributes): Likewise.
419 (s_arm_arch_extension): Likewise.
420 (arm_data_in_code): Likewise.
421 (start_unwind_section): Likewise.
422 * config/tc-avr.c (avr_ldi_expression): Likewise.
423 * config/tc-csky.c (is_freglist_legal): Likewise.
424 (csky_s_section): Likewise.
425 * config/tc-d30v.c (do_assemble): Likewise.
426 * config/tc-dlx.c (parse_operand): Likewise.
427 * config/tc-epiphany.c (md_assemble): Likewise.
428 * config/tc-h8300.c (h8300_elf_section): Likewise.
429 (get_operand): Likewise.
430 * config/tc-hppa.c (pa_ip): Likewise.
431 (pa_level): Likewise.
432 (pa_space): Likewise.
433 * config/tc-i386.c (i386_mach): Likewise.
434 (md_assemble): Likewise.
435 (check_VecOperations): Likewise.
436 (i386_target_format): Likewise.
437 (i386_elf_section_type): Likewise.
438 * config/tc-ia64.c (start_unwind_section): Likewise.
439 (md_parse_option): Likewise.
440 (is_taken_branch): Likewise.
441 (idesc->name,): Likewise.
442 (note_register_values): Likewise.
443 (do_alias): Likewise.
444 * config/tc-m32c.c (insn_to_subtype): Likewise.
445 * config/tc-m68hc11.c (get_operand): Likewise.
446 (md_assemble): Likewise.
447 * config/tc-m68k.c (m68k_ip): Likewise.
448 (m68k_elf_suffix): Likewise.
449 * config/tc-mcore.c (mcore_s_section): Likewise.
450 * config/tc-metag.c (parse_get_set): Likewise.
451 (md_parse_option): Likewise.
452 * config/tc-microblaze.c (parse_imm): Likewise.
453 (check_got): Likewise.
454 (md_apply_fix): Likewise.
455 * config/tc-mips.c (CPU_HAS_MIPS16): Likewise.
456 (md_begin): Likewise.
457 (s_is_linkonce): Likewise.
458 (check_regno): Likewise.
459 (match_float_constant): Likewise.
460 (classify_vr4120_insn): Likewise.
461 (match_insn): Likewise.
462 (mips_after_parse_args): Likewise.
463 (s_change_sec): Likewise.
464 (s_option): Likewise.
465 (parse_code_option): Likewise.
466 (md_section_align): Likewise.
467 (nopic_need_relax): Likewise.
468 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
469 * config/tc-mn10300.c (mn10300_fix_adjustable): Likewise.
470 (mn10300_end_of_match): Likewise.
471 * config/tc-msp430.c (msp430_make_init_symbols): Likewise.
472 * config/tc-nds32.c (nds32_parse_option): Likewise.
473 * config/tc-nds32.h (md_do_align): Likewise.
474 * config/tc-nios2.c (strprefix): Likewise.
475 (nios2_special_relocation_p): Likewise.
476 (nios2_parse_base_register): Likewise.
477 (nios2_cons): Likewise.
478 * config/tc-ns32k.c (addr_mode): Likewise.
479 * config/tc-pdp11.c (set_option): Likewise.
480 (parse_reg): Likewise.
481 (parse_ac5): Likewise.
482 (parse_op_no_deferred): Likewise.
483 (set_cpu_model): Likewise.
484 (set_machine_model): Likewise.
485 * config/tc-pj.c (md_operand): Likewise.
486 * config/tc-ppc.c (ppc_set_cpu): Likewise.
487 (ppc_arch): Likewise.
488 (ppc_section_type): Likewise.
489 * config/tc-s12z.c (tb_reg_rel): Likewise.
490 (tb_opr_rel): Likewise.
491 * config/tc-s390.c (s390_parse_cpu): Likewise.
492 (md_parse_option): Likewise.
493 * config/tc-score.c (s3_nopic_need_relax): Likewise.
494 (s3_pic_need_relax): Likewise.
495 * config/tc-score7.c (s7_nopic_need_relax): Likewise.
496 (s7_pic_need_relax): Likewise.
497 * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise.
498 * config/tc-sparc.c (md_parse_option): Likewise.
499 (sparc_ip): Likewise.
500 (s_reserve): Likewise.
501 (s_common): Likewise.
502 (s_seg): Likewise.
503 (sparc_cons): Likewise.
504 * config/tc-tic54x.c (stag_add_field): Likewise.
505 (tic54x_endstruct): Likewise.
506 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
507 * config/tc-v850.c (v850_comm): Likewise.
508 (md_begin): Likewise.
509 (md_assemble): Likewise.
510 * config/tc-vax.c (vax_cons): Likewise.
511 * config/tc-wasm32.c (wasm32_leb128): Likewise.
512 * config/tc-xstormy16.c (md_operand): Likewise.
513 * config/tc-xtensa.c (get_directive): Likewise.
514 (xg_instruction_matches_option_term): Likewise.
515 (is_unaligned_label): Likewise.
516 (cache_literal_section): Likewise.
517 * config/xtensa-relax.c (parse_precond): Likewise.
518 (parse_option_cond): Likewise.
519 (transition_applies): Likewise.
520 (wide_branch_opcode): Likewise.
521 * dw2gencfi.c: Likewise.
522 * dwarf2dbg.c (dwarf2_directive_filename): Likewise.
523 * ehopt.c (get_cie_info): Likewise.
524 * input-file.c (input_file_open): Likewise.
525 * listing.c (listing_newline): Likewise.
526 (debugging_pseudo): Likewise.
527 * read.c (read_a_source_file): Likewise.
528 * write.c (adjust_reloc_syms): Likewise.
529 (compress_debug): Likewise.
530 (maybe_generate_build_notes): Likewise.
531
fdb21288
AM
5322021-03-31 Alan Modra <amodra@gmail.com>
533
534 * itbl-lex-wrapper.c: Include as.h not sysdep.h.
535 * config/bfin-lex-wrapper.c: Likewise.
536 * itbl-lex.l: Don't include as.h.
537 * config/bfin-lex.l: Likewise.
538
5b7c81bd
AM
5392021-03-31 Alan Modra <amodra@gmail.com>
540
541 * as.h (POISON_BFD_BOOLEAN): Define.
542 * as.c, * as.h, * atof-generic.c, * config/atof-ieee.c,
543 * config/bfin-aux.h, * config/obj-coff.c, * config/obj-ecoff.c,
544 * config/obj-elf.c, * config/obj-elf.h, * config/obj-som.c,
545 * config/tc-aarch64.c, * config/tc-alpha.c, * config/tc-arc.c,
546 * config/tc-arc.h, * config/tc-arm.c, * config/tc-arm.h,
547 * config/tc-avr.c, * config/tc-avr.h, * config/tc-bfin.c,
548 * config/tc-bfin.h, * config/tc-bpf.c, * config/tc-cris.c,
549 * config/tc-csky.c, * config/tc-csky.h, * config/tc-d10v.c,
550 * config/tc-d10v.h, * config/tc-d30v.c, * config/tc-d30v.h,
551 * config/tc-dlx.c, * config/tc-dlx.h, * config/tc-epiphany.c,
552 * config/tc-epiphany.h, * config/tc-fr30.c, * config/tc-fr30.h,
553 * config/tc-frv.c, * config/tc-frv.h, * config/tc-ft32.c,
554 * config/tc-ft32.h, * config/tc-h8300.c, * config/tc-hppa.c,
555 * config/tc-i386-intel.c, * config/tc-i386.c, * config/tc-ia64.c,
556 * config/tc-ip2k.c, * config/tc-iq2000.c, * config/tc-iq2000.h,
557 * config/tc-lm32.c, * config/tc-lm32.h, * config/tc-m32c.c,
558 * config/tc-m32c.h, * config/tc-m32r.c, * config/tc-m32r.h,
559 * config/tc-m68hc11.c, * config/tc-m68k.c, * config/tc-mcore.c,
560 * config/tc-mcore.h, * config/tc-mep.c, * config/tc-mep.h,
561 * config/tc-metag.c, * config/tc-metag.h,
562 * config/tc-microblaze.c, * config/tc-mips.c, * config/tc-mips.h,
563 * config/tc-mmix.c, * config/tc-mn10200.c, * config/tc-mn10300.c,
564 * config/tc-mn10300.h, * config/tc-moxie.c, * config/tc-msp430.c,
565 * config/tc-msp430.h, * config/tc-mt.c, * config/tc-mt.h,
566 * config/tc-nds32.c, * config/tc-nds32.h, * config/tc-nios2.c,
567 * config/tc-ns32k.c, * config/tc-or1k.c, * config/tc-or1k.h,
568 * config/tc-pdp11.c, * config/tc-ppc.c, * config/tc-pru.c,
569 * config/tc-pru.h, * config/tc-riscv.c, * config/tc-riscv.h,
570 * config/tc-rx.c, * config/tc-rx.h, * config/tc-s12z.c,
571 * config/tc-s12z.h, * config/tc-s390.c, * config/tc-score.c,
572 * config/tc-score.h, * config/tc-score7.c, * config/tc-sh.c,
573 * config/tc-sh.h, * config/tc-spu.c, * config/tc-tic54x.c,
574 * config/tc-tic6x.c, * config/tc-tic6x.h, * config/tc-tilegx.c,
575 * config/tc-tilepro.c, * config/tc-v850.c, * config/tc-v850.h,
576 * config/tc-visium.c, * config/tc-visium.h, * config/tc-wasm32.c,
577 * config/tc-wasm32.h, * config/tc-xc16x.c, * config/tc-xgate.c,
578 * config/tc-xstormy16.c, * config/tc-xstormy16.h,
579 * config/tc-xtensa.c, * config/tc-xtensa.h, * config/tc-z80.c,
580 * config/tc-z8k.c, * config/xtensa-istack.h,
581 * config/xtensa-relax.c, * config/xtensa-relax.h, * dw2gencfi.c,
582 * dwarf2dbg.c, * dwarf2dbg.h, * expr.c, * expr.h, * frags.c,
583 * frags.h, * listing.c, * macro.c, * output-file.c, * read.c,
584 * read.h, * stabs.c, * symbols.c, * write.c: Replace bfd_boolean
585 with bool, FALSE with false, and TRUE with true.
586
3dfb1b6d
AM
5872021-03-31 Alan Modra <amodra@gmail.com>
588
589 * config/tc-aarch64.c: Include stdint.h in place of bfd_stdint.h.
590 * config/tc-crx.c: Likewise.
591 * config/tc-nds32.h: Likewise.
592
5e042380
JB
5932021-03-30 Jan Beulich <jbeulich@suse.com>
594
595 * config/tc-i386.c (build_modrm_byte): Change return type.
596 Change type of "default_seg". Use NULL. Adjust setting of
597 "default_seg".
598 (reg_ds, reg_es, reg_ss): New.
599 (struct _i386_insn): Change type of seg[].
600 (md_begin): Initialize reg_ds, reg_es, and reg_ss.
601 (swap_operands): Change type of "temp_seg".
602 (check_string): Adjust %es check.
603 (process_operands): Change type of "default_seg". Use NULL.
604 Adjust segment override processing..
605 (i386_att_operand): Adjust segment override handling.
606 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
607
34684862
JB
6082021-03-30 Jan Beulich <jbeulich@suse.com>
609
610 * config/tc-i386.c (reg_eax): New.
611 (md_begin): Initialize reg_eax.
612 * config/tc-i386-intel.c (i386_intel_simplify_register): Use
613 reg_eax.
614 (i386_intel_simplify): Likewise.
615
6288d05f
JB
6162021-03-30 Jan Beulich <jbeulich@suse.com>
617
618 * config/tc-i386.c (reg_st0): New.
619 (md_begin): Convert to switch(). Initialize reg_st0. Don't
620 insert other st(N).
621 (parse_real_register): Adjust st(N) processing.
622
ca5312a2
JB
6232021-03-30 Jan Beulich <jbeulich@suse.com>
624
625 * config/tc-i386.c (rc_op): Delete.
626 (struct Rounding_Operation): Move ...
627 (struct _i386_insn): ... here. Change field "rounding".
628 (build_evex_prefix): Adjust rounding processing.
629 (swap_2_operands): Likewise.
630 (check_VecOperands): Likewise.
631 (RC_SAE_immediate): Likewise.
632 (optimize_encoding): Adjust check for rounding.
633 (build_modrm_byte): Likewise.
634 (output_imm): Likewise.
635 (md_assemble): Initialize rounding type.
636
5273a3cd
JB
6372021-03-30 Jan Beulich <jbeulich@suse.com>
638
639 * config/tc-i386.c (broadcast_op): Delete.
640 (struct Broadcast_Operation): Move ...
641 (struct _i386_insn): ... here. Change field "broadcast".
642 (match_mem_size): Adjust check for broadcast.
643 (optimize_encoding): Likewise.
644 (process_suffix): Likewise.
645 (build_evex_prefix): Adjust broadcast processing.
646 (swap_2_operands): Likewise.
647 (check_VecOperations): Likewise.
648 (match_template): Likewise.
649 (check_VecOperands): Likewise.
650
6225c532
JB
6512021-03-30 Jan Beulich <jbeulich@suse.com>
652
653 * config/tc-i386.c (reg_k0): New.
654 (mask_op): Delete.
655 (struct Mask_Operation): Move ...
656 (struct _i386_insn): ... here. Change field "mask".
657 (md_begin): Initialize reg_k0.
658 (build_evex_prefix): Adjust mask processing.
659 (swap_2_operands): Likewise.
660 (check_VecOperands): Likewise.
661 (check_VecOperations): Likewise.
662 (optimize_encoding): Adjust checks for masking.
663 (output_insn): Likewise.
664
783c187b
JB
6652021-03-30 Jan Beulich <jbeulich@suse.com>
666
667 * config/tc-i386.c (swap_2_operands): Switch parameters to
668 unsigned.
669 (struct RC_Operation): Switch operand field to unsigned.
670 (struct Mask_Operation): Likewise.
671 (struct Broadcast_Operation): Likewise.
672 (build_evex_prefix): Drop cast.
673 (check_VecOperands): Likewise.
674 (build_modrm_byte): Likewise.
675 (output_imm): Likewise.
676 (check_VecOperations): Add casts to unsigned.
677
c8cad9d3
JB
6782021-03-29 Jan Beulich <jbeulich@suse.com>
679
680 * testsuite/gas/i386/x86-64-sse2avx.s: Add vpsadbw case.
681 * testsuite/gas/i386/x86-64-avx-swap-2.d.
682 testsuite/gas/i386/x86-64-sse2avx.d: Adjust expectations.
683
389d00a5
JB
6842021-03-29 Jan Beulich <jbeulich@suse.com>
685
686 * config/tc-i386.c (optimize_encoding): Replace VEX-encoding
687 checks by opcodespace ones.
688 (insert_lfence_before): Likewise.
689 (maybe_fused_with_jcc_p): Likewise.
690 (add_branch_padding_frag_p): Likewise.
691 (output_disp): Likewise.
692 (load_insn_p): Re-arrange checks to key applicable ones off of
693 an opcodespace check.
694 (md_assemble): Adjust opcode checks.
695 (check_byte_reg): Likewise.
696 (process_operands): Likewise.
697 (i386_index_check): Likewise.
698 (process_suffix): Likewise. New local variable is_movx. Adjust
699 movsx/movzx and crc32 handling.
700 (output_insn): Adjust opcode checks. Drop no longer reachable
701 case labels. Output legacy encoding prefixes in addition to the
702 base_opcode byte(s). Rework counting of prefixes for extended
703 opcode maps.
704 * config/tc-i386-intel.c (i386_intel_simplify_register): Adjust
705 opcode checks.
706
63b4cc53
AM
7072021-03-29 Alan Modra <amodra@gmail.com>
708
709 * atof-generic.c (FALSE, TRUE): Don't define.
710 * config/obj-elf.h (FALSE, TRUE): Don't define.
711 * config/obj-som.h (FALSE, TRUE): Don't define.
712 * config/tc-hppa.h (FALSE, TRUE): Don't define.
713 * config/tc-pdp11.c (FALSE, TRUE): Don't define.
714 * config/tc-iq2000.h (obj_fix_adjustable): Delete.
715 * config/tc-m32r.h (TC_FIX_ADJUSTABLE): Delete.
716 * config/tc-mt.h (obj_fix_adjustable): Delete.
717 * config/tc-nds32.h (TC_FIX_ADJUSTABLE): Delete.
718 * config/tc-arc.c (parse_opcode_flags): Simplify boolean expression.
719 (relaxable_flag, relaxable_operand, assemble_insn): Likewise.
720 (tokenize_extregister): Likewise.
721 * config/tc-csky.c (parse_opcode, get_operand_value): Likewise.
722 (parse_operands_op, parse_operands, md_assemble): Likewise.
723 * config/tc-d10v.c (build_insn): Likewise.
724 * config/tc-score.c (s3_gen_insn_frag): Likewise.
725 * config/tc-score7.c (s7_gen_insn_frag, s7_relax_frag): Likewise.
726 * config/tc-tic6x.c (tic6x_update_features, md_assemble): Likewise.
727 * config/tc-z80.c (emit_byte): Likewise.
728
854f1e4b
AM
7292021-03-29 Alan Modra <amodra@gmail.com>
730
731 * config/tc-arm.c (struct arm_long_option_table <func>): Return
732 bfd_boolean.
733 * config/tc-arm.h (arm_optimize_expr, arm_data_in_code): Likewise.
734 * config/tc-metag.c (parse_mov_port): Replace unsigned int variable
735 with bfd_boolean.
736 (parse_mmov, parse_mov_ct, parse_alu, parse_shift, parse_bitop),
737 (parse_cmp, parse_fmmov, parse_fmov_data, parse_fearith),
738 (parse_dget_set, parse_dalu): Likewise, ensuring assignment from
739 logical expressions.
740 (struct metag_long_option <func>): Return bfd_boolean.
741 (metag_parse_cpu, metag_parse_fpu, metag_parse_dsp): Likewise.
742 * config/tc-msp430.c (msp430_dstoperand): Correct dummy type.
743 * config/tc-s12z.c (parse_operand_func): Return bfd_boolean.
744 (no_operands, lex_force_match, lex_reg_list): Likewise.
745 (size_from_suffix): Return int.
746 (s12z_relax_frag, md_estimate_size_before_relax): Return 0.
747 * config/tc-s12z.h (tc_s12z_fix_adjustable): Likewise.
748
c3344b62
JB
7492021-03-26 Jan Beulich <jbeulich@suse.com>
750
751 * testsuite/gas/i386/x86-64-nosse2.s,
752 testsuite/gas/i386/x86-64-nosse2.l: New.
753 * testsuite/gas/i386/i386.exp: Run new test.
754
efa30ac3
HAQ
7552021-03-25 Abid Qadeer <abidh@codesourcery.com>
756
757 * testsuite/gas/nios2/brn.d: New.
758 * testsuite/gas/nios2/brn.d: New.
759
5e74b495
JB
7602021-03-25 Jan Beulich <jbeulich@suse.com>
761
762 * config/tc-i386.c (match_template): Use t instead of i.tm.
763
596a02ff
JB
7642021-03-25 Jan Beulich <jbeulich@suse.com>
765
766 * testsuite/gas/i386/avx512f-nondef.s: Add vgather cases.
767 * testsuite/gas/i386/x86-64-vgather-check.s: Add cases with
768 colliding registers in the upper half of the space.
769 * testsuite/gas/i386/avx512f-nondef.d,
770 testsuite/gas/i386/vgather-check.d,
771 testsuite/gas/i386/x86-64-vgather-check.d,
772 testsuite/gas/i386/x86-64-vgather-check-error.l,
773 testsuite/gas/i386/x86-64-vgather-check-warn.e: Adjust
774 expecations.
775 * testsuite/gas/i386/vgather-check-none.d,
776 testsuite/gas/i386/vgather-check-warn.d,
777 testsuite/gas/i386/x86-64-vgather-check-none.d,
778 testsuite/gas/i386/x86-64-vgather-check-warn.d: Refer to "base"
779 tests for expected dump output.
780
53642852
JB
7812021-03-25 Jan Beulich <jbeulich@suse.com>
782
783 * testsuite/gas/i386/avx512f-nondef.s: Add case for EVEX.z
784 without mask register.
785 * testsuite/gas/i386/avx512f-nondef.d: Adjust expectations.
786
c0e54661
JB
7872021-03-25 Jan Beulich <jbeulich@suse.com>
788
789 * config/tc-i386.c (md_assemble): Widen set of insns to avoid
790 swapping operands for.
791 * testsuite/gas/i386/invlpgb.s: Fix, re-arrange, and add Intel
792 syntax tests.
793 * testsuite/gas/i386/snp.s: Re-arrange and add multi-operand as
794 well as Intel syntax tests.
795 * testsuite/gas/i386/invlpgb.d, testsuite/gas/i386/snp.d: Adjust
796 expectations.
32d71569 797 * testsuite/gas/i386/invlpgb64.d, testsuite/gas/i386/snp64.d:
c0e54661
JB
798 Likewise. Drop passing --def-sym to as.
799
829f3fe1
JB
8002021-03-25 Jan Beulich <jbeulich@suse.com>
801
802 PR/gas 27419
803 * config/tc-i386.c (process_suffix): Restrict (%rip) -> (%eip)
804 conversion to x32 mode.
805 * testsuite/gas/i386/ilp32/enqcmd.s,
806 testsuite/gas/i386/ilp32/enqcmd.d,
807 testsuite/gas/i386/ilp32/movdir.s,
808 testsuite/gas/i386/ilp32/movdir.d: New.
809 * testsuite/gas/i386/x86-64-enqcmd.s,
810 testsuite/gas/i386/x86-64-movdir.s: Drop mismatched operand
811 cases.
812 * testsuite/gas/i386/x86-64-enqcmd-inval.s: Add (%rip) and
813 (%eip) cases.
814 * testsuite/gas/i386/x86-64-movdir64b-reg.s Add (%eip) case.
815 * testsuite/gas/i386/x86-64-enqcmd.d,
816 testsuite/gas/i386/x86-64-enqcmd-intel.d,
817 testsuite/gas/i386/x86-64-enqcmd-inval.l,
818 testsuite/gas/i386/x86-64-movdir.d,
819 testsuite/gas/i386/x86-64-movdir-intel.d,
820 testsuite/gas/i386/x86-64-movdir64b-reg.l: Adjust expectations.
821
5a403766
AM
8222021-03-25 Alan Modra <amodra@gmail.com>
823
824 PR 27647
825 * testsuite/gas/ppc/a2.d: Update expected output.
826 * testsuite/gas/ppc/power8.d: Likewise.
827
9a182d04
JB
8282021-03-24 Jan Beulich <jbeulich@suse.com>
829
830 * config/tc-i386.c (struct _i386_insn): New field
831 opcode_length.
832 (md_begin): Drop assertion.
833 (install_template): New.
834 (build_vex_prefix): Call install_template.
835 (match_template): Likewise.
836 (process_operands): Use new opcode_length field.
837 (output_jump): Likewise.
838 (output_insn): Likewise. Adjust psedo prefix check.
839
35648716
JB
8402021-03-24 Jan Beulich <jbeulich@suse.com>
841
842 * config/tc-i386.c (md_begin): Add assertion.
843 (build_vex_prefix): Drop implied prefix calculation.
844 (build_evex_prefix): Likewise.
845 (optimize_encoding): Adjust opcode checks.
846 (load_insn_p): Also check opcodeprefix.
847 (match_template): Also check opcodespace.
848 (process_suffix): Likewise.
849 (process_operands): Likewise.
850 (output_insn): Likewise. Also check isprefix when discaring
851 standalone LOCK.
852 * config/tc-i386-intel.c (i386_intel_operand): Also check
853 opcodespace.
854
31184569
JB
8552021-03-24 Jan Beulich <jbeulich@suse.com>
856
857 * config/tc-i386.c (parse_insn): Recognize pseudo prefixes by
858 base_opcode and extension_opcode.
859
b933fa4b
JB
8602021-03-23 Jan Beulich <jbeulich@suse.com>
861
862 * config/tc-i386.c (pte): Re-order opc_pfx[] entries.
863
dac10fb0
JB
8642021-03-23 Jan Beulich <jbeulich@suse.com>
865
866 * config/tc-i386.c (output_i386_opcode): Invoke
867 process_i386_cpu_flag() slightly later.
868 (process_i386_opcodes): Likewise.
869
441f6aca
JB
8702021-03-23 Jan Beulich <jbeulich@suse.com>
871
872 * config/tc-i386.c (pte): Print prefix and encoding space.
873 (build_vex_prefix): Check opcodespace instead of opcodeprefix.
874 (build_evex_prefix): Likewise.
875 (load_insn_p): Likewise.
876
70e95837
JB
8772021-03-23 Jan Beulich <jbeulich@suse.com>
878
879 * config/tc-i386.c (load_insn_p): Use PREFIX_NONE. Fold two
880 if()-s.
881 (match_template, output_insn): Use PREFIX_NONE.
882
a152332d
JB
8832021-03-23 Jan Beulich <jbeulich@suse.com>
884
885 * config/tc-i386.c (i386_index_check): New local variable t.
886 Correct MPX insn check.
887 * config/tc-i386-intel.c (i386_intel_simplify_register): Correct
888 MPX insn check.
889 * testsuite/gas/i386/x86-64-mpx.s: Add RIP-relative cases. Test
890 index scaling by other than 1.
891 * testsuite/gas/i386/x86-64-mpx.d: Adjust expectations.
892
08dedd66
ML
8932021-03-22 Martin Liska <mliska@suse.cz>
894
895 * config/tc-i386.c (md_parse_option): Replace usage of CONST_STRNEQ with startswith.
896 (x86_64_section_word): Likewise.
897 * config/tc-sparc.c (md_parse_option): Likewise.
898
826b97d4
AM
8992021-03-19 Alan Modra <amodra@gmail.com>
900
901 * app.c (do_scrub_chars): Don't lose spaces before a slash.
902
3273f9a1
CG
9032021-03-18 Christian Groessler <chris@groessler.org>
904
905 * config/tc-z8k.c (apply_fix): Handle 7-bit relocations correctly.
906 Problem found by Tadashi G. Takaoka <tadashi.g.takaoka@gmail.com>.
907
80d49d6a
KLC
9082021-03-16 Kuan-Lin Chen <kuanlinchentw@gmail.com>
909
910 * config/tc-riscv.c (ext_version_table): Add b, zba, zbb and zbc.
911 (riscv_multi_subset_supports): Add INSN_CLASS_ZB*.
912 * testsuite/gas/riscv/b-ext-64.s: Bitmanip test case.
913 * testsuite/gas/riscv/b-ext-64.d: Likewise.
914 * testsuite/gas/riscv/b-ext.s: Likewise.
915 * testsuite/gas/riscv/b-ext.d: Likewise.
916
7fce7ea9
PW
9172021-03-12 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
918
919 * testsuite/gas/aarch64/illegal-sysreg-7.d: New test.
920 * testsuite/gas/aarch64/illegal-sysreg-7.l: New test.
921 * testsuite/gas/aarch64/illegal-sysreg-7.s: New test.
922 * testsuite/gas/aarch64/sysreg-7.d: New test.
923 * testsuite/gas/aarch64/sysreg-7.s: New test.
924
1b2cb8e2
CC
9252021-03-12 Clément Chigot <clement.chigot@atos.net>
926
927 * config/tc-ppc.c (ppc_xcoff_text_section, ppc_xcoff_data_section,
928 (ppc_xcoff_bss_section, ppc_xcoff_tdata_section,
929 (ppc_xcoff_tbss_section): New variables.
930 (ppc_text_subsegment, ppc_text_csects, ppc_data_subgments,
931 (ppc_data_csects): Removed.
932 (ppc_xcoff_section_is_initialized, ppc_init_xcoff_section,
933 ppc_xcoff_parse_cons): New functions.
934 (md_being): Initialize XCOFF sections.
935 (ppc_xcoff_suffix): Add support for TLS relocations
936 (fixup_size, md_apply_fix): Add support for new BFD_RELOC.
937 (ppc_change_csect): Handle XMC_TL, XMC_UL. Correctly, add XMC_BS
938 to .bss section. Handle new XCOFF section variables.
939 (ppc_comm): Likewise.
940 (ppc_toc): Likewise.
941 (ppc_symbol_new_hook): Likewise.
942 (ppc_frob_symbol): Likewise.
943 (ppc_fix_adjustable): Add tbss support.
944 * config/tc-ppc.h (TC_PARSE_CONS_EXPRESSION): New define.
945 (ppc_xcoff_parse_cons): Add prototype.
946 (struct ppc_xcoff_section): New structure.
947
4a403be0
CC
9482021-03-12 Clément Chigot <clement.chigot@atos.net>
949
950 * config/tc-ppc.c (ppc_xcoff_suffix): New function.
951 (MAP, MAP32, MAP64): New macros for XCOFF.
952 (ppc_xcoff_fixup_addis): New function.
953 (ppc_is_toc_sym): Handle XMC_TE.
954 (fixup_size): Add cases for BFD_RELOC_PPC_TOC16_HI and
955 BFD_RELOC_PPC_TOC16_LO.
956 (md_assemble): Call ppc_xcoff_fixup_addis for XCOFF.
957 (ppc_change_csect): Handle XMC_TE.
958 (ppc_tc): Enable .tc symbols to have only a XMC_TC or XMC_TE
959 storage class.
960 (ppc_symbol_new_hook): Handle XMC_TE.
961 (ppc_frob_symbol): Likewise.
962 (ppc_fix_adjustable): Likewise.
963 (md_apply_fix): Handle BFD_RELOC_PPC_TOC16_HI and
964 BFD_RELOC_PPC_TOC16_LO.
965
b763d508
JB
9662021-03-10 Jan Beulich <jbeulich@suse.com>
967
968 * testsuite/gas/i386/avx512f-intel.d,
969 testsuite/gas/i386/avx512f_vl-intel.d,
970 testsuite/gas/i386/avx512pf-intel.d,
971 testsuite/gas/i386/x86-64-avx512f-intel.d,
972 testsuite/gas/i386/x86-64-avx512f_vl-intel.d,
973 testsuite/gas/i386/x86-64-avx512pf-intel.d: Adjust expectations.
974
31941983
JB
9752021-03-10 Jan Beulich <jbeulich@suse.com>
976
977 * testsuite/gas/i386/prefetch.d,
978 testsuite/gas/i386/prefetch-intel.d,
979 testsuite/gas/i386/x86-64-prefetch.d,
980 testsuite/gas/i386/x86-64-prefetch-intel.d: Adjust expectations.
981 * testsuite/gas/i386/nops-8.s, testsuite/gas/i386/nops-8.d: New.
982 * testsuite/gas/i386/i386.exp: Run new test.
983
742732c7
JB
9842021-03-09 Jan Beulich <jbeulich@suse.com>
985
986 * config/tc-i386.c (check_hle): Replace HLEPrefix* by Prefix*.
987 (md_assemble): Replace use of repprefixok, islockable, and
988 notrackprefixok.
989 (i386_index_check): Replace use of repprefixok.
990
e93a3b27
JB
9912021-03-09 Jan Beulich <jbeulich@suse.com>
992
993 * testsuite/gas/i386/noreg64.s: Add sysexit.
994 * testsuite/gas/i386/x86-64-sysenter-amd.s: Split sysexit into
995 sysexitl and sysexitq.
996 * testsuite/gas/i386/noreg-intel64.l,
997 testsuite/gas/i386/noreg64-data16.d,
998 testsuite/gas/i386/noreg64-data16.e,
999 testsuite/gas/i386/noreg64-rex64.d,
1000 testsuite/gas/i386/noreg64.d,
1001 testsuite/gas/i386/noreg64.l,
1002 testsuite/gas/i386/x86-64-sysenter-amd.d,
1003 testsuite/gas/i386/x86-64-sysenter-amd.l,
1004 testsuite/gas/i386/x86-64-sysenter-intel.d: Adjust expectations.
1005
fe0171d2
NC
10062021-02-26 Nick Clifton <nickc@redhat.com>
1007
1008 PR 27411
1009 * config/tc-arm.c (do_t_add_sub): Correct error message.
1010 * testsuite/gas/arm/pr27411.s: New test.
1011 * testsuite/gas/arm/pr27411.d: New test driver.
1012 * testsuite/gas/arm/pr27411.l: Expected error output for new test.
1013
55add51e
AM
10142021-02-24 Alan Modra <amodra@gmail.com>
1015
1016 PR 23691
1017 * Makefile.am (TARGET_CPU_CFILES): Split off config/xtensa-relax.c..
1018 (TARGET_CPU_HFILES): ..and config/xtensa-relax.h..
1019 (TARGET_EXTRA_FILES): ..to here. Add config/bfin-lex-wrapper.c,
1020 and use alongside TARGET_CPU_CFILES.
1021 (EXTRA_DIST): Update location of generated .c files.
1022 (config/m68k-parse.c): New rule replacing m68k-parse.c rule.
1023 (config/bfin-parse.c, config/rl78-parse.cm config/rx-parse.c),
1024 (config/bfin-lex.c, config/bfin-lex-wrapper.@OBJEXT@): Similarly.
1025 (itbl-lex-wrapper.@OBJEXT@): Simplify to just the needed
1026 dependencies.
1027 (itbl-parse.@OBJEXT@): Delete rule using NO_WERROR.
1028 (itbl-parse.c, itbl-parse.h): Tidy.
1029 * config/bfin-lex-wrapper.c: Include config/bfin-lex.c.
1030 * config/bfin-lex.l: Include config/bfin-parse.h.
1031 * configure.ac (extra_objects): Move object files corresponding
1032 to .y and .l files now in config/ to config/.
1033 * Makefile.in: Regenerate.
1034 * configure: Regenerate.
1035 * po/POTFILES.in: Regenerate.
1036
0257c2ff
NC
10372021-02-19 Nick Clifton <nickc@redhat.com>
1038
1039 * config/tc-riscv.c (riscv_ip): Fix compile time warnings about
1040 misleading indentation.
1041
5a9f5403
NC
10422021-02-19 Nelson Chu <nelson.chu@sifive.com>
1043
1044 PR 27158
1045 * config/tc-riscv.c (riscv_ip): Updated encoding macros.
1046 (md_apply_fix): Likewise.
1047 (md_convert_frag_branch): Likewise.
1048 (validate_riscv_insn): Likewise. Also arranged operands, including
1049 added C5 and C6 operands, and removed unused Ci and C< operands.
1050 * doc/c-riscv.texi: Updated and added CSS/CL/CS types.
1051 * testsuite/gas/riscv/insn.d: Added CSS/CL/CS instructions.
1052 * testsuite/gas/riscv/insn.s: Likewise.
1053
3d73d29e
NC
10542021-02-18 Nelson Chu <nelson.chu@sifive.com>
1055
1056 * config/tc-riscv.c: Included cpu-riscv.h.
1057 (enum riscv_csr_clas): Moved from include/opcode/riscv.h.
1058 (struct riscv_csr_extra): Likewise.
1059 (struct riscv_ext_version): Likewise.
1060 (ext_version_table): Moved from opcodes/riscv-opc.c.
1061 (default_isa_spec): Updated type to riscv_spec_class.
1062 (default_priv_spec): Likewise.
1063 (riscv_set_default_isa_spec): Updated.
1064 (init_ext_version_hash): Likewise.
1065 (riscv_init_csr_hash): Likewise, also fixed indent.
1066
089485ff
AM
10672021-02-17 Alan Modra <amodra@gmail.com>
1068
1069 * testsuite/gas/elf/section28.d: xfail h8300.
1070
ca1289b9
L
10712021-02-16 H.J. Lu <hongjiu.lu@intel.com>
1072
1073 PR gas/27412
1074 * config/obj-elf.c (obj_elf_change_section): Strip SHF_GNU_RETAIN
1075 when checking incorrect section attributes.
1076 * testsuite/gas/elf/elf.exp: Run section28 and section29.
1077 * testsuite/gas/elf/section28.d: New file.
1078 * testsuite/gas/elf/section28.s: Likewise.
1079 * testsuite/gas/elf/section29.d: Likewise.
1080 * testsuite/gas/elf/section29.s: Likewise.
1081
394ae71f
JB
10822021-02-16 Jan Beulich <jbeulich@suse.com>
1083
1084 * testsuite/gas/i386/sse-check.s,
1085 testsuite/gas/i386/sse2avx.s,
1086 testsuite/gas/i386/x86-64-sse2avx.s: Add CVTPI2PD cases.
1087 * testsuite/gas/i386/sse-check-error.l,
1088 testsuite/gas/i386/sse-check-warn.e,
1089 testsuite/gas/i386/sse-check.d,
1090 testsuite/gas/i386/sse2avx.d,
1091 testsuite/gas/i386/x86-64-sse-check-error.l,
1092 testsuite/gas/i386/x86-64-sse2avx.d: Adjust expecations.
1093 * testsuite/gas/i386/property-cvtpi2pd.s,
1094 testsuite/gas/i386/property-cvtpi2pd.d,
1095 testsuite/gas/i386/property-cvtpi2ps.s,
1096 testsuite/gas/i386/property-cvtpi2ps.d: New.
1097 * testsuite/gas/i386/i386.exp: Run new tests.
1098
3d70986f
JB
10992021-02-16 Jan Beulich <jbeulich@suse.com>
1100
1101 * config/tc-i386.c (md_assemble): Use template rather than
1102 actuals when updating i.xstate.
1103 * testsuite/gas/i386/property-4.d,
1104 testsuite/gas/i386/property-5.d,
1105 testsuite/gas/i386/property-12.d: Adjust expectations.
1106
014d61ea
JB
11072021-02-16 Jan Beulich <jbeulich@suse.com>
1108
1109 * config/tc-i386.c (output_insn): Handle ldmxcsr, stmxcsr,
1110 vldmxcsr, vstmxcsr, vzeroall, and vzeroupper.
1111 * testsuite/gas/i386/property-ldmxcsr.s,
1112 testsuite/gas/i386/property-ldmxcsr.d,
1113 testsuite/gas/i386/property-vldmxcsr.s,
1114 testsuite/gas/i386/property-vldmxcsr.d,
1115 testsuite/gas/i386/property-vzeroall.s,
1116 testsuite/gas/i386/property-vzeroall.d: New.
1117 * testsuite/gas/i386/i386.exp: Run new tests.
1118
cbe68696
JB
11192021-02-16 Jan Beulich <jbeulich@suse.com>
1120
1121 * testsuite/gas/i386/i386.exp: Move bitness-independent property
1122 tests to bitness independent section.
1123 * testsuite/gas/i386/x86-64-property-2.d,
1124 testsuite/gas/i386/x86-64-property-3.d,
1125 testsuite/gas/i386/x86-64-property-4.d,
1126 testsuite/gas/i386/x86-64-property-5.d,
1127 testsuite/gas/i386/x86-64-property-6.d,
1128 testsuite/gas/i386/x86-64-property-10.d,
1129 testsuite/gas/i386/x86-64-property-11.d,
1130 testsuite/gas/i386/x86-64-property-12.d,
1131 testsuite/gas/i386/x86-64-property-13.d: Delete.
1132
c2f1204d
JB
11332021-02-16 Jan Beulich <jbeulich@suse.com>
1134
1135 * testsuite/gas/i386/enqcmd-16bit.s: Include enqcmd.s, not
1136 movdir.s.
1137 * testsuite/gas/i386/enqcmd-16bit.d: Adjust expectations.
1138
9a12b194
AM
11392021-02-16 Alan Modra <amodra@gmail.com>
1140
1141 PR 27426
1142 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
1143 in another place.
1144
70433886
AM
11452021-02-16 Alan Modra <amodra@gmail.com>
1146
1147 * read.c (demand_copy_C_string): Really check for embedded zeros.
1148
ba2b480f
AK
11492021-02-15 Andreas Krebbel <krebbel@linux.ibm.com>
1150
1151 * config/tc-s390.c (s390_parse_cpu): New entry for arch14.
1152 * doc/c-s390.texi: Document arch14 march option.
1153 * testsuite/gas/s390/s390.exp: Run the arch14 related tests.
1154 * testsuite/gas/s390/zarch-arch14.d: New test.
1155 * testsuite/gas/s390/zarch-arch14.s: New test.
1156
c46b7066
NC
11572021-02-12 Nick Clifton <nickc@redhat.com>
1158
1159 * testsuite/gas/mach-o/sections-1.d: Stop automatic debug link
32d71569 1160 following.
c46b7066
NC
1161 * testsuite/gas/xgate/insns-dwarf2.d: Likewise.
1162
3c1d4101
AM
11632021-02-12 Alan Modra <amodra@gmail.com>
1164
1165 * testsuite/gas/all/pr27381.err: Don't match source file name.
1166 * testsuite/gas/all/pr27381.s: Don't start directive in first column.
1167 * testsuite/gas/all/pr27384.err: Don't match source file name.
1168 Adjust line number.
1169 * testsuite/gas/all/pr27384.s: Add ".text" directive.
1170 * testsuite/gas/elf/pr27355.err: Don't match source file name.
1171
933feaf3
AM
11722021-02-11 Alan Modra <amodra@gmail.com>
1173
1174 * NEWS: Mention arm-symbianelf removal.
1175
01e8b831
NC
11762021-02-10 Nick Clifton <nickc@redhat.com>
1177
1178 * listing.c (buffer_line): Remove debugging code accidentally
1179 included with the fix for PR 27384.
1180
284beb43
NC
11812021-02-09 Nick Clifton <nickc@redhat.com>
1182
1183 PR 27381
1184 * read.c (s_incbin): Check that the file to be included is a
1185 regular, non-directory file.
1186 * testsuite/gas/all/pr27381.s: New test source file.
1187 * testsuite/gas/all/pr27381.d: New test control file.
1188 * testsuite/gas/all/pr27381.err: Expected error output for the new test.
1189 * testsuite/gas/all/gas.exp: Run the new test.
1190
a57d1773
AM
11912021-02-09 Alan Modra <amodra@gmail.com>
1192
1193 * Makefile.am (TARG_ENV_HFILES): Remove config/te-symbian.h.
1194 * config/tc-arm.c (elf32_arm_target_format): Remove TE_SYMBIAN
1195 support.
1196 * config/te-symbian.h: Delete.
1197 * configure.tgt: Remove arm-*-symbianelf*.
1198 * testsuite/gas/arm/arch4t-eabi.d: Don't mention symbianelf in
1199 target selection.
1200 * testsuite/gas/arm/arch4t.d: Likewise.
1201 * testsuite/gas/arm/got_prel.d: Likewise.
1202 * testsuite/gas/arm/mapdir.d: Likewise.
1203 * testsuite/gas/arm/mapmisc.d: Likewise.
1204 * testsuite/gas/arm/mapsecs.d: Likewise.
1205 * testsuite/gas/arm/mapshort-eabi.d: Likewise.
1206 * testsuite/gas/arm/thumb-eabi.d: Likewise.
1207 * testsuite/gas/arm/thumb.d: Likewise.
1208 * testsuite/gas/arm/thumbrel.d: Likewise.
1209 * Makefile.in: Regenerate.
1210 * po/POTFILES.in: Regenerate.
1211
4a68fcd7
NC
12122021-02-09 Nick Clifton <nickc@redhat.com>
1213
1214 PR 27384
1215 * listing.c (listing_psize): Check the result of the width
1216 expression before assigning it to paper_width.
1217 * testsuite/gas/all/pr27384.s: New test source file.
1218 * testsuite/gas/all/pr27384.d: New test control file.
1219 * testsuite/gas/all/pr27384.err: Expected errors from new test.
1220 * testsuite/gas/all/gas.exp: Run the new test.
1221
52563b0f
NC
12222021-02-09 Nick Clifton <nickc@redhat.com>
1223
1224 PR 27355
1225 * testsuite/gas/elf/pr27355.s: New test source file.
1226 * testsuite/gas/elf/pr27355.d: New test control file.
1227 * testsuite/gas/elf/pr27355.err: Expected errors from new test.
1228 * testsuite/gas/elf/elf.exp: Run the new test.
1229
bfd428bc
MF
12302021-02-08 Mike Frysinger <vapier@gentoo.org>
1231
1232 * config/tc-tic54x (tic54x_mmregs): Rename to ...
1233 (tic54x_register_mmregs): ... this. Change mmregs to tic54x_mmregs.
1234 (md_pseudo_table): Change tic54x_mmregs to tic54x_register_mmregs.
1235 (md_begin): Add tic54x_ prefix to regs, mmregs, condition_codes,
1236 cc2_codes, cc3_codes, status_bits, and misc_symbols.
1237
80b652ef
NC
12382021-02-08 Nick Clifton <nickc@redhat.com>
1239
1240 PR 27355
1241 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
1242 if it has not already been created.
1243
24075dcc
NC
12442021-02-04 Nelson Chu <nelson.chu@sifive.com>
1245
1246 * config/tc-riscv.c (riscv_multi_subset_supports): Removed
1247 INSN_CLASS_ZB*.
1248 * testsuite/gas/riscv/bitmanip-insns-32.d: Removed.
1249 * testsuite/gas/riscv/bitmanip-insns-64.d: Removed.
1250 * testsuite/gas/riscv/bitmanip-insns.s: Removed.
1251
61ecbbae
AK
12522021-02-03 Andreas Krebbel <krebbel@linux.ibm.com>
1253
1254 * doc/c-s390.texi: Document vector instruction formats.
1255
1f568f9a
EH
12562021-02-01 Emery Hemingway <ehmry@posteo.net>
1257
1258 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
1259
7bba67ec
AM
12602021-02-01 Alan Modra <amodra@gmail.com>
1261
1262 PR 27283
1263 * config/tc-alpha.c (insert_operand): Delete dead code.
1264
1f583bc2
L
12652021-01-26 H.J. Lu <hongjiu.lu@intel.com>
1266
1267 PR gas/27243
1268 * config/tc-nios2.c (md_begin): Don't disable relaxation with
1269 --gdwarf-N.
1270 * testsuite/gas/nios2/relax.d: New file.
1271 * testsuite/gas/nios2/relax.s: Likewise.
1272
a45ef9a3
AM
12732021-01-26 Alan Modra <amodra@gmail.com>
1274
1275 * testsuite/gas/all/local-label-overflow.d: Use xfail rather than
1276 notarget all except hppa. Comment.
1277 * testsuite/gas/all/sleb128-2.d: Use xfail rather than notarget.
1278 * testsuite/gas/all/sleb128-4.d: Likewise. Don't skip msp430.
1279 * testsuite/gas/all/sleb128-5.d: Use xfail rather than notarget.
1280 * testsuite/gas/all/sleb128-7.d: Likewise.
1281 * testsuite/gas/all/sleb128-9.d: Likewise.
1282 * testsuite/gas/elf/bignums.d: Likewise.
1283 * testsuite/gas/elf/group0c.d: Likewise.
1284 * testsuite/gas/elf/group1a.d: Likewise.
1285 * testsuite/gas/elf/section-symbol-redef.d: Likewise.
1286 * testsuite/gas/elf/section15.d: Likewise.
1287 * testsuite/gas/elf/section4.d: Likewise.
1288 * testsuite/gas/elf/section7.d: Likewise.
1289 * testsuite/gas/macros/irp.d: Likewise.
1290 * testsuite/gas/macros/repeat.d: Likewise.
1291 * testsuite/gas/macros/rept.d: Likewise.
1292 * testsuite/gas/macros/test2.d: Likewise.
1293 * testsuite/gas/macros/vararg.d: Likewise.
1294 * testsuite/gas/all/string.d: Use xfail rather than skip.
1295 * testsuite/gas/elf/missing-build-notes.d: Likewise.
1296 * testsuite/gas/elf/section0.d: Likewise.
1297 * testsuite/gas/elf/section1.d: Likewise.
1298 * testsuite/gas/elf/section10.d: Likewise.
1299 * testsuite/gas/elf/section11.d: Likewise.
1300 * testsuite/gas/elf/section6.d: Likewise.
1301 * testsuite/gas/elf/symtab.d: Use xfail rather than skip, adjust hppa.
1302 * testsuite/gas/elf/symtab.s: Don't start directives in first column.
1303 * testsuite/gas/macros/test3.d: Don't notarget nds32.
1304
9886ff03
AM
13052021-01-26 Alan Modra <amodra@gmail.com>
1306
1307 * testsuite/gas/all/byte.d,
1308 * testsuite/gas/all/byte.l,
1309 * testsuite/gas/all/byte.s: Delete.
1310 * testsuite/gas/all/gas.exp: Don't run byte test.
1311
4287950e
AM
13122021-01-26 Alan Modra <amodra@gmail.com>
1313
1314 PR 27282
1315 * testsuite/gas/all/none.d: Replace skip with xfail, don't xfail ft32.
1316 * testsuite/gas/elf/pr27228.d: xfail hppa and allow OBJECT match.
1317
eea133e6
L
13182021-01-24 H.J. Lu <hongjiu.lu@intel.com>
1319
1320 PR gas/27228
1321 * testsuite/gas/elf/elf.exp: Run pr27228.
1322 * testsuite/gas/elf/pr27228.d: New file.
1323 * testsuite/gas/elf/pr27228.s: Likewise.
1324
68fcee4f
AM
13252021-01-24 Alan Modra <amodra@gmail.com>
1326
1327 PR 27228
1328 * write.c (resolve_reloc_expr_symbols): Don't assume local symbol
1329 is defined.
1330
be07043e
AM
13312021-01-21 Alan Modra <amodra@gmail.com>
1332
1333 PR 27221
1334 * dwarf2dbg.c (dwarf2_gen_line_info_1): Don't warn about ignored
1335 line number info when gas is generating it.
1336 * testsuite/gas/elf/dwarf2-20.d: Adjust to not expect warnings.
1337 * testsuite/gas/m68hc11/indexed12.d: Likewise.
1338 * testsuite/gas/elf/elf.exp: Don't run warn-2.
1339 * gas/testsuite/gas/elf/warn-2.s: Delete.
1340
498ff032
AM
13412021-01-21 Alan Modra <amodra@gmail.com>
1342
1343 PR 27218
1344 * dwarf2dbg.c (dwarf2_gen_line_info): Correct setting of dwarf_level.
1345 (dwarf2_directive_filename, dwarf2_directive_loc): Likewise, and
1346 error for negative file numbers.
1347
4bd7c902
AM
13482021-01-20 Alan Modra <amodra@gmail.com>
1349
1350 * testsuite/gas/ppc/power4.d: Adjust for removal of section sym.
1351 * testsuite/gas/ppc/test1elf32.d: Likewise.
1352 * testsuite/gas/ppc/test1elf64.d: Likewise.
1353
705989f1
L
13542021-01-18 H.J. Lu <hongjiu.lu@intel.com>
1355
1356 PR gas/27195
1357 * dwarf2dbg.c (dwarf2_gen_line_info): Set dwarf_level to 5 if
1358 needed.
1359 (dwarf2_directive_filename): Likewise.
1360 (dwarf2_directive_loc): Likewise.
1361 * testsuite/gas/elf/dwarf-5-file0.d: Pass --gdwarf-3.
1362 * testsuite/gas/lns/lns-diag-1.l: Remove the
1363 "Error: file number less than one" errors.
1364
44365e88
AM
13652021-01-18 Alan Modra <amodra@gmail.com>
1366
1367 PR 27198
1368 * config/tc-i386.c (need_plt32_p): Return FALSE for NULL symbol.
1369 * testsuite/gas/i386/pr27198.d,
1370 * gas/testsuite/gas/i386/pr27198.err,
1371 * gas/testsuite/gas/i386/pr27198.s: New test.
1372 * gas/testsuite/gas/i386/i386.exp: Run it.
1373
1942a048
NC
13742021-01-15 Nelson Chu <nelson.chu@sifive.com>
1375
1376 * config/tc-riscv.c: Indent and GNU coding standards tidy,
1377 also aligned the code.
1378 * config/tc-riscv.h: Likewise.
1379
b800637e
NC
13802021-01-15 Nelson Chu <nelson.chu@sifive.com>
1381
1382 * config/tc-riscv.c: Error and warning messages tidy.
1383 * testsuite/gas/riscv/priv-reg-fail-fext.l: Updated.
1384 * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
1385 * testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise.
1386 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
1387 * testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
1388 * testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
1389 * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
1390
dcd709e0
NC
13912021-01-15 Nelson Chu <nelson.chu@sifive.com>
1392
1393 * config/tc-riscv.c: Comments tidy and improvement. Also update
1394 comment "fallthru" to "Fall through" that end with a period and
1395 two spaces.
1396
5fda40b2
MF
13972021-01-14 Mike Frysinger <vapier@gentoo.org>
1398
1399 * doc/as.texi: Delete @ifset ELF wrapping around [248]byte entries.
1400 Delete warning that these are only available with ELF targets.
1401 * obj-elf.c (elf_pseudo_table): Move 2byte/4byte/8byte entries ...
1402 * read.c (potable): ... here.
1403
abad2815
MF
14042021-01-14 Mike Frysinger <vapier@gentoo.org>
1405
1406 * Makefile.am (bfin-lex-wrapper.@OBJEXT@): Delete $(NO_WERROR).
1407 * Makefile.in: Regenerated.
1408
adb0bd8f
MF
14092021-01-14 Mike Frysinger <vapier@gentoo.org>
1410
1411 * bfin-lex.l (YY_NO_INPUT, YY_NO_UNPUT): Define.
1412 (parse_int): Mark char_bag const.
1413
844bf810
L
14142021-01-13 H.J. Lu <hongjiu.lu@intel.com>
1415
1416 PR gas/27178
1417 * config/tc-i386.c (lex_got::gotrel): Add need_GOT_symbol.
1418 Don't generate GOT_symbol for PLT relocations.
1419 * testsuite/gas/i386/i386.exp: Run PR gas/27178 tests.
1420 * testsuite/gas/i386/no-got.d: New file.
1421 * testsuite/gas/i386/no-got.s: Likewise.
1422 * testsuite/gas/i386/x86-64-no-got.d: Likewise.
1423 * testsuite/gas/i386/x86-64-no-got.s: Likewise.
1424
5347ed60
AM
14252021-01-13 Alan Modra <amodra@gmail.com>
1426
1427 * Makefile.in: Regenerate.
1428 * Makefile.in: Regenerate.
1429
d546b610
L
14302021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1431
1432 PR binutils/26792
1433 * configure.ac: Use GNU_MAKE_JOBSERVER.
1434 * aclocal.m4: Regenerated.
1435 * configure: Likewise.
1436
6d104cac
NC
14372021-01-12 Nick Clifton <nickc@redhat.com>
1438
1439 * po/fr.po: Updated French translation.
1440
83b33c6c
L
14412021-01-11 H.J. Lu <hongjiu.lu@intel.com>
1442
1443 PR ld/27173
1444 * configure: Regenerated.
1445
82c70b08
KT
14462021-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1447
1448 * NEWS: Remove CSRE.
1449 * config/tc-aarch64.c (parse_csr_operand): Delete.
1450 (parse_operands): Delete handling of
1451 AARCH64_OPND_CSRE_CSR.
1452 (aarch64_features): Remove csre.
1453 * doc/c-aarch64.texi: Remove CSRE.
1454 * testsuite/gas/aarch64/csre.d: Delete.
1455 * testsuite/gas/aarch64/csre-invalid.s: Likewise.
1456 * testsuite/gas/aarch64/csre-invalid.d: Likewise.
1457 * testsuite/gas/aarch64/csre_csr.s: Likewise.
1458 * testsuite/gas/aarch64/csre_csr.d: Likewise.
1459 * testsuite/gas/aarch64/csre_csr-invalid.s: Likewise.
1460 * testsuite/gas/aarch64/csre_csr-invalid.l: Likewise.
1461 * testsuite/gas/aarch64/csre_csr-invalid.d: Likewise.
1462
a8aa72b9
NC
14632021-01-11 Nick Clifton <nickc@redhat.com>
1464
1465 * po/uk.po: Updated Ukranian translation.
1466
a4966cd9
L
14672021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1468
1469 * configure: Regenerated.
1470
573fe3fb
NC
14712021-01-09 Nick Clifton <nickc@redhat.com>
1472
1473 * configure: Regenerate.
1474 * po/gas.pot: Regenerate.
1475
055bc77a
NC
14762021-01-09 Nick Clifton <nickc@redhat.com>
1477
1478 * 2.36 release branch crated.
1479
aae7fcb8
PB
14802021-01-08 Peter Bergner <bergner@linux.ibm.com>
1481
1482 * testsuite/gas/ppc/rop-checks.d,
1483 * testsuite/gas/ppc/rop-checks.l,
1484 * testsuite/gas/ppc/rop-checks.s,
1485 * testsuite/gas/ppc/rop.d,
1486 * testsuite/gas/ppc/rop.s: New tests.
1487 * testsuite/gas/ppc/ppc.exp: Run them.
1488
64307045
AM
14892021-01-09 Alan Modra <amodra@gmail.com>
1490
1491 * configure: Regenerate.
1492
f4782128
ST
14932021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
1494
1495 * configure: Regenerate.
1496
d1bcae83
L
14972021-01-07 H.J. Lu <hongjiu.lu@intel.com>
1498
1499 PR 27109
1500 * read.c (s_reloc): Call symbol_mark_used_in_reloc on the
1501 section symbol.
1502 * subsegs.c (subseg_set_rest): Set BSF_SECTION_SYM_USED if needed.
1503 * write.c (adjust_reloc_syms): Call symbol_mark_used_in_reloc
1504 on the section symbol.
1505 (set_symtab): Don't generate unused section symbols.
1506 (maybe_generate_build_notes): Call symbol_mark_used_in_reloc
1507 on the section symbol.
1508 * config/obj-elf.c (elf_adjust_symtab): Call
1509 symbol_mark_used_in_reloc on the group signature symbol.
1510 * testsuite/gas/cfi/cfi-label.d: Remove unused section symbols
1511 from expected output.
1512 * testsuite/gas/elf/elf.exp (run_elf_list_test): Check
1513 is_elf_unused_section_symbols.
1514 * testsuite/gas/elf/section2.e: Updated.
1515 * testsuite/gas/elf/section2.e-unused: New file.
1516 * testsuite/gas/elf/symver.d: Remove unused section symbols.
1517 * testsuite/gas/i386/ilp32/elf/symver.d: Likewise.
1518 * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
1519 * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
1520 * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
1521 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
1522 * testsuite/gas/i386/size-1.d: Likewise.
1523 * testsuite/gas/i386/size-3.d: Likewise.
1524 * testsuite/gas/i386/svr4.d: Likewise.
1525 * testsuite/gas/i386/x86-64-size-1.d: Likewise.
1526 * testsuite/gas/i386/x86-64-size-3.d: Likewise.
1527 * testsuite/gas/i386/x86-64-size-5.d: Likewise.
1528 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1529
aa881ecd
PT
15302021-01-07 Philipp Tomsich <prt@gnu.org>
1531
1532 * config/tc-riscv.c (riscv_multi_subset_supports): Added
1533 INSN_CLASS_ZIHINTPAUSE.
1534 * testsuite/gas/riscv/pause.d: New testcase. Adding coverage for
1535 the pause hint instruction.
1536 * testsuite/gas/riscv/pause.s: Likewise.
1537
2652cfad
CXW
15382021-01-07 Claire Xenia Wolf <claire@symbioticeda.com>
1539 Jim Wilson <jimw@sifive.com>
1540 Andrew Waterman <andrew@sifive.com>
1541 Maxim Blinov <maxim.blinov@embecosm.com>
1542 Kito Cheng <kito.cheng@sifive.com>
1543 Nelson Chu <nelson.chu@sifive.com>
1544
1545 * config/tc-riscv.c (riscv_multi_subset_supports): Handle INSN_CLASS_ZB*.
1546 (riscv_get_default_ext_version): Do not check the default_isa_spec when
1547 the version defined in the riscv_opcodes table is ISA_SPEC_CLASS_DRAFT.
1548 * testsuite/gas/riscv/bitmanip-insns-32.d: New testcase.
1549 * testsuite/gas/riscv/bitmanip-insns-64.d: Likewise.
1550 * testsuite/gas/riscv/bitmanip-insns.s: Likewise.
1551
85f55c2b
AM
15522021-01-06 Alan Modra <amodra@gmail.com>
1553
1554 * testsuite/gas/sparc/sparc.exp: Move 64-bit tests inside gas_64_check.
1555
22206e84
AM
15562021-01-06 Alan Modra <amodra@gmail.com>
1557
1558 * testsuite/gas/macros/app1.d: xfail tic30.
1559 * testsuite/gas/macros/app2.d: Likewise.
1560 * testsuite/gas/macros/app3.d: Likewise.
1561 * testsuite/gas/macros/app4.d: Likewise.
1562
286d2f2c
MC
15632021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1564
1565 * doc/as.texi: Add -mlittle-endian and -mbig-endian to docs.
1566 * doc/c-riscv.texi: Likewise.
1567
f36ce378
MC
15682021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1569
1570 * testsuite/gas/riscv/li32.d: Accept bigriscv in addition
1571 to littleriscv.
1572 * testsuite/gas/riscv/li64.d: Likewise.
1573 * testsuite/gas/riscv/lla32.d: Likewise.
1574 * testsuite/gas/riscv/lla64.d: Likewise.
1575 * testsuite/gas/riscv/march-ok-g2.d: Likewise.
1576 * testsuite/gas/riscv/march-ok-g2_p1.d: Likewise.
1577 * testsuite/gas/riscv/march-ok-g2p0.d: Likewise.
1578 * testsuite/gas/riscv/march-ok-i2p0.d: Likewise.
1579 * testsuite/gas/riscv/march-ok-i2p0m2_a2f2.d: Likewise.
1580 * testsuite/gas/riscv/march-ok-nse-with-version.d: Likewise.
1581 * testsuite/gas/riscv/march-ok-two-nse.d: Likewise.
1582
fbc09e7a
MC
15832021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1584
1585 * config/tc-riscv.c (riscv_target_format): Add elf64-bigriscv and
1586 elf32-bigriscv.
1587 (install_insn): Always write instructions as little endian.
1588 (riscv_make_nops): Likewise.
1589 (md_convert_frag_branch): Likewise.
1590 (md_number_to_chars): Write data in target endianness.
1591 (options, md_longopts): Add -mbig-endian and -mlittle-endian options.
1592 (md_parse_option): Handle the endian options.
1593 * config/tc-riscv.h: Only define TARGET_BYTES_BIG_ENDIAN if not
1594 already defined.
1595 * configure.tgt: Added riscv64be*, riscv32be*, riscvbe*.
1596
cd6d537c
L
15972021-01-04 H.J. Lu <hongjiu.lu@intel.com>
1598
1599 PR ld/26256
1600 * config/obj-elf.c (obj_elf_change_section): Also filter out
1601 SHF_LINK_ORDER.
1602
dd933805
AM
16032021-01-04 Alan Modra <amodra@gmail.com>
1604
1605 PR 27102
1606 * symbols.c (S_SET_EXTERNAL): Revise section symbol warning
1607 message and register symbol error message.
1608
90320e40
AM
16092021-01-04 Alan Modra <amodra@gmail.com>
1610
1611 PR 27101
1612 * read.c (s_align): Use a large enough type for "align" to hold
1613 the result of get_absolute_expression.
1614
f9a6a8f0
AM
16152021-01-01 Nicolas Boulenguez <nicolas@debian.org>
1616
1617 * config/tc-i386.c: Correct comment spelling.
1618 * config/tc-riscv.c: Likewise.
1619 * config/tc-s390.c: Correct comment grammar.
1620 * doc/c-i386.texi: Correct spelling.
1621 * doc/c-s390.texi: Correct grammar.
1622
250d07de
AM
16232021-01-01 Alan Modra <amodra@gmail.com>
1624
1625 Update year range in copyright notice of all files.
1626
64d05a43
HPN
16272021-01-01 Hans-Peter Nilsson <hp@bitrange.com>
1628
1629 * config/tc-mmix.h (md_single_noop_insn): Change to "swym 0".
1630
c2795844 1631For older changes see ChangeLog-2020
3499769a 1632\f
c2795844 1633Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
1634
1635Copying and distribution of this file, with or without modification,
1636are permitted in any medium without royalty provided the copyright
1637notice and this notice are preserved.
1638
1639Local Variables:
1640mode: change-log
1641left-margin: 8
1642fill-column: 74
1643version-control: never
1644End: