+2016-06-24 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
+ Don't error out, always return an emulation.
+
2016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
H.J. Lu <hongjiu.lu@intel.com>
}
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