diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | elf/elf.h | 9 |
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). */ |