mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
Terminate FDE before return trampoline in makecontext for powerpc (bug 18635)
This fixes tst-makecontext for PowerPC. [BZ #18635] * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S (__makecontext): Terminate FDE before return label. (__novec_makecontext): Likewise.
This commit is contained in:
parent
41a4f0d493
commit
b4b522f610
@ -1,3 +1,10 @@
|
||||
2015-09-04 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
[BZ #18635]
|
||||
* sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
|
||||
(__makecontext): Terminate FDE before return label.
|
||||
(__novec_makecontext): Likewise.
|
||||
|
||||
2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
|
||||
|
@ -94,6 +94,8 @@ ENTRY(__makecontext)
|
||||
|
||||
blr
|
||||
|
||||
cfi_endproc
|
||||
nop
|
||||
/*
|
||||
* If the function returns, it comes here. We put ucp->uc_link in
|
||||
* r31, which is a callee-saved register. We have to continue with
|
||||
@ -106,6 +108,7 @@ L(exitcode):
|
||||
4: bl HIDDEN_JUMPTARGET(exit)
|
||||
b 4b
|
||||
|
||||
cfi_startproc
|
||||
END(__makecontext)
|
||||
|
||||
versioned_symbol (libc, __makecontext, makecontext, GLIBC_2_3_4)
|
||||
@ -185,6 +188,8 @@ ENTRY(__novec_makecontext)
|
||||
|
||||
blr
|
||||
|
||||
cfi_endproc
|
||||
nop
|
||||
/*
|
||||
* If the function returns, it comes here. We put ucp->uc_link in
|
||||
* r31, which is a callee-saved register. We have to continue with
|
||||
@ -197,6 +202,7 @@ L(novec_exitcode):
|
||||
4: bl HIDDEN_JUMPTARGET(exit)
|
||||
b 4b
|
||||
|
||||
cfi_startproc
|
||||
END(__novec_makecontext)
|
||||
.previous
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user