Also update Linux-specific VALID_ELF_ABIVERSION definition.
authorUlrich Drepper <drepper@redhat.com>
Tue, 16 Mar 2010 21:39:45 +0000 (14:39 -0700)
committerUlrich Drepper <drepper@redhat.com>
Tue, 16 Mar 2010 21:39:45 +0000 (14:39 -0700)
ChangeLog
sysdeps/unix/sysv/linux/ldsodefs.h

index 5d5df59..ed27976 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-03-16  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_ABIVERSION): Update
+       definition to follow generic code.
+
 2010-03-15  Ulrich Drepper  <drepper@redhat.com>
 
        * posix/getconf.c: Update copyright year.
index 0965f14..438c9e0 100644 (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] =       \
   {                                                    \