diff options
Diffstat (limited to 'include/elf/common.h')
-rw-r--r-- | include/elf/common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/elf/common.h b/include/elf/common.h index 087d876..111f206 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -440,6 +440,7 @@ #define PT_SUNW_EH_FRAME PT_GNU_EH_FRAME /* Solaris uses the same value */ #define PT_GNU_STACK (PT_LOOS + 0x474e551) /* Stack flags */ #define PT_GNU_RELRO (PT_LOOS + 0x474e552) /* Read-only after relocation */ +#define PT_GNU_SHR (PT_LOOS + 0x474e554) /* Sharable segment */ /* Program segment permissions, in program header p_flags field. */ @@ -523,6 +524,8 @@ are not to be further relocated. */ +#define SHF_GNU_SHARABLE 0x01000000 /* sharable section */ + /* Compression types */ #define ELFCOMPRESS_ZLIB 1 /* Compressed with zlib. */ #define ELFCOMPRESS_LOOS 0x60000000 /* OS-specific semantics, lo */ @@ -720,6 +723,9 @@ #define STT_LOPROC 13 /* Processor-specific semantics */ #define STT_HIPROC 15 /* Processor-specific semantics */ +/* Associated symbol is in common sharable */ +#define SHN_GNU_SHARABLE_COMMON (SHN_LOOS + 10) + /* The following constants control how a symbol may be accessed once it has become part of an executable or shared library. */ |