2005-03-29 Roland McGrath <roland@redhat.com>
authorroland <roland>
Wed, 30 Mar 2005 02:07:16 +0000 (02:07 +0000)
committerroland <roland>
Wed, 30 Mar 2005 02:07:16 +0000 (02:07 +0000)
commita66808c3b508b454494d6153bbc507a61cae2073
tree206bb6eb6c1679b3f83ddbff110c2dce792ab8aa
parentdd8fcb6549a1f20e7d8f18f98028312c667aa640
2005-03-29  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): New
function, inline broken out of ...
(DL_SYSDEP_OSCHECK): ... here.  Use that.
Do the discovery and set GLRO(dl_osversion) if successful,
if __LINUX_KERNEL_VERSION <= 0.
* elf/dl-load.c: Don't include dl-osinfo.h here.
elf/dl-load.c
sysdeps/unix/sysv/linux/dl-osinfo.h