From: Ulrich Drepper Date: Tue, 16 Mar 2010 21:39:45 +0000 (-0700) Subject: Also update Linux-specific VALID_ELF_ABIVERSION definition. X-Git-Tag: upstream/2.30~12961 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8ed9a2b18bc6d9bb2be89562fe1e14f9c3cf3346;p=external%2Fglibc.git Also update Linux-specific VALID_ELF_ABIVERSION definition. --- diff --git a/ChangeLog b/ChangeLog index 5d5df59..ed27976 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-03-16 Ulrich Drepper + + * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_ABIVERSION): Update + definition to follow generic code. + 2010-03-15 Ulrich Drepper * posix/getconf.c: Update copyright year. diff --git a/sysdeps/unix/sysv/linux/ldsodefs.h b/sysdeps/unix/sysv/linux/ldsodefs.h index 0965f14..438c9e0 100644 --- a/sysdeps/unix/sysv/linux/ldsodefs.h +++ b/sysdeps/unix/sysv/linux/ldsodefs.h @@ -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] = \ { \