Re: [PATCH v4 06/24] riscv: elf: Move relocation constants to UAPI

From: Palmer Dabbelt
Date: Fri Aug 15 2025 - 11:06:15 EST


On Mon, 11 Aug 2025 22:44:19 PDT (-0700), thomas.weissschuh@xxxxxxxxxxxxx wrote:
These constants are useful for cross-platform userspace, for example to
process ELF files during kernel cross-compilation.

Move them from the kernel-private architecture-specific header to the UAPI.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
---
arch/riscv/include/uapi/asm/elf.h | 66 ---------------------------------------
include/uapi/linux/elf-r.h | 66 +++++++++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+), 66 deletions(-)

Acked-by: Palmer Dabbelt <palmer@xxxxxxxxxxx>

I'm going to assume you want to take these all together though some other tree, thanks!