Skip to content

Commit 64695a4

Browse files
committed
Revert "riscv: Add remaining module relocations"
This reverts commit 8fd6c51.
1 parent 3bc3be6 commit 64695a4

File tree

2 files changed

+30
-428
lines changed

2 files changed

+30
-428
lines changed

arch/riscv/include/uapi/asm/elf.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ typedef union __riscv_fp_state elf_fpregset_t;
4949
#define R_RISCV_TLS_DTPREL64 9
5050
#define R_RISCV_TLS_TPREL32 10
5151
#define R_RISCV_TLS_TPREL64 11
52-
#define R_RISCV_IRELATIVE 58
5352

5453
/* Relocation types not used by the dynamic linker */
5554
#define R_RISCV_BRANCH 16
@@ -82,6 +81,7 @@ typedef union __riscv_fp_state elf_fpregset_t;
8281
#define R_RISCV_ALIGN 43
8382
#define R_RISCV_RVC_BRANCH 44
8483
#define R_RISCV_RVC_JUMP 45
84+
#define R_RISCV_LUI 46
8585
#define R_RISCV_GPREL_I 47
8686
#define R_RISCV_GPREL_S 48
8787
#define R_RISCV_TPREL_I 49
@@ -93,9 +93,6 @@ typedef union __riscv_fp_state elf_fpregset_t;
9393
#define R_RISCV_SET16 55
9494
#define R_RISCV_SET32 56
9595
#define R_RISCV_32_PCREL 57
96-
#define R_RISCV_PLT32 59
97-
#define R_RISCV_SET_ULEB128 60
98-
#define R_RISCV_SUB_ULEB128 61
9996

10097

10198
#endif /* _UAPI_ASM_RISCV_ELF_H */

0 commit comments

Comments
 (0)