about summary refs log tree commit diff
diff options
context:
space:
mode:
authorIvo Raisr <ivo.raisr@oracle.com>2017-02-06 10:49:50 -0200
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-02-06 11:30:41 -0200
commit0b20e02c976ddd89a4adaa3a0c26baec3e275161 (patch)
tree75c87de5775a4e4917b8741e01e2f9d4a7708ca6
parentdf3a4e104fb63f96f05b29931dd83e272c2b7936 (diff)
downloadglibc-0b20e02c976ddd89a4adaa3a0c26baec3e275161.tar.gz
glibc-0b20e02c976ddd89a4adaa3a0c26baec3e275161.tar.xz
glibc-0b20e02c976ddd89a4adaa3a0c26baec3e275161.zip
sparc: Remove unused assignment in __clone
It is no longer needed to preserve the flags parameter to `clone' since
the commit c579f48edba88380635ab98cb612030e3ed8691e (Remove cached
PID/TID in clone).

Testing was performed successfully on sparcv9/Linux.

	[BZ #21075]
	* sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
	unused assignment.
	* sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc32/clone.S1
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc64/clone.S1
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e4885cf260..fa2fbf0903 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
+
+	[BZ #21075]
+	* sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
+	unused assignment.
+	* sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
+
 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
 
 	* sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S b/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
index 2e5d09d1cb..6d2f5bd55f 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
@@ -48,7 +48,6 @@ ENTRY (__clone)
 	   expects.  */
 	sub	%o1, 96, %o1
 	mov	%i3, %g3
-	mov	%i2, %g4
 
 	/* ptid */
 	mov	%i4,%o2
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S b/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S
index fea6bf7921..fc28539a59 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S
@@ -51,7 +51,6 @@ ENTRY (__clone)
 	   expects.  Also, subtract STACK_BIAS.  */
 	sub	%i1, 192 + 0x7ff, %o1
 	mov	%i3, %g3
-	mov	%i2, %g4
 
 	mov	%i4,%o2			/* PTID */
 	mov	%i5,%o3			/* TLS */