diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-29 16:43:10 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-29 16:43:10 +0000 |
commit | e6dfae8b06bd4f7950032c4571cd3a98a73f314d (patch) | |
tree | 07a4580cefe00b2249748773f55337e386bb9109 /libc/sysdeps/linux | |
parent | 596bd95ac894c4efadb724f27c41779265196439 (diff) |
make sure clone/__clone are created properly
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r-- | libc/sysdeps/linux/mips/clone.S | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/mips/clone.S b/libc/sysdeps/linux/mips/clone.S index c04b11b2a..e7be7d586 100644 --- a/libc/sysdeps/linux/mips/clone.S +++ b/libc/sysdeps/linux/mips/clone.S @@ -30,12 +30,12 @@ /* int clone(int (*fn)(void *arg), void *child_stack, int flags, void *arg) */ .text -.globl clone ; +.globl __clone ; .align 2; - .type clone,@function; - .ent clone, 0; + .type __clone,@function; + .ent __clone, 0; -clone: +__clone: .frame sp, 4*SZREG, sp #ifdef __PIC__ .set noreorder @@ -109,3 +109,5 @@ __thread_start: move a0,v0 jal HIDDEN_JUMPTARGET(_exit) .end __thread_start + +weak_alias (__clone, clone) |