diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-03-08 07:35:10 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-03-08 07:35:10 +0000 |
commit | 7c22c7ec9a8170f3d1006ddf21d74cd9d2316332 (patch) | |
tree | fba9543f411d48001c40e81cd32b0ed44c0d5928 /sysdeps/generic | |
parent | 93025f9373f4efde62aab31aa03c4744fd3bed62 (diff) | |
download | glibc-7c22c7ec9a8170f3d1006ddf21d74cd9d2316332.tar.gz glibc-7c22c7ec9a8170f3d1006ddf21d74cd9d2316332.tar.xz glibc-7c22c7ec9a8170f3d1006ddf21d74cd9d2316332.zip |
[BZ #5786]
* elf/dl-sysdep.c: Undefine ROUND after use. * sysdeps/generic/ldsodefs.h [HAVE_DL_DISCOVER_OSVERSION] (struct rtld_global_ro): Add _dl_tls_get_addr_soft element. * elf/rtld.c (rtld_global_ro): Initialize _dl_discover_osversion. * sysdeps/unix/sysv/linux/dl-osinfo.h: Move _dl_discover_osversion to ... * sysdeps/unix/sysv/linux/dl-sysdep.c: ...here. * sysdeps/unix/sysv/linux/dl-sysdep.h: Declare _dl_discover_osversion if necessary. * sysdeps/unix/sysv/linux/sysconf.c: Handle _SC_ARG_MAX here.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/ldsodefs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index 580e1e3953..9d1ebdf615 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -656,6 +656,9 @@ struct rtld_global_ro Lmid_t nsid, int argc, char *argv[], char *env[]); void (*_dl_close) (void *map); void *(*_dl_tls_get_addr_soft) (struct link_map *); +#ifdef HAVE_DL_DISCOVER_OSVERSION + int (*_dl_discover_osversion) (void); +#endif /* List of auditing interfaces. */ struct audit_ifaces *_dl_audit; |