1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-05 19:35:52 +03:00
* 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> 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 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S [SHARED]: Use
__GI__exit. __GI__exit.

View File

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