summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2012-10-31 20:41:50 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-11-16 10:52:02 +0100
commit48a61d889e825bc73e640bca86e22ec6bb801d15 (patch)
tree35f458b0223a78136aa1402aab4149c836dab4aa
parent42d1b23fc0f3748b8bf474e456d6c44aa7e563fd (diff)
include/elf.h: update for ELFOSABI_* changes.
ELFOSABI_GNU replaces ELFOSABI_LINUX, the latter is kept as a compatibility alias, and ELFOSABI_HURD is removed. See the table on <http://www.sco.com/developers/gabi/latest/ch4.eheader.html#osabi> for reference. Signed-off-by: Thomas Schwinge <thomas@codesourcery.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--include/elf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/elf.h b/include/elf.h
index ba3e80461..470046ea1 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -148,8 +148,8 @@ typedef struct
#define ELFOSABI_SYSV 0 /* Alias. */
#define ELFOSABI_HPUX 1 /* HP-UX */
#define ELFOSABI_NETBSD 2 /* NetBSD. */
-#define ELFOSABI_LINUX 3 /* Linux. */
-#define ELFOSABI_HURD 4 /* GNU/Hurd */
+#define ELFOSABI_GNU 3 /* Object uses GNU ELF extensions. */
+#define ELFOSABI_LINUX ELFOSABI_GNU /* Compatibility alias. */
#define ELFOSABI_SOLARIS 6 /* Sun Solaris. */
#define ELFOSABI_AIX 7 /* IBM AIX. */
#define ELFOSABI_IRIX 8 /* SGI Irix. */