* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S [SHARED]:
	Use __GI_exit.
This commit is contained in:
Ulrich Drepper 2004-04-01 21:17:57 +00:00
parent 7062ca8f6c
commit a99a3055da
2 changed files with 38 additions and 31 deletions

View File

@ -1,5 +1,8 @@
2004-04-01 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S [SHARED]:
Use __GI_exit.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S [SHARED]: Use
__GI__exit.

View File

@ -147,7 +147,11 @@ L(BADSTATUS):
/* If setcontext returns (which can happen if the syscall fails) we will
exit the program with error status (-1). */
li r3,-1
#ifdef SHARED
b JUMPTARGET(__GI_exit);
#else
b JUMPTARGET(exit);
#endif
/* The address of the exit code is in the link register. Store the lr
in the ucontext as LNK so the target function will return to our