summary refs log tree commit diff
path: root/nptl
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
parent94a749f69ad4b18250e9aab7292b6e8496e0a065 (diff)
downloadglibc-b92e378086449e2707b8b2fd3d2f50cc0b8871e9.tar.gz
glibc-b92e378086449e2707b8b2fd3d2f50cc0b8871e9.tar.xz
glibc-b92e378086449e2707b8b2fd3d2f50cc0b8871e9.zip
* elf/rtld.c (dl_main): Use the page size to find the map start.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog5
-rw-r--r--nptl/sysdeps/unix/sysv/linux/register-atfork.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 6461785669..c92e6abf45 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-05  Ulrich Drepper  <drepper@redhat.com>
+
+	* sysdeps/unix/sysv/linux/register-atfork.c (__register_atfork):
+	Use __linkin_atfork.
+
 2007-11-03  Mike Frysinger  <vapier@gentoo.org>
 
 	* sysdeps/unix/sysv/linux/sh/lowlevellock.S (LOAD_FUTEX_WAIT): Add
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.  */