[binutils-gdb] RISC-V: make EFI app testcase consistent
Jan Beulich
jbeulich@sourceware.org
Fri May 15 07:49:48 GMT 2026
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4506341f456de7bbfc595125d8ab22854408cbb6
commit 4506341f456de7bbfc595125d8ab22854408cbb6
Author: Jan Beulich <jbeulich@suse.com>
Date: Fri May 15 09:48:19 2026 +0200
RISC-V: make EFI app testcase consistent
Along the lines of what 43720b0cdd2a ("RISC-V: avoid ld crashes due to
bogus use by testcases") did, options passed to the assembler want to fit
those passed to the linker.
Diff:
---
binutils/testsuite/binutils-all/riscv/pei-riscv64.d | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/binutils/testsuite/binutils-all/riscv/pei-riscv64.d b/binutils/testsuite/binutils-all/riscv/pei-riscv64.d
index 43164147c3d..44e0242df87 100644
--- a/binutils/testsuite/binutils-all/riscv/pei-riscv64.d
+++ b/binutils/testsuite/binutils-all/riscv/pei-riscv64.d
@@ -1,4 +1,4 @@
-#as: -march=rv64gc -mabi=lp64d
+#as: -march=rv64gc -mabi=lp64d -mlittle-endian
#ld: -m elf64lriscv -e0
#PROG: objcopy
#objcopy: -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* -j .reloc --output-target=pei-riscv64-little
More information about the Binutils-cvs
mailing list