mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-05 19:35:52 +03:00
Update.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S [SHARED]: Use __GI_exit.
This commit is contained in:
@@ -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.
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user