mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-14 07:10:05 +00:00
(clone): Subtract stack bias from child stack pointer before passing it to
clone syscall.
This commit is contained in:
parent
2ad1cb8bcc
commit
71614e31fb
@ -40,7 +40,7 @@ __clone:
|
||||
mov %i3, %l3 /* save arg */
|
||||
|
||||
/* Do the system call */
|
||||
mov %i1, %o1
|
||||
sub %i1, 0x7ff, %o1
|
||||
mov %i2, %o0
|
||||
set __NR_clone, %g1
|
||||
ta 0x6d
|
||||
|
Loading…
Reference in New Issue
Block a user