IA64: Consolidate NPTL/non versions of clone
authorRoland McGrath <roland@hack.frob.com>
Fri, 4 Jul 2014 04:50:50 +0000 (21:50 -0700)
committerMike Frysinger <vapier@gentoo.org>
Mon, 4 Aug 2014 13:06:51 +0000 (09:06 -0400)
ChangeLog
sysdeps/unix/sysv/linux/ia64/clone2.S
sysdeps/unix/sysv/linux/ia64/nptl/clone2.S [deleted file]

index 290d87d..f5861ba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-08-04  Roland McGrath  <roland@hack.frob.com>
+
+       * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
+       that was previously under [RESET_PID].
+       * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
+
 2014-08-04  Andreas Schwab  <schwab@suse.de>
 
        * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
index 6198018..1490a46 100644 (file)
@@ -67,7 +67,6 @@ ENTRY(__clone2)
 (CHILD)        mov loc0=gp
 (PARENT) ret
        ;;
-#ifdef RESET_PID
        tbit.nz p6,p0=in3,16    /* CLONE_THREAD */
        tbit.z p7,p10=in3,8     /* CLONE_VM */
 (p6)   br.cond.dptk 1f
@@ -82,7 +81,6 @@ ENTRY(__clone2)
        st4 [r9]=r8
        st4 [r10]=r8
        ;;
-#endif
 1:     ld8 out1=[in0],8        /* Retrieve code pointer.       */
        mov out0=in4            /* Pass proper argument to fn */
        ;;
diff --git a/sysdeps/unix/sysv/linux/ia64/nptl/clone2.S b/sysdeps/unix/sysv/linux/ia64/nptl/clone2.S
deleted file mode 100644 (file)
index 91f28ba..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-/* We want an #include_next, but we are the main source file.
-   So, #include ourselves and in that incarnation we can use #include_next.  */
-#ifndef INCLUDED_SELF
-# define INCLUDED_SELF
-# include <clone2.S>
-#else
-# define RESET_PID
-# include_next <clone2.S>
-#endif