diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2013-05-26 20:58:06 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2013-08-29 12:22:17 +0200 |
commit | c54290cf086940e3859b236d0fb880bacab2288b (patch) | |
tree | 66a48e6382f61753f8b35788689c105bd79ccc28 /sysdeps/unix/sysv | |
parent | 0007fc9bdd1d9efcd52d07837f2cd085b5a8f58b (diff) | |
download | glibc-c54290cf086940e3859b236d0fb880bacab2288b.tar.gz glibc-c54290cf086940e3859b236d0fb880bacab2288b.tar.xz glibc-c54290cf086940e3859b236d0fb880bacab2288b.zip |
Use ELFOSABI_GNU instead of ELFOSABI_LINUX.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r-- | sysdeps/unix/sysv/linux/ldsodefs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/ldsodefs.h b/sysdeps/unix/sysv/linux/ldsodefs.h index 18ff8528c2..c1b1543ab2 100644 --- a/sysdeps/unix/sysv/linux/ldsodefs.h +++ b/sysdeps/unix/sysv/linux/ldsodefs.h @@ -41,13 +41,13 @@ up the page size information. */ #define HAVE_AUX_PAGESIZE -/* Accept binaries which identify the binary as using Linux extensions. */ +/* Accept binaries which identify the binary as using GNU extensions. */ #define VALID_ELF_HEADER(hdr,exp,size) (memcmp (hdr, exp, size) == 0 \ || memcmp (hdr, expected2, size) == 0) #define VALID_ELF_OSABI(osabi) (osabi == ELFOSABI_SYSV \ - || osabi == ELFOSABI_LINUX) + || osabi == ELFOSABI_GNU) #define VALID_ELF_ABIVERSION(osabi,ver) \ - (ver == 0 || (osabi == ELFOSABI_LINUX && ver < LIBC_ABI_MAX)) + (ver == 0 || (osabi == ELFOSABI_GNU && ver < LIBC_ABI_MAX)) #define MORE_ELF_HEADER_DATA \ static const unsigned char expected2[EI_PAD] = \ { \ @@ -58,7 +58,7 @@ [EI_CLASS] = ELFW(CLASS), \ [EI_DATA] = byteorder, \ [EI_VERSION] = EV_CURRENT, \ - [EI_OSABI] = ELFOSABI_LINUX \ + [EI_OSABI] = ELFOSABI_GNU \ } #endif /* ldsodefs.h */ |