mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
Update RISC-V specific ELF definitions
The definitions are taken from the 1.0-rc2 version of the ELF psABI.
This commit is contained in:
parent
9403b71ae9
commit
0b6c675073
15
elf/elf.h
15
elf/elf.h
@ -3927,6 +3927,8 @@ enum
|
||||
#define EF_RISCV_FLOAT_ABI_SINGLE 0x0002
|
||||
#define EF_RISCV_FLOAT_ABI_DOUBLE 0x0004
|
||||
#define EF_RISCV_FLOAT_ABI_QUAD 0x0006
|
||||
#define EF_RISCV_RVE 0x0008
|
||||
#define EF_RISCV_TSO 0x0010
|
||||
|
||||
/* RISC-V relocations. */
|
||||
#define R_RISCV_NONE 0
|
||||
@ -3987,6 +3989,19 @@ enum
|
||||
|
||||
#define R_RISCV_NUM 59
|
||||
|
||||
/* RISC-V specific values for the st_other field. */
|
||||
#define STO_RISCV_VARIANT_CC 0x80 /* Function uses variant calling
|
||||
convention */
|
||||
|
||||
/* RISC-V specific values for the sh_type field. */
|
||||
#define SHT_RISCV_ATTRIBUTES (SHT_LOPROC + 3)
|
||||
|
||||
/* RISC-V specific values for the p_type field. */
|
||||
#define PT_RISCV_ATTRIBUTES (PT_LOPROC + 3)
|
||||
|
||||
/* RISC-V specific values for the d_tag field. */
|
||||
#define DT_RISCV_VARIANT_CC (DT_LOPROC + 1)
|
||||
|
||||
/* BPF specific declarations. */
|
||||
|
||||
#define R_BPF_NONE 0 /* No reloc */
|
||||
|
Loading…
Reference in New Issue
Block a user