diff options
| author | Koakuma <koachan@protonmail.com> | 2025-06-09 20:53:11 +0700 |
|---|---|---|
| committer | Andreas Larsson <andreas@gaisler.com> | 2025-09-19 20:23:08 +0200 |
| commit | 05457d96175d25c976ab6241c332ae2eb5e07833 (patch) | |
| tree | d05acbdd85d494944961396f101ce15544438c3d /arch/sparc/include | |
| parent | Linux 6.17-rc1 (diff) | |
| download | linux-05457d96175d25c976ab6241c332ae2eb5e07833.tar.gz linux-05457d96175d25c976ab6241c332ae2eb5e07833.zip | |
sparc/module: Add R_SPARC_UA64 relocation handling
This is needed so that the kernel can handle R_SPARC_UA64 relocations,
which is emitted by LLVM's IAS.
Signed-off-by: Koakuma <koachan@protonmail.com>
Reviewed-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Diffstat (limited to 'arch/sparc/include')
| -rw-r--r-- | arch/sparc/include/asm/elf_64.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/elf_64.h b/arch/sparc/include/asm/elf_64.h index 8fb09eec8c3e..694ed081cf8d 100644 --- a/arch/sparc/include/asm/elf_64.h +++ b/arch/sparc/include/asm/elf_64.h @@ -58,6 +58,7 @@ #define R_SPARC_7 43 #define R_SPARC_5 44 #define R_SPARC_6 45 +#define R_SPARC_UA64 54 /* Bits present in AT_HWCAP, primarily for Sparc32. */ #define HWCAP_SPARC_FLUSH 0x00000001 |
