1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-04-28 10:05:08 +03:00
Adhemerval Zanella Netto 16e424a325 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>
2023-02-09 07:49:25 -03:00
..
2022-12-06 09:40:19 -03:00
2022-04-10 08:37:38 +09:30
2023-02-09 07:49:25 -03:00
2021-06-02 07:32:19 +02:00