Add alias _Exit.

This commit is contained in:
Ulrich Drepper 1999-02-07 12:44:06 +00:00
parent a3289ba5e8
commit 2bad373511
3 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1991, 1997 Free Software Foundation, Inc.
/* Copyright (C) 1991, 1997, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Joel Sherrill (jsherril@redstone-emh2.army.mil),
On-Line Applications Research Corporation.
@ -36,6 +36,7 @@ _exit (status)
/* status is ignored */
Bsp_cleanup();
}
weak_alias (_exit, _Exit)
#ifdef HAVE_GNU_LD

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1991, 1997 Free Software Foundation, Inc.
/* Copyright (C) 1991, 1997, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Joel Sherrill (jsherril@redstone-emh2.army.mil),
On-Line Applications Research Corporation.
@ -43,6 +43,7 @@ _exit (status)
* application if the user types "go".
*/
}
weak_alias (_exit, _Exit)
#ifdef HAVE_GNU_LD

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1994, 1997 Free Software Foundation, Inc.
/* Copyright (C) 1994, 1997, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Joel Sherrill (jsherril@redstone-emh2.army.mil),
On-Line Applications Research Corporation.
@ -47,3 +47,4 @@ _exit (status)
M68Kvec[ 45 ] = __exit_trap; /* install exit_trap handler */
asm volatile( "trap #13" ); /* insures SUPV mode */
}
weak_alias (_exit, _Exit)