mips: Add the clone3 wrapper
commite7d1c5866448bf3c56a61def84021e6fc19f57e7
authorAdhemerval Zanella Netto <adhemerval.zanella@linaro.org>
Thu, 24 Aug 2023 16:42:15 +0000 (24 13:42 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 5 Sep 2023 13:15:48 +0000 (5 10:15 -0300)
tree0a6219fe34367b1ed3bcb6a2f27c4296278d57c0
parentb56f7fe79e66387fd66009ab335ec61cab71d2ed
mips: 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);

Checked on mips64el-linux-gnueabihf, mips64el-n32-linux-gnu, and
mipsel-linux-gnu.
sysdeps/unix/sysv/linux/mips/clone3.S [new file with mode: 0644]
sysdeps/unix/sysv/linux/mips/sysdep.h