Changeset View
Changeset View
Standalone View
Standalone View
head/sys/arm64/include/elf.h
Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | union { | ||||
long a_val; /* Integer value. */ | long a_val; /* Integer value. */ | ||||
void *a_ptr; /* Address. */ | void *a_ptr; /* Address. */ | ||||
void (*a_fcn)(void); /* Function pointer (not used). */ | void (*a_fcn)(void); /* Function pointer (not used). */ | ||||
} a_un; | } a_un; | ||||
} Elf64_Auxinfo; | } Elf64_Auxinfo; | ||||
__ElfType(Auxinfo); | __ElfType(Auxinfo); | ||||
#ifdef _MACHINE_ELF_WANT_32BIT | |||||
#define ELF_ARCH EM_ARM | |||||
#else | |||||
#define ELF_ARCH EM_AARCH64 | #define ELF_ARCH EM_AARCH64 | ||||
#endif | |||||
#define ELF_MACHINE_OK(x) ((x) == (ELF_ARCH)) | #define ELF_MACHINE_OK(x) ((x) == (ELF_ARCH)) | ||||
/* Define "machine" characteristics */ | /* Define "machine" characteristics */ | ||||
#if __ELF_WORD_SIZE == 64 | #if __ELF_WORD_SIZE == 64 | ||||
#define ELF_TARG_CLASS ELFCLASS64 | #define ELF_TARG_CLASS ELFCLASS64 | ||||
#define ELF_TARG_DATA ELFDATA2LSB | #define ELF_TARG_DATA ELFDATA2LSB | ||||
#define ELF_TARG_MACH EM_AARCH64 | #define ELF_TARG_MACH EM_AARCH64 | ||||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |