diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2012-03-21 19:15:02 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2012-03-21 19:15:02 +0000 |
commit | a1fe2c2f3a5dba6f818d9ded633cbe4cd130e9e4 (patch) | |
tree | 8f6c2b0bc0d26bccbfe0b96b70a4be491e0761d3 /ld/testsuite/ld-mips-elf | |
parent | c1027032c2fec15b7a334a09bab8882984716764 (diff) | |
download | binutils-a1fe2c2f3a5dba6f818d9ded633cbe4cd130e9e4.zip binutils-a1fe2c2f3a5dba6f818d9ded633cbe4cd130e9e4.tar.gz binutils-a1fe2c2f3a5dba6f818d9ded633cbe4cd130e9e4.tar.bz2 |
PR ld/13813
* ld-mips-elf/comm-data.exp (mips_comm_data_test): For N32 and N64
tests, also specify assembler option -march=mips3.
Diffstat (limited to 'ld/testsuite/ld-mips-elf')
-rw-r--r-- | ld/testsuite/ld-mips-elf/comm-data.exp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ld/testsuite/ld-mips-elf/comm-data.exp b/ld/testsuite/ld-mips-elf/comm-data.exp index bbd3c55..943e852 100644 --- a/ld/testsuite/ld-mips-elf/comm-data.exp +++ b/ld/testsuite/ld-mips-elf/comm-data.exp @@ -77,7 +77,10 @@ proc mips_comm_data_test { abi flag emul reloc } { ] } -set abis { o32 -32 elf32btsmip n32 -n32 elf32btsmipn32 n64 -64 elf64btsmip } +# For targets that default to a specific ISA (instead of "from-abi"), +# the 64-bit -march option is required to override it, like for +# "mipsisa32r2el-*-*". +set abis { o32 -32 elf32btsmip n32 "-n32 -march=mips3" elf32btsmipn32 n64 "-64 -march=mips3" elf64btsmip } set relocs { copyreloc nocopyreloc } foreach { abi flag emul } $abis { foreach reloc $relocs { |