diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-10 07:15:35 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-10 07:15:35 +0000 |
commit | 582cf4bdc3e0675656db08d47696a6d45c2db253 (patch) | |
tree | 4be04eb1c018965ff49a96e15827f48d2844689a /libc/sysdeps/linux/alpha/clone.S | |
parent | c9bb4e57f462f27ba97ac5ebb140eb98c53510b0 (diff) |
need syscall.h for __NR_clone definition
Diffstat (limited to 'libc/sysdeps/linux/alpha/clone.S')
-rw-r--r-- | libc/sysdeps/linux/alpha/clone.S | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/libc/sysdeps/linux/alpha/clone.S b/libc/sysdeps/linux/alpha/clone.S index 396816184..b326925d7 100644 --- a/libc/sysdeps/linux/alpha/clone.S +++ b/libc/sysdeps/linux/alpha/clone.S @@ -23,21 +23,12 @@ #include <features.h> #define _ERRNO_H 1 #include <bits/errno.h> +#include <sys/syscall.h> +#include <asm/regdef.h> /* int clone(int (*fn)(void *arg), void *child_stack, int flags, void *arg) */ -#define a0 $16 -#define a1 $17 -#define a2 $18 -#define a3 $19 -#define v0 $0 -#define fp $15 -#define gp $29 -#define ra $26 -#define pv $27 -#define zero $31 - - .text +.text .globl __clone; .align 3; .ent __clone , 0; |