diff options
author | YunQiang Su <yunqiang.su@cipunited.com> | 2023-11-24 16:55:12 +0800 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2024-01-08 14:45:01 +0000 |
commit | 617c2bf72e1a89aa4e956813b1b1325c1a8859b2 (patch) | |
tree | 2bc12288dc13f3f0e48cb180fe3eaf4d11a12e96 /gas | |
parent | b3b647dc7fb8f9854637234b47c17c0d11873577 (diff) | |
download | binutils-617c2bf72e1a89aa4e956813b1b1325c1a8859b2.zip binutils-617c2bf72e1a89aa4e956813b1b1325c1a8859b2.tar.gz binutils-617c2bf72e1a89aa4e956813b1b1325c1a8859b2.tar.bz2 |
MIPS/GAS: mips.exp, mark all mipsisa32*-linux as addr32
Currently, only mipsisa32-linux and mipsisa32el-linux is marked
as addr32, which make mipsisa32rN(el) not marked.
This change can fix 2 test failures on mipsisa32rN(el)-linux:
FAIL: MIPS MIPS64 MIPS-3D ASE instructions (-mips3d flag)
FAIL: MIPS MIPS64 MDMX ASE instructions (-mdmx flag)
These failures don't happen for mipsisa32rN-mti-elf etc,
due to that, the output is set as NO_ABI instead of O32, then
gas won't warn:
`fp=64' used with a 32-bit ABI
Maybe, we should change this behaivour in future.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/gas/mips/mips.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp index 6b4b535..2ddbf0c 100644 --- a/gas/testsuite/gas/mips/mips.exp +++ b/gas/testsuite/gas/mips/mips.exp @@ -564,7 +564,7 @@ if { [istarget mips*-*-vxworks*] } { "MIPS invalid switch to SVR4 PIC from VxWorks PIC" } elseif { [istarget mips*-*-*] } { set addr32 [expr [istarget mipstx39*-*-*] || [istarget mips-*-linux*] || [istarget mipsel-*-linux*] \ - || [istarget mipsisa32-*-linux*] || [istarget mipsisa32el-*-linux*]] + || [istarget mipsisa32*-*-linux*]] set has_newabi [expr [istarget *-*-irix6*] || [istarget mips*-*-linux*] \ || [istarget mips*-sde-elf*] || [istarget mips*-mti-elf*] \ || [istarget mips*-img-elf*]] |