From c8afdc1dcf62637d2965cb3d99cc1a81ff2cc553 Mon Sep 17 00:00:00 2001 From: John Polstra Date: Mon, 14 Sep 1998 20:30:13 +0000 Subject: Add generic defines ELF_ARCH, ELF_CLASS, and ELF_DATA. These give the relevant characteristics of the native machine, for building and checking Elf_Ehdr structures. Add structures to represent ELF "note" headers. Add defines for the note types used in ELF core files. --- sys/amd64/include/elf.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/amd64/include') diff --git a/sys/amd64/include/elf.h b/sys/amd64/include/elf.h index 2c13a1f7e5dd..5605b6fb3f84 100644 --- a/sys/amd64/include/elf.h +++ b/sys/amd64/include/elf.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: elf.h,v 1.2 1997/08/30 18:59:48 peter Exp $ + * $Id: elf.h,v 1.3 1998/08/16 03:03:31 jdp Exp $ */ #ifndef _MACHINE_ELF_H_ @@ -38,6 +38,8 @@ #define __ELF_WORD_SIZE 32 /* Used by */ #include +#define ELF_ARCH EM_386 + /* * Auxiliary vector entries for passing information to the interpreter. * -- cgit v1.3