diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-09-03 05:30:59 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-09-03 05:30:59 +0000 |
commit | bc92b8b0af4a59ea83592d2e1d4bf2c21a06d7ec (patch) | |
tree | 68b6d1d65266e5e51f41bd292b6ab937f84af01b /libc/sysdeps/linux/mips/sysdep.h | |
parent | 9b753727a42d0be0bc0fe110b4d0c582fefc9832 (diff) | |
download | uClibc-alpine-bc92b8b0af4a59ea83592d2e1d4bf2c21a06d7ec.tar.bz2 uClibc-alpine-bc92b8b0af4a59ea83592d2e1d4bf2c21a06d7ec.tar.xz |
Import latest 'clone' and 'vfork' functions from glibc. These have been tested with the 'linuxthreads' thread model and normal uClibc using the included test suite. This puts me very close to having static NPTL applications working.
Diffstat (limited to 'libc/sysdeps/linux/mips/sysdep.h')
-rw-r--r-- | libc/sysdeps/linux/mips/sysdep.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/mips/sysdep.h b/libc/sysdeps/linux/mips/sysdep.h index da8eacded..f9778b2d1 100644 --- a/libc/sysdeps/linux/mips/sysdep.h +++ b/libc/sysdeps/linux/mips/sysdep.h @@ -17,6 +17,7 @@ not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <sys/syscall.h> +#include <sys/regdef.h> #include <features.h> /* Not that using a `PASTE' macro loses. */ @@ -130,3 +131,9 @@ Cambridge, MA 02139, USA. */ #ifdef __PTHREADS_NATIVE__ #include <sysdep-nptl.h> #endif + +#if _MIPS_SIM == _ABIO32 +# define L(label) $L ## label +#else +# define L(label) .L ## label +#endif |