aboutsummaryrefslogtreecommitdiff
path: root/elf/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'elf/elf.h')
-rw-r--r--elf/elf.h9
1 files changed, 8 insertions, 1 deletions
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). */