aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps/unix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-11-06 01:12:33 +0000
committerUlrich Drepper <drepper@redhat.com>2007-11-06 01:12:33 +0000
commitb92e378086449e2707b8b2fd3d2f50cc0b8871e9 (patch)
treecc81132e476407f88d3262e6d07472079073e761 /nptl/sysdeps/unix
parent94a749f69ad4b18250e9aab7292b6e8496e0a065 (diff)
downloadglibc-b92e378086449e2707b8b2fd3d2f50cc0b8871e9.tar
glibc-b92e378086449e2707b8b2fd3d2f50cc0b8871e9.tar.gz
glibc-b92e378086449e2707b8b2fd3d2f50cc0b8871e9.tar.bz2
glibc-b92e378086449e2707b8b2fd3d2f50cc0b8871e9.zip
* elf/rtld.c (dl_main): Use the page size to find the map start.
Diffstat (limited to 'nptl/sysdeps/unix')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/register-atfork.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/register-atfork.c b/nptl/sysdeps/unix/sysv/linux/register-atfork.c
index 71abd0fb96..bd103295fb 100644
--- a/nptl/sysdeps/unix/sysv/linux/register-atfork.c
+++ b/nptl/sysdeps/unix/sysv/linux/register-atfork.c
@@ -98,8 +98,7 @@ __register_atfork (prepare, parent, child, dso_handle)
newp->child_handler = child;
newp->dso_handle = dso_handle;
- newp->next = __fork_handlers;
- __fork_handlers = newp;
+ __linkin_atfork (newp);
}
/* Release the lock. */