binutils Newspaper
JUNE 15, 2026
risc-v Proposed

RISC-V: make EFI app testcase consistent

The patch makes the RISC-V EFI app testcase consistent by aligning assembler and linker options.

Jan Beulich submits a patch to make the RISC-V EFI app testcase consistent. The patch aligns the options passed to the assembler with those passed to the linker, specifically adding -mlittle-endian to the assembler flags, mirroring a previous fix that addressed linker crashes due to inconsistent use of options in testcases.

In Details

This patch modifies a RISC-V testcase for EFI applications. It ensures that the assembler and linker are invoked with consistent options, specifically related to endianness. Inconsistent options can lead to build failures or unexpected behavior in test environments. The relevant file is binutils/testsuite/binutils-all/riscv/pei-riscv64.d.

For Context

The binutils project contains a suite of tools used for working with binary files, including assemblers, linkers, and other utilities. Testcases are used to ensure that these tools function correctly across different architectures and configurations. This patch modifies a testcase for RISC-V, a modern open-source instruction set architecture, specifically for applications targeting the EFI (Extensible Firmware Interface) environment.

Filed Under: RISC-VEFItestcaseassemblerlinker