mirror of git://sourceware.org/git/glibc.git
(Elf32_auxv_t): Make cross-compile safe. (Elf64_auxv_t): Likewise.
This commit is contained in:
parent
6ba85a6dce
commit
151c317ff7
18
elf/elf.h
18
elf/elf.h
|
|
@ -899,23 +899,25 @@ typedef struct
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
int a_type; /* Entry type */
|
uint32_t a_type; /* Entry type */
|
||||||
union
|
union
|
||||||
{
|
{
|
||||||
long int a_val; /* Integer value */
|
uint32_t a_val; /* Integer value */
|
||||||
void *a_ptr; /* Pointer value */
|
/* We use to have pointer elements added here. We cannot do that,
|
||||||
void (*a_fcn) (void); /* Function pointer value */
|
though, since it does not work when using 32-bit definitions
|
||||||
|
on 64-bit platforms and vice versa. */
|
||||||
} a_un;
|
} a_un;
|
||||||
} Elf32_auxv_t;
|
} Elf32_auxv_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
long int a_type; /* Entry type */
|
uint64_t a_type; /* Entry type */
|
||||||
union
|
union
|
||||||
{
|
{
|
||||||
long int a_val; /* Integer value */
|
uint64_t a_val; /* Integer value */
|
||||||
void *a_ptr; /* Pointer value */
|
/* We use to have pointer elements added here. We cannot do that,
|
||||||
void (*a_fcn) (void); /* Function pointer value */
|
though, since it does not work when using 32-bit definitions
|
||||||
|
on 64-bit platforms and vice versa. */
|
||||||
} a_un;
|
} a_un;
|
||||||
} Elf64_auxv_t;
|
} Elf64_auxv_t;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue