mirror of git://sourceware.org/git/glibc.git
* sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Terminate FDE
before syscall. * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
This commit is contained in:
parent
9b5e78fe89
commit
97d901a672
|
|
@ -1,5 +1,9 @@
|
||||||
2006-04-03 Andreas Schwab <schwab@suse.de>
|
2006-04-03 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Terminate FDE
|
||||||
|
before syscall.
|
||||||
|
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Test for <asm/elf.h>
|
* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Test for <asm/elf.h>
|
||||||
with [! _ASM_POWERPC_ELF_H] as well as [!__PPC64_ELF_H].
|
with [! _ASM_POWERPC_ELF_H] as well as [!__PPC64_ELF_H].
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -84,6 +84,10 @@ ENTRY (BP_SYM (__clone))
|
||||||
mr r6,r8
|
mr r6,r8
|
||||||
mr r7,r9
|
mr r7,r9
|
||||||
|
|
||||||
|
/* End FDE now, because in the child the unwind info will be
|
||||||
|
wrong. */
|
||||||
|
cfi_endproc
|
||||||
|
|
||||||
/* Do the call. */
|
/* Do the call. */
|
||||||
DO_CALL(SYS_ify(clone))
|
DO_CALL(SYS_ify(clone))
|
||||||
|
|
||||||
|
|
@ -138,6 +142,8 @@ L(parent):
|
||||||
L(badargs):
|
L(badargs):
|
||||||
li r3,EINVAL
|
li r3,EINVAL
|
||||||
b __syscall_error@local
|
b __syscall_error@local
|
||||||
|
|
||||||
|
cfi_startproc
|
||||||
END (BP_SYM (__clone))
|
END (BP_SYM (__clone))
|
||||||
|
|
||||||
weak_alias (BP_SYM (__clone), BP_SYM (clone))
|
weak_alias (BP_SYM (__clone), BP_SYM (clone))
|
||||||
|
|
|
||||||
|
|
@ -81,6 +81,10 @@ ENTRY (BP_SYM (__clone))
|
||||||
mr r6,r8
|
mr r6,r8
|
||||||
mr r7,r9
|
mr r7,r9
|
||||||
|
|
||||||
|
/* End FDE now, because in the child the unwind info will be
|
||||||
|
wrong. */
|
||||||
|
cfi_endproc
|
||||||
|
|
||||||
/* Do the call. */
|
/* Do the call. */
|
||||||
DO_CALL(SYS_ify(clone))
|
DO_CALL(SYS_ify(clone))
|
||||||
|
|
||||||
|
|
@ -132,6 +136,8 @@ L(parent):
|
||||||
L(badargs):
|
L(badargs):
|
||||||
li r3,EINVAL
|
li r3,EINVAL
|
||||||
b JUMPTARGET(__syscall_error)
|
b JUMPTARGET(__syscall_error)
|
||||||
|
|
||||||
|
cfi_startproc
|
||||||
END (BP_SYM (__clone))
|
END (BP_SYM (__clone))
|
||||||
|
|
||||||
weak_alias (BP_SYM (__clone), BP_SYM (clone))
|
weak_alias (BP_SYM (__clone), BP_SYM (clone))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue