mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-02 12:20:51 +00:00
Move the definition of ElfN_Hashelt to common headers. The only platform
which has a different definition for this is alpha.
This commit is contained in:
parent
24caa840be
commit
99bd783419
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97564
@ -60,17 +60,6 @@ typedef struct { /* Auxiliary vector entry on initial stack */
|
||||
|
||||
__ElfType(Auxinfo);
|
||||
|
||||
/*
|
||||
* Types of dynamic symbol hash table bucket and chain elements.
|
||||
*
|
||||
* This is inconsistent among 64 bit architectures, so a machine dependent
|
||||
* typedef is required.
|
||||
*/
|
||||
|
||||
typedef Elf64_Off Elf64_Hashelt;
|
||||
|
||||
__ElfType(Hashelt);
|
||||
|
||||
/* Values for a_type. */
|
||||
#define AT_NULL 0 /* Terminates the vector. */
|
||||
#define AT_IGNORE 1 /* Ignored entry. */
|
||||
|
@ -60,17 +60,6 @@ typedef struct { /* Auxiliary vector entry on initial stack */
|
||||
|
||||
__ElfType(Auxinfo);
|
||||
|
||||
/*
|
||||
* Types of dynamic symbol hash table bucket and chain elements.
|
||||
*
|
||||
* This is inconsistent among 64 bit architectures, so a machine dependent
|
||||
* typedef is required.
|
||||
*/
|
||||
|
||||
typedef Elf32_Off Elf32_Hashelt;
|
||||
|
||||
__ElfType(Hashelt);
|
||||
|
||||
/* Values for a_type. */
|
||||
#define AT_NULL 0 /* Terminates the vector. */
|
||||
#define AT_IGNORE 1 /* Ignored entry. */
|
||||
|
@ -60,17 +60,6 @@ typedef struct { /* Auxiliary vector entry on initial stack */
|
||||
|
||||
__ElfType(Auxinfo);
|
||||
|
||||
/*
|
||||
* Types of dynamic symbol hash table bucket and chain elements.
|
||||
*
|
||||
* This is inconsistent among 64 bit architectures, so a machine dependent
|
||||
* typedef is required.
|
||||
*/
|
||||
|
||||
typedef Elf32_Off Elf32_Hashelt;
|
||||
|
||||
__ElfType(Hashelt);
|
||||
|
||||
/* Values for a_type. */
|
||||
#define AT_NULL 0 /* Terminates the vector. */
|
||||
#define AT_IGNORE 1 /* Ignored entry. */
|
||||
|
@ -60,17 +60,6 @@ typedef struct { /* Auxiliary vector entry on initial stack */
|
||||
|
||||
__ElfType(Auxinfo);
|
||||
|
||||
/*
|
||||
* Types of dynamic symbol hash table bucket and chain elements.
|
||||
*
|
||||
* This is inconsistent among 64 bit architectures, so a machine dependent
|
||||
* typedef is required.
|
||||
*/
|
||||
|
||||
typedef Elf64_Half Elf64_Hashelt;
|
||||
|
||||
__ElfType(Hashelt);
|
||||
|
||||
/* Values for a_type. */
|
||||
#define AT_NULL 0 /* Terminates the vector. */
|
||||
#define AT_IGNORE 1 /* Ignored entry. */
|
||||
|
@ -63,17 +63,6 @@ typedef struct { /* Auxiliary vector entry on initial stack */
|
||||
|
||||
__ElfType(Auxinfo);
|
||||
|
||||
/*
|
||||
* Types of dynamic symbol hash table bucket and chain elements.
|
||||
*
|
||||
* This is inconsistent among 64 bit architectures, so a machine dependent
|
||||
* typedef is required.
|
||||
*/
|
||||
|
||||
typedef Elf32_Off Elf32_Hashelt;
|
||||
|
||||
__ElfType(Hashelt);
|
||||
|
||||
/* Values for a_type. */
|
||||
#define AT_NULL 0 /* Terminates the vector. */
|
||||
#define AT_IGNORE 1 /* Ignored entry. */
|
||||
|
@ -57,17 +57,6 @@ typedef struct { /* Auxiliary vector entry on initial stack */
|
||||
|
||||
__ElfType(Auxinfo);
|
||||
|
||||
/*
|
||||
* Types of dynamic symbol hash table bucket and chain elements.
|
||||
*
|
||||
* This is inconsistent among 64 bit architectures, so a machine dependent
|
||||
* typedef is required.
|
||||
*/
|
||||
|
||||
typedef Elf64_Half Elf64_Hashelt;
|
||||
|
||||
__ElfType(Hashelt);
|
||||
|
||||
/* Values for a_type. */
|
||||
#define AT_NULL 0 /* Terminates the vector. */
|
||||
#define AT_IGNORE 1 /* Ignored entry. */
|
||||
|
@ -41,6 +41,7 @@ typedef u_int32_t Elf32_Off;
|
||||
typedef int32_t Elf32_Sword;
|
||||
typedef u_int32_t Elf32_Word;
|
||||
typedef u_int32_t Elf32_Size;
|
||||
typedef Elf32_Off Elf32_Hashelt;
|
||||
|
||||
/*
|
||||
* ELF header.
|
||||
|
@ -43,6 +43,19 @@ typedef u_int64_t Elf64_Word;
|
||||
typedef u_int64_t Elf64_Size;
|
||||
typedef u_int16_t Elf64_Quarter;
|
||||
|
||||
/*
|
||||
* Types of dynamic symbol hash table bucket and chain elements.
|
||||
*
|
||||
* This is inconsistent among 64 bit architectures, so a machine dependent
|
||||
* typedef is required.
|
||||
*/
|
||||
|
||||
#ifdef __alpha__
|
||||
typedef Elf64_Off Elf64_Hashelt;
|
||||
#else
|
||||
typedef Elf64_Half Elf64_Hashelt;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* ELF header.
|
||||
*/
|
||||
|
@ -60,6 +60,7 @@ __ElfType(Off);
|
||||
__ElfType(Sword);
|
||||
__ElfType(Word);
|
||||
__ElfType(Size);
|
||||
__ElfType(Hashelt);
|
||||
__ElfType(Ehdr);
|
||||
__ElfType(Shdr);
|
||||
__ElfType(Phdr);
|
||||
|
Loading…
Reference in New Issue
Block a user