summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-08-15 18:23:03 +0000
committerUlrich Drepper <drepper@redhat.com>1998-08-15 18:23:03 +0000
commit5d7de7aa2112e3d0f50a1c34d981a0559651d949 (patch)
tree494c4974affce8419ec00e0f24f5ae7b57584545
parentd610a5446b9b7ad7f59f79722b6ce97dd9a03d16 (diff)
downloadglibc-5d7de7aa2112e3d0f50a1c34d981a0559651d949.tar.gz
glibc-5d7de7aa2112e3d0f50a1c34d981a0559651d949.tar.xz
glibc-5d7de7aa2112e3d0f50a1c34d981a0559651d949.zip
Update.
1998-08-15 18:21  Ulrich Drepper  <drepper@cygnus.com>

	* elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION.  Move EI_PAD
	to 9.
-rw-r--r--ChangeLog5
-rw-r--r--elf/elf.h9
2 files changed, 13 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7d181653d9..709ff7cce2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1998-08-15 18:21  Ulrich Drepper  <drepper@cygnus.com>
+
+	* elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION.  Move EI_PAD
+	to 9.
+
 1998-08-15 14:11  Ulrich Drepper  <drepper@cygnus.com>
 
 	* elf/elf.h: Add PPC Diab relocations.
diff --git a/elf/elf.h b/elf/elf.h
index 3970505c29..2737bc6949 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -137,7 +137,14 @@ typedef struct
 #define EI_VERSION	6		/* File version byte index */
 					/* Value must be EV_CURRENT */
 
-#define EI_PAD		7		/* Byte index of padding bytes */
+#define EI_OSABI	7		/* OS ABI identification */
+#define ELFOSABI_SYSV		0	/* UNIX System V ABI */
+#define ELFOSABI_HPUX		1	/* HP-UX */
+#define ELFOSABI_STANDALONE	255	/* Standalone (embedded) application */
+
+#define EI_ABIVERSION	8		/* ABI version */
+
+#define EI_PAD		9		/* Byte index of padding bytes */
 
 /* Legal values for e_type (object file type).  */