mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-11 03:40:06 +00: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:
parent
ae9166f2b8
commit
ce193f551e
@ -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>
|
||||
|
||||
* malloc/malloc.c: Update chunk layout comments.
|
||||
|
@ -97,7 +97,7 @@ L(oldpid):
|
||||
#ifdef SHARED
|
||||
b JUMPTARGET(__GI__exit)
|
||||
#else
|
||||
b JUMPTARGET(_exit)
|
||||
bl JUMPTARGET(_exit)
|
||||
/* We won't ever get here but provide a nop so that the linker
|
||||
will insert a toc adjusting stub if necessary. */
|
||||
nop
|
||||
|
Loading…
Reference in New Issue
Block a user