summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/elf.h
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1998-09-14 20:30:13 +0000
committerjdp <jdp@FreeBSD.org>1998-09-14 20:30:13 +0000
commitc3165880f698a7f3ecd2147fe2657f3e102f90b3 (patch)
treecded75c750eb75d27b609a0e400bb767a5a4aefb /sys/amd64/include/elf.h
parent1f8a10e6301fb1c73f9702beccf31f5b48ec4556 (diff)
downloadFreeBSD-src-c3165880f698a7f3ecd2147fe2657f3e102f90b3.zip
FreeBSD-src-c3165880f698a7f3ecd2147fe2657f3e102f90b3.tar.gz
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.
Diffstat (limited to 'sys/amd64/include/elf.h')
-rw-r--r--sys/amd64/include/elf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/amd64/include/elf.h b/sys/amd64/include/elf.h
index 2c13a1f..5605b6f 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 <sys/elf_generic.h> */
#include <sys/elf_generic.h>
+#define ELF_ARCH EM_386
+
/*
* Auxiliary vector entries for passing information to the interpreter.
*
OpenPOWER on IntegriCloud