diff options
Diffstat (limited to 'include/elf/common.h')
-rw-r--r-- | include/elf/common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/elf/common.h b/include/elf/common.h index 65877fe4a4..484cb48f96 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -460,6 +460,11 @@ #define PT_GNU_STACK (PT_LOOS + 0x474e551) /* Stack flags */ #define PT_GNU_RELRO (PT_LOOS + 0x474e552) /* Read-only after relocation */ +/* Mbind segments */ +#define PT_GNU_MBIND_NUM 4096 +#define PT_GNU_MBIND_LO (PT_LOOS + 0x474e555) +#define PT_GNU_MBIND_HI (PT_GNU_MBIND_LO + PT_GNU_MBIND_NUM - 1) + /* Program segment permissions, in program header p_flags field. */ #define PF_X (1 << 0) /* Segment is executable */ @@ -543,6 +548,8 @@ are not to be further relocated. */ +#define SHF_GNU_MBIND 0x01000000 /* Mbind section. */ + /* Compression types. */ #define ELFCOMPRESS_ZLIB 1 /* Compressed with zlib. */ #define ELFCOMPRESS_LOOS 0x60000000 /* OS-specific semantics, lo */ |