add osabi enum

This commit is contained in:
David du Colombier 2017-07-27 23:27:12 +02:00
parent d2f2cc26d5
commit d0f39cd69b
1 changed files with 24 additions and 0 deletions

24
dat.h
View File

@ -377,6 +377,30 @@ enum {
ELFDATA2MSB = 2, /* Big-endian */
};
/*
* Operating system/ABI identification
*/
enum {
ELFOSABI_NONE = 0, /* No extensions or unspecified */
ELFOSABI_HPUX = 1, /* Hewlett-Packard HP-UX */
ELFOSABI_NETBSD = 2, /* NetBSD */
ELFOSABI_GNU = 3, /* GNU */
ELFOSABI_SOLARIS = 6, /* Sun Solaris */
ELFOSABI_AIX = 7, /* AIX */
ELFOSABI_IRIX = 8, /* IRIX */
ELFOSABI_FREEBSD = 9, /* FreeBSD */
ELFOSABI_TRU64 = 10, /* Compaq TRU64 UNIX */
ELFOSABI_MODESTO = 11, /* Novell Modesto */
ELFOSABI_OPENBSD = 12, /* Open BSD */
ELFOSABI_OPENVMS = 13, /* Open VMS */
ELFOSABI_NSK = 14, /* Hewlett-Packard Non-Stop Kernel */
ELFOSABI_AROS = 15, /* Amiga Research OS */
ELFOSABI_FENIXOS = 16, /* The FenixOS highly scalable multi-core OS */
ELFOSABI_CLOUDABI = 17, /* Nuxi CloudABI */
ELFOSABI_OPENVOS = 18, /* Stratus Technologies OpenVOS */
/* 64-255 Architecture-specific value range */
};
/*
* Special Section Indexes
*/