]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
RISC-V: make EFI app testcase consistent
authorJan Beulich <jbeulich@suse.com>
Fri, 15 May 2026 07:48:19 +0000 (09:48 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 15 May 2026 07:48:19 +0000 (09:48 +0200)
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.

binutils/testsuite/binutils-all/riscv/pei-riscv64.d

index 43164147c3d68a521e6aee9cf87ecadbb85da8b2..44e0242df87a5953ae7898af0adb9ec967f333e6 100644 (file)
@@ -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