This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Fixes testsuite failure on aarch64-rtems.
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Fri, 24 Jun 2016 23:05:40 +0930
- Subject: Fixes testsuite failure on aarch64-rtems.
- Authentication-results: sourceware.org; auth=none
* testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
Don't error out, always return an emulation.
diff --git a/ld/testsuite/ld-aarch64/aarch64-elf.exp b/ld/testsuite/ld-aarch64/aarch64-elf.exp
index b27da52..ab84f01 100644
--- a/ld/testsuite/ld-aarch64/aarch64-elf.exp
+++ b/ld/testsuite/ld-aarch64/aarch64-elf.exp
@@ -46,18 +46,16 @@ set aarch64elftests {
}
proc aarch64_choose_ilp32_emul {} {
- if [istarget aarch64-*-linux*] then {
- return "aarch64linux32"
- } elseif [istarget aarch64-*-elf] {
- return "aarch64elf32"
- } elseif [istarget aarch64_be-*-linux*] {
- return "aarch64linux32b"
- } elseif [istarget aarch64_be-*-elf] {
+ if [istarget *linux*] then {
+ if [istarget aarch64_be-*] {
+ return "aarch64linux32b"
+ }
+ return "aarch64linux32"
+ }
+ if [istarget aarch64_be-*] {
return "aarch64elf32b"
- } else {
- perror "Unknown target triple."
- exit 1
}
+ return "aarch64elf32"
}
run_ld_link_tests $aarch64elftests
--
Alan Modra
Australia Development Lab, IBM