[PATCH v3 0/2] GAS/MIPS: Fix testcase module-defer-warn2 for r2+ triples
YunQiang Su
yunqiang.su@cipunited.com
Fri Sep 29 15:05:24 GMT 2023
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.
YunQiang Su (2):
GAS/MIPS: Convert module-defer-warn2 to .d format
GAS/MIPS: Add module-defer-warn2-r2 testcase for r2+ triples
gas/testsuite/gas/mips/mips.exp | 3 ++-
gas/testsuite/gas/mips/module-defer-warn2-r2.d | 5 +++++
gas/testsuite/gas/mips/module-defer-warn2-r2.l | 2 ++
gas/testsuite/gas/mips/module-defer-warn2.d | 5 +++++
4 files changed, 14 insertions(+), 1 deletion(-)
create mode 100644 gas/testsuite/gas/mips/module-defer-warn2-r2.d
create mode 100644 gas/testsuite/gas/mips/module-defer-warn2-r2.l
create mode 100644 gas/testsuite/gas/mips/module-defer-warn2.d
--
2.39.2
More information about the Binutils
mailing list