[binutils-gdb] RISC-V: make EFI app testcase consistent

Jan Beulich via Binutils-cvs <[email protected]>
Newsgroups gmane.comp.gnu.binutils.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4506341f456de7bbfc595125d8ab22854408cbb6

commit 4506341f456de7bbfc595125d8ab22854408cbb6
Author: Jan Beulich <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.