aboutsummaryrefslogtreecommitdiff
path: root/bfd/po
diff options
context:
space:
mode:
authorTsukasa OI <research_trasio@irq.a4lg.com>2022-12-27 03:14:02 +0000
committerTsukasa OI <research_trasio@irq.a4lg.com>2023-08-15 06:46:18 +0000
commitf9280e396f171759018b0537e3ceeddce204f2bd (patch)
treed5ddcb77f3af0b193f62e2d4f6c77e4318aa2fbe /bfd/po
parent239af8cbd15cd9ef11e333f9889834665066e4b3 (diff)
downloadgdb-f9280e396f171759018b0537e3ceeddce204f2bd.zip
gdb-f9280e396f171759018b0537e3ceeddce204f2bd.tar.gz
gdb-f9280e396f171759018b0537e3ceeddce204f2bd.tar.bz2
RISC-V: Make T-Head testing pattern more generic
On some T-Head vendor extensions, we test against the constant 18446744073709551615 (2**64-1) to detect invalid immediate errors on -1. However, it heavily depends on the fact that the value used to print immediate value is a 64-bit unsigned type and this constant is not (and should not be) important (we just want to know that -1 is not valid). This commit replaces all such occurrences of 18446744073709551615 with a more generic regular expression. gas/ChangeLog: * testsuite/gas/riscv/x-thead-ba-fail.l: Replace 18446744073709551615 with generic regular expression. * testsuite/gas/riscv/x-thead-bb-fail.l: Likewise. * testsuite/gas/riscv/x-thead-bs-fail.l: Likewise. * testsuite/gas/riscv/x-thead-fmemidx-fail.l: Likewise. * testsuite/gas/riscv/x-thead-memidx-fail.l: Likewise. * testsuite/gas/riscv/x-thead-mempair-fail.l: Likewise.
Diffstat (limited to 'bfd/po')
0 files changed, 0 insertions, 0 deletions