Make imgact_elf32.c compile on sparc64.
Obtained from: ia64
This commit is contained in:
parent
e548a1d4c8
commit
3afb575773
@ -33,9 +33,12 @@
|
||||
* ELF definitions for the sparc64 architecture.
|
||||
*/
|
||||
|
||||
#include <sys/elf32.h> /* Definitions common to all 32 bit architectures. */
|
||||
#include <sys/elf64.h> /* Definitions common to all 64 bit architectures. */
|
||||
|
||||
#ifndef __ELF_WORD_SIZE
|
||||
#define __ELF_WORD_SIZE 64 /* Used by <sys/elf_generic.h> */
|
||||
#endif
|
||||
#include <sys/elf_generic.h>
|
||||
|
||||
#define ELF_ARCH EM_SPARCV9
|
||||
@ -46,6 +49,13 @@
|
||||
* Auxiliary vector entries for passing information to the interpreter.
|
||||
*/
|
||||
|
||||
typedef struct { /* Auxiliary vector entry on initial stack */
|
||||
int a_type; /* Entry type. */
|
||||
union {
|
||||
int a_val; /* Integer value. */
|
||||
} a_un;
|
||||
} Elf32_Auxinfo;
|
||||
|
||||
typedef struct { /* Auxiliary vector entry on initial stack */
|
||||
long a_type; /* Entry type. */
|
||||
union {
|
||||
|
Loading…
Reference in New Issue
Block a user