mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
powerpc: Fix TOC stub on powerpc64 clone()
Use a function call to _exit() so that the linker can create a TOC stub instead of just a branch. Tested on powerpc64.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
|
||||||
|
|
||||||
|
[BZ #20728]
|
||||||
|
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
|
||||||
|
branch to _exit() by a function call.
|
||||||
|
|
||||||
2016-10-28 Florian Weimer <fweimer@redhat.com>
|
2016-10-28 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
* malloc/malloc.c: Update chunk layout comments.
|
* malloc/malloc.c: Update chunk layout comments.
|
||||||
|
@ -97,7 +97,7 @@ L(oldpid):
|
|||||||
#ifdef SHARED
|
#ifdef SHARED
|
||||||
b JUMPTARGET(__GI__exit)
|
b JUMPTARGET(__GI__exit)
|
||||||
#else
|
#else
|
||||||
b JUMPTARGET(_exit)
|
bl JUMPTARGET(_exit)
|
||||||
/* We won't ever get here but provide a nop so that the linker
|
/* We won't ever get here but provide a nop so that the linker
|
||||||
will insert a toc adjusting stub if necessary. */
|
will insert a toc adjusting stub if necessary. */
|
||||||
nop
|
nop
|
||||||
|
Reference in New Issue
Block a user