elf_common.h: add section header flag and dynamic types

SHF_COMPRESSED	section contains compressed data
DT_TLSDESC_PLT	Location of PLT entry for TLS descriptor resolver calls
DT_TLSDESC_GOT	Location of GOT entry used by resolver PLT entry

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2016-05-19 21:04:59 +00:00
parent 05eb95f283
commit 19c2700231
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=300231

View File

@ -473,6 +473,7 @@ typedef struct {
#define SHF_OS_NONCONFORMING 0x100 /* OS-specific processing required. */
#define SHF_GROUP 0x200 /* Member of section group. */
#define SHF_TLS 0x400 /* Section contains TLS data. */
#define SHF_COMPRESSED 0x800 /* Section contains compressed data. */
#define SHF_MASKOS 0x0ff00000 /* OS-specific semantics. */
#define SHF_MASKPROC 0xf0000000 /* Processor-specific semantics. */
@ -608,6 +609,8 @@ typedef struct {
*/
#define DT_ADDRRNGLO 0x6ffffe00
#define DT_GNU_HASH 0x6ffffef5 /* GNU-style hash table */
#define DT_TLSDESC_PLT 0x6ffffef6 /* loc. of PLT for tlsdesc resolver */
#define DT_TLSDESC_GOT 0x6ffffef7 /* loc. of GOT for tlsdesc resolver */
#define DT_GNU_CONFLICT 0x6ffffef8 /* address of conflict section */
#define DT_GNU_LIBLIST 0x6ffffef9 /* address of library list */
#define DT_CONFIG 0x6ffffefa /* configuration information */