RISC-V: make EFI app testcase consistent

Message ID 66b89ff6-c7a8-41cf-8bee-bf1675c89db5@suse.com
State New
Headers
Series RISC-V: make EFI app testcase consistent |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_binutils_build--master-arm success Build passed
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 success Build passed
linaro-tcwg-bot/tcwg_binutils_check--master-arm success Test passed
linaro-tcwg-bot/tcwg_binutils_check--master-aarch64 success Test passed

Commit Message

Jan Beulich May 8, 2026, 1 p.m. UTC
  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.
  

Patch

--- 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