1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00

Also update Linux-specific VALID_ELF_ABIVERSION definition.

This commit is contained in:
Ulrich Drepper
2010-03-16 14:39:45 -07:00
parent bf219bc6fc
commit 8ed9a2b18b
2 changed files with 6 additions and 1 deletions

View File

@ -58,7 +58,7 @@ extern void _dl_non_dynamic_init (void) internal_function;
|| memcmp (hdr, expected2, size) == 0)
#define VALID_ELF_OSABI(osabi) (osabi == ELFOSABI_SYSV \
|| osabi == ELFOSABI_LINUX)
#define VALID_ELF_ABIVERSION(ver) (ver == 0)
#define VALID_ELF_ABIVERSION(ver) (ver < LIBC_ABI_MAX)
#define MORE_ELF_HEADER_DATA \
static const unsigned char expected2[EI_PAD] = \
{ \