From 1d02f71fe4046c1cd17ff6b6687a89932797cb3b Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 25 Feb 2003 23:45:16 +0000 Subject: linuxthreads/ChangeLog 2003-02-25 Roland McGrath * sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs. * sysdeps/powerpc/powerpc64/dl-tls.h: New file. --- sysdeps/unix/sysv/linux/dl-librecon.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sysdeps/unix/sysv/linux/dl-librecon.h') diff --git a/sysdeps/unix/sysv/linux/dl-librecon.h b/sysdeps/unix/sysv/linux/dl-librecon.h index afe1ec4b72..91535da37d 100644 --- a/sysdeps/unix/sysv/linux/dl-librecon.h +++ b/sysdeps/unix/sysv/linux/dl-librecon.h @@ -1,5 +1,5 @@ /* Optional code to distinguish library flavours. - Copyright (C) 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jakub Jelinek , 2001. @@ -39,7 +39,12 @@ _dl_osversion_init (char *assume_kernel) if (!*q) break; } +#if __LINUX_KERNEL_VERSION > 0 + if (osversion < __LINUX_KERNEL_VERSION) + osversion = __LINUX_KERNEL_VERSION; +#else if (osversion) +#endif GL(dl_osversion) = osversion; } -- cgit v1.2.3