about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-03-16 14:39:45 -0700
committerUlrich Drepper <drepper@redhat.com>2010-03-16 14:39:45 -0700
commit8ed9a2b18bc6d9bb2be89562fe1e14f9c3cf3346 (patch)
treeb6db9a0bc69dd65d60cb9a096359ac4ea5875cfb /sysdeps/unix/sysv/linux
parentbf219bc6fcd970d67ad76dbf3c96cdcdc951e083 (diff)
downloadglibc-8ed9a2b18bc6d9bb2be89562fe1e14f9c3cf3346.tar.gz
glibc-8ed9a2b18bc6d9bb2be89562fe1e14f9c3cf3346.tar.xz
glibc-8ed9a2b18bc6d9bb2be89562fe1e14f9c3cf3346.zip
Also update Linux-specific VALID_ELF_ABIVERSION definition.
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r--sysdeps/unix/sysv/linux/ldsodefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/ldsodefs.h b/sysdeps/unix/sysv/linux/ldsodefs.h
index 0965f1496f..438c9e0c8d 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] =	\
   {							\