IA64: Consolidate NPTL/non versions of clone

This commit is contained in:
Roland McGrath 2014-07-03 21:50:50 -07:00 committed by Mike Frysinger
parent dacdc86717
commit e641054cd8
3 changed files with 6 additions and 11 deletions

View File

@ -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> 2014-08-04 Andreas Schwab <schwab@suse.de>
* sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>. * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.

View File

@ -67,7 +67,6 @@ ENTRY(__clone2)
(CHILD) mov loc0=gp (CHILD) mov loc0=gp
(PARENT) ret (PARENT) ret
;; ;;
#ifdef RESET_PID
tbit.nz p6,p0=in3,16 /* CLONE_THREAD */ tbit.nz p6,p0=in3,16 /* CLONE_THREAD */
tbit.z p7,p10=in3,8 /* CLONE_VM */ tbit.z p7,p10=in3,8 /* CLONE_VM */
(p6) br.cond.dptk 1f (p6) br.cond.dptk 1f
@ -82,7 +81,6 @@ ENTRY(__clone2)
st4 [r9]=r8 st4 [r9]=r8
st4 [r10]=r8 st4 [r10]=r8
;; ;;
#endif
1: ld8 out1=[in0],8 /* Retrieve code pointer. */ 1: ld8 out1=[in0],8 /* Retrieve code pointer. */
mov out0=in4 /* Pass proper argument to fn */ mov out0=in4 /* Pass proper argument to fn */
;; ;;

View File

@ -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