aboutsummaryrefslogtreecommitdiffstats
path: root/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone3.S (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove the clone3 symbol from libc.a [BZ #31770]H.J. Lu2024-05-211-1/+0
| | | | | | | | clone3 isn't exported from glibc and is hidden in libc.so. Fix BZ #31770 by removing clone3 alias. Signed-off-by: H.J. Lu <hjl.tools@gmail.com> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
* Update copyright dates with scripts/update-copyrightsPaul Eggert2024-01-011-1/+1
|
* powerpc64: Add the clone3 wrapperAdhemerval Zanella Netto2023-02-091-0/+157
It follows the internal signature: extern int clone3 (struct clone_args *__cl_args, size_t __size, int (*__func) (void *__arg), void *__arg); The powerpc64 ABI requires an initial stackframe so the child can store/restore the TOC. It is create prior calling clone3 by adjusting the stack size (since kernel will compute the stack as stack plus size). Checked on powerpc64-linux-gnu (power8, kernel 6.0) and powerpc64le-linux-gnu (power9, kernel 4.18). Reviewed-by: Paul E. Murphy <murphyp@linux.ibm.com>