diff options
author | Roland McGrath <roland@gnu.org> | 2003-02-25 23:45:16 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-02-25 23:45:16 +0000 |
commit | 1d02f71fe4046c1cd17ff6b6687a89932797cb3b (patch) | |
tree | d73f941e908994fa60b5932d98510aaf5cb15c2f /sysdeps/unix/sysv/linux/dl-librecon.h | |
parent | fec417190420a427bec2340853f42051da251b65 (diff) | |
download | glibc-1d02f71fe4046c1cd17ff6b6687a89932797cb3b.tar.gz glibc-1d02f71fe4046c1cd17ff6b6687a89932797cb3b.tar.xz glibc-1d02f71fe4046c1cd17ff6b6687a89932797cb3b.zip |
linuxthreads/ChangeLog
2003-02-25 Roland McGrath <roland@redhat.com> * sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs. * sysdeps/powerpc/powerpc64/dl-tls.h: New file.
Diffstat (limited to 'sysdeps/unix/sysv/linux/dl-librecon.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/dl-librecon.h | 7 |
1 files changed, 6 insertions, 1 deletions
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 <jakub@redhat.com>, 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; } |