about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-09-22 20:55:21 +0000
committerRoland McGrath <roland@gnu.org>2002-09-22 20:55:21 +0000
commit15d5a9b98b974e1e2cac29662d67d885f00a7048 (patch)
treecfa8d1667bb511926a91fd4332094729df31e1bb
parentf0a78dad99421476bd7720b337a659a02be40dcd (diff)
downloadglibc-15d5a9b98b974e1e2cac29662d67d885f00a7048.tar.gz
glibc-15d5a9b98b974e1e2cac29662d67d885f00a7048.tar.xz
glibc-15d5a9b98b974e1e2cac29662d67d885f00a7048.zip
* sysdeps/mach/hurd/dl-sysdep.c (_exit): Add alias __GI__exit.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/mach/hurd/dl-sysdep.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8e32138340..a25f1e9fa4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-09-22  Roland McGrath  <roland@frob.com>
+
+	* sysdeps/mach/hurd/dl-sysdep.c (_exit): Add alias __GI__exit.
+
 2002-09-22  Andreas Schwab  <schwab@suse.de>
 
 	* cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Append, not overwrite.
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c
index e0e182c208..6d009401b9 100644
--- a/sysdeps/mach/hurd/dl-sysdep.c
+++ b/sysdeps/mach/hurd/dl-sysdep.c
@@ -579,6 +579,9 @@ _exit (int status)
   while (__task_terminate (__mach_task_self ()))
     __mach_task_self_ = (__mach_task_self) ();
 }
+/* We need this alias to satisfy references from libc_pic.a objects
+   that were affected by the libc_hidden_proto declaration for _exit.  */
+strong_alias (_exit, __GI__exit)
 
 /* Try to get a machine dependent instruction which will make the
    program crash.  This is used in case everything else fails.  */