[git commit] include/elf.h: update for ELFOSABI_* changes.

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Nov 16 09:52:02 UTC 2012


commit: http://git.uclibc.org/uClibc/commit/?id=48a61d889e825bc73e640bca86e22ec6bb801d15
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

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 at codesourcery.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 include/elf.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/elf.h b/include/elf.h
index ba3e804..470046e 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.  */


More information about the uClibc-cvs mailing list