* sysdeps/mach/hurd/dl-sysdep.c (_exit): Add alias __GI__exit.

This commit is contained in:
Roland McGrath 2002-09-22 20:55:21 +00:00
parent f0a78dad99
commit 15d5a9b98b
2 changed files with 7 additions and 0 deletions

View File

@ -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.

View File

@ -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. */