glibc/sysdeps/unix/sysv/linux/powerpc
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
..
bits Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
powerpc32 Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
powerpc64 powerpc64: Add the clone3 wrapper 2023-02-09 07:49:25 -03:00
sys Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
Implies
Makefile powerpc: Relocate stinfo->main 2022-04-10 08:37:38 +09:30
Versions
configure configure: Remove check if ld is GNU 2022-12-06 09:40:19 -03:00
configure.ac
dl-auxv.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
dl-cache.h
dl-support.c Linux: Consolidate auxiliary vector parsing (redo) 2022-02-28 11:50:41 +01:00
elision-conf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
elision-conf.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
elision-lock.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
elision-timed.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
elision-trylock.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
elision-unlock.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
get_timebase_freq.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gettimeofday.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
htm.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
internal-ioctl.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
ipc_priv.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
kernel-features.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
kernel_sigaction.h
kernel_termios.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
ldd-rewrite.sed Remove left over LD_LIBRARY_VERSION usages 2022-08-04 09:09:48 -03:00
libc-start.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
libc-start.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
libc-vdso.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
libpthread-compat.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
nldbl-abi.h
pointer_guard.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
pthread_attr_setstack.c
pthread_attr_setstacksize.c
readelflib.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
rt-sysdep.c
rtld_static_init.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sigcontextinfo.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
socket-constants-time64.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
struct_kernel_shmid64_ds.h
syscall.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sysconf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sysdep.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sysdep.h powerpc64: Add the clone3 wrapper 2023-02-09 07:49:25 -03:00
test-gettimebasefreq-static.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
test-gettimebasefreq.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
test-powerpc-linux-sysconf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
time.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
xstatver.h