Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sparc64/include/elf.h
Show First 20 Lines • Show All 86 Lines • ▼ Show 20 Lines | |||||
#define AT_CANARY 16 /* Canary for SSP */ | #define AT_CANARY 16 /* Canary for SSP */ | ||||
#define AT_CANARYLEN 17 /* Length of the canary. */ | #define AT_CANARYLEN 17 /* Length of the canary. */ | ||||
#define AT_OSRELDATE 18 /* OSRELDATE. */ | #define AT_OSRELDATE 18 /* OSRELDATE. */ | ||||
#define AT_NCPUS 19 /* Number of CPUs. */ | #define AT_NCPUS 19 /* Number of CPUs. */ | ||||
#define AT_PAGESIZES 20 /* Pagesizes. */ | #define AT_PAGESIZES 20 /* Pagesizes. */ | ||||
#define AT_PAGESIZESLEN 21 /* Number of pagesizes. */ | #define AT_PAGESIZESLEN 21 /* Number of pagesizes. */ | ||||
#define AT_TIMEKEEP 22 /* Pointer to timehands. */ | #define AT_TIMEKEEP 22 /* Pointer to timehands. */ | ||||
#define AT_STACKPROT 23 /* Initial stack protection. */ | #define AT_STACKPROT 23 /* Initial stack protection. */ | ||||
#define AT_EHDRFLAGS 24 /* e_flags field from elf hdr */ | |||||
#define AT_HWCAP 25 /* CPU feature flags. */ | |||||
#define AT_COUNT 24 /* Count of defined aux entry types. */ | #define AT_COUNT 26 /* Count of defined aux entry types. */ | ||||
/* Define "machine" characteristics */ | /* Define "machine" characteristics */ | ||||
#if __ELF_WORD_SIZE == 32 | #if __ELF_WORD_SIZE == 32 | ||||
#define ELF_TARG_CLASS ELFCLASS32 | #define ELF_TARG_CLASS ELFCLASS32 | ||||
#else | #else | ||||
#define ELF_TARG_CLASS ELFCLASS64 | #define ELF_TARG_CLASS ELFCLASS64 | ||||
#endif | #endif | ||||
#define ELF_TARG_DATA ELFDATA2MSB | #define ELF_TARG_DATA ELFDATA2MSB | ||||
#define ELF_TARG_MACH ELF_ARCH | #define ELF_TARG_MACH ELF_ARCH | ||||
#define ELF_TARG_VER 1 | #define ELF_TARG_VER 1 | ||||
#define ET_DYN_LOAD_ADDR 0x100000 | #define ET_DYN_LOAD_ADDR 0x100000 | ||||
#endif /* !_MACHINE_ELF_H_ */ | #endif /* !_MACHINE_ELF_H_ */ |