diff options
author | Jake Burkholder <jake@FreeBSD.org> | 2003-01-05 03:48:55 +0000 |
---|---|---|
committer | Jake Burkholder <jake@FreeBSD.org> | 2003-01-05 03:48:55 +0000 |
commit | 3afb5757736354ba8be24564be7705ac79cb35cd (patch) | |
tree | 6ff7fb0a56c727369abd3fcaed547eed2363cc27 /sys/sparc64 | |
parent | e548a1d4c8cce0f67b82d6d5387847c7551de6c4 (diff) | |
download | src-test2-3afb5757736354ba8be24564be7705ac79cb35cd.tar.gz src-test2-3afb5757736354ba8be24564be7705ac79cb35cd.zip |
Notes
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/include/elf.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/sparc64/include/elf.h b/sys/sparc64/include/elf.h index e1e31c0ad4f3..a774843fe8d3 100644 --- a/sys/sparc64/include/elf.h +++ b/sys/sparc64/include/elf.h @@ -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 @@ -47,6 +50,13 @@ */ 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 { long a_val; /* Integer value. */ |