summaryrefslogtreecommitdiff
path: root/io/readlinkat.c
diff options
context:
space:
mode:
authorAdhemerval Zanella Netto <adhemerval.zanella@linaro.org>2023-02-03 14:12:33 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-02-09 07:49:25 -0300
commit16e424a325bc8ece973e4ef4758f12f15355ec57 (patch)
treebda02e0831131ef76a5c37aa84524e0a774f4634 /io/readlinkat.c
parentfb95c316382679c0826cc8399760977cd95f15c9 (diff)
downloadglibc-16e424a325bc8ece973e4ef4758f12f15355ec57.tar.gz
powerpc64: Add the clone3 wrapper
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>
Diffstat (limited to 'io/readlinkat.c')
0 files changed, 0 insertions, 0 deletions