diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-06-21 18:03:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-06-21 18:03:08 +0000 |
commit | d88bc9731d81c72bc5b57c0b36ac744fc9620ab4 (patch) | |
tree | da023a02355cba5be4a9e8576991c59dfb6a7b8a /libc | |
parent | 926e1a70942b8ddec5023c551717b32a27d41879 (diff) |
sync my fixes from glibc
Diffstat (limited to 'libc')
-rw-r--r-- | libc/sysdeps/linux/ia64/clone2.S | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/ia64/clone2.S b/libc/sysdeps/linux/ia64/clone2.S index af621662c..7f067dff8 100644 --- a/libc/sysdeps/linux/ia64/clone2.S +++ b/libc/sysdeps/linux/ia64/clone2.S @@ -1,4 +1,4 @@ -/* Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc. +/* Copyright (C) 2000, 2001, 2003, 2004, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -33,10 +33,12 @@ ENTRY(__clone2) .prologue alloc r2=ar.pfs,8,1,6,0 cmp.eq p6,p0=0,in0 + cmp.eq p7,p0=0,in1 mov r8=EINVAL mov out0=in3 /* Flags are first syscall argument. */ mov out1=in1 /* Stack address. */ -(p6) br.cond.spnt.many __syscall_error +(p6) br.cond.spnt.many __syscall_error /* no NULL function pointers */ +(p7) br.cond.spnt.many __syscall_error /* no NULL stack pointers */ ;; mov out2=in2 /* Stack size. */ mov out3=in5 /* Parent TID Pointer */ |