summaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorRoland McGrath <mcgrathr@chromium.org>2011-09-09 10:11:49 -0700
committerRoland McGrath <mcgrathr@chromium.org>2011-09-09 10:11:49 -0700
commit0a2349f929e937fb335ba53e217c05f5aa5d66d5 (patch)
tree7a2388fc9f5041684500ad4a9f5b1711458f7335 /elf
parentf3cdd4674892740f766ea0b5ab5e734e4a028cb0 (diff)
downloadglibc-0a2349f929e937fb335ba53e217c05f5aa5d66d5.tar.gz
Define ELFOSABI_GNU.
Diffstat (limited to 'elf')
-rw-r--r--elf/elf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/elf.h b/elf/elf.h
index 47db25c162..7c64120782 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -142,7 +142,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_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. */