From: Zong Li Date: Thu, 15 Mar 2018 08:50:51 +0000 (+0800) Subject: RISC-V: Add definition of relocation types X-Git-Tag: v4.17-rc1~129^2~1^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e21d54219c7a698b10d5f1e6a1023ebde284cd7b;p=users%2Fhch%2Fmisc.git RISC-V: Add definition of relocation types Signed-off-by: Zong Li Signed-off-by: Palmer Dabbelt --- diff --git a/arch/riscv/include/uapi/asm/elf.h b/arch/riscv/include/uapi/asm/elf.h index a510edfa8226..5cae4c30cd8e 100644 --- a/arch/riscv/include/uapi/asm/elf.h +++ b/arch/riscv/include/uapi/asm/elf.h @@ -79,5 +79,12 @@ typedef union __riscv_fp_state elf_fpregset_t; #define R_RISCV_TPREL_I 49 #define R_RISCV_TPREL_S 50 #define R_RISCV_RELAX 51 +#define R_RISCV_SUB6 52 +#define R_RISCV_SET6 53 +#define R_RISCV_SET8 54 +#define R_RISCV_SET16 55 +#define R_RISCV_SET32 56 +#define R_RISCV_32_PCREL 57 + #endif /* _UAPI_ASM_ELF_H */