aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sparc
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 /sysdeps/unix/sysv/linux/sparc
parentdf3a4e104fb63f96f05b29931dd83e272c2b7936 (diff)
downloadglibc-0b20e02c976ddd89a4adaa3a0c26baec3e275161.tar
glibc-0b20e02c976ddd89a4adaa3a0c26baec3e275161.tar.gz
glibc-0b20e02c976ddd89a4adaa3a0c26baec3e275161.tar.bz2
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sparc')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc32/clone.S1
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc64/clone.S1
2 files changed, 0 insertions, 2 deletions
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 */