Skip to content

Commit

Permalink
Revert "riscv: Add remaining module relocations"
Browse files Browse the repository at this point in the history
This reverts commit 8fd6c51.
  • Loading branch information
esmil committed Nov 27, 2023
1 parent 3bc3be6 commit 64695a4
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 428 deletions.
5 changes: 1 addition & 4 deletions arch/riscv/include/uapi/asm/elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ typedef union __riscv_fp_state elf_fpregset_t;
#define R_RISCV_TLS_DTPREL64 9
#define R_RISCV_TLS_TPREL32 10
#define R_RISCV_TLS_TPREL64 11
#define R_RISCV_IRELATIVE 58

/* Relocation types not used by the dynamic linker */
#define R_RISCV_BRANCH 16
Expand Down Expand Up @@ -82,6 +81,7 @@ typedef union __riscv_fp_state elf_fpregset_t;
#define R_RISCV_ALIGN 43
#define R_RISCV_RVC_BRANCH 44
#define R_RISCV_RVC_JUMP 45
#define R_RISCV_LUI 46
#define R_RISCV_GPREL_I 47
#define R_RISCV_GPREL_S 48
#define R_RISCV_TPREL_I 49
Expand All @@ -93,9 +93,6 @@ typedef union __riscv_fp_state elf_fpregset_t;
#define R_RISCV_SET16 55
#define R_RISCV_SET32 56
#define R_RISCV_32_PCREL 57
#define R_RISCV_PLT32 59
#define R_RISCV_SET_ULEB128 60
#define R_RISCV_SUB_ULEB128 61


#endif /* _UAPI_ASM_RISCV_ELF_H */
Loading

0 comments on commit 64695a4

Please sign in to comment.