[PATCH v3 0/8] RISC-V: Implement support for big endian targets
Marcus Comstedt
marcus@mc.pp.se
Tue Dec 29 11:47:22 GMT 2020
Marcus Comstedt <marcus@mc.pp.se> writes:
> Ok. What was the issue with the original version?
Ah, I see the problem now. [] will of course not expand inside {}.
Does this fix work for you?
diff --git a/ld/testsuite/ld-riscv-elf/ld-riscv-elf.exp b/ld/testsuite/ld-riscv-elf/ld-riscv-elf.exp
index cb7c2ab9fb..6ddc37a737 100644
--- a/ld/testsuite/ld-riscv-elf/ld-riscv-elf.exp
+++ b/ld/testsuite/ld-riscv-elf/ld-riscv-elf.exp
@@ -120,7 +120,7 @@ if [istarget "riscv*-*-*"] {
return
}
- set abis { rv32gc ilp32 [riscv_choose_ilp32_emul] rv64gc lp64 [riscv_choose_lp64_emul] }
+ set abis [list rv32gc ilp32 [riscv_choose_ilp32_emul] rv64gc lp64 [riscv_choose_lp64_emul]]
foreach { arch abi emul } $abis {
# This checks whether our linker scripts handle __global_pointer$
# correctly. It should be defined in executables and PIE, but not
// Marcus
More information about the Binutils
mailing list