public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] GAS/MIPS: Fix testcase module-defer-warn2 for r2+ triples
@ 2023-08-28  4:32 YunQiang Su
  2023-08-29 14:46 ` Maciej W. Rozycki
  0 siblings, 1 reply; 8+ messages in thread
From: YunQiang Su @ 2023-08-28  4:32 UTC (permalink / raw)
  To: macro; +Cc: binutils, YunQiang Su

When gas is configured with --target=mipsisa32r2el-elf, module-defer-warn2
will fail:

/binutils-gdb/gas/testsuite/gas/mips/module-defer-warn2.s: Assembler messages:
/binutils-gdb/gas/testsuite/gas/mips/module-defer-warn2.s:2: Error: `gp=64' used with a 32-bit processor
extra regexps in /binutils-gdb/gas/testsuite/gas/mips/module-defer-warn2.l starting with "^.*:2: .*: `fp=64' used with a 32-bit.*$"
EOF from dump.out
FAIL: mips module-defer-warn2

The reason is that fp64 is allowed for mips32r2 and onward, so
the error message `Error: `fp=64' used with a 32-bit fpu` won't emit.
---
 gas/testsuite/gas/mips/module-defer-warn2.l | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gas/testsuite/gas/mips/module-defer-warn2.l b/gas/testsuite/gas/mips/module-defer-warn2.l
index bd37c299434..95ceb647b94 100644
--- a/gas/testsuite/gas/mips/module-defer-warn2.l
+++ b/gas/testsuite/gas/mips/module-defer-warn2.l
@@ -1,3 +1,3 @@
 .*: Assembler messages:
 .*:2: Error: `gp=64' used with a 32-bit.*
-.*:2: .*: `fp=64' used with a 32-bit.*
+#?.*:2: .*: `fp=64' used with a 32-bit.*
-- 
2.39.2


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-09-29 14:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-28  4:32 [PATCH] GAS/MIPS: Fix testcase module-defer-warn2 for r2+ triples YunQiang Su
2023-08-29 14:46 ` Maciej W. Rozycki
2023-09-26 11:20   ` [PATCH v2] " YunQiang Su
2023-09-28 23:46     ` Maciej W. Rozycki
2023-09-29 13:41       ` YunQiang Su
2023-09-29 14:18         ` Maciej W. Rozycki
2023-09-29 14:23           ` YunQiang Su
2023-09-29 14:32             ` Maciej W. Rozycki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).