From patchwork Tue Jan 31 04:48:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivo Raisr X-Patchwork-Id: 19060 Received: (qmail 50359 invoked by alias); 31 Jan 2017 04:48:37 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 50252 invoked by uid 89); 31 Jan 2017 04:48:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=ptid, Hx-languages-length:3373, H*Ad:D*oracle.com, PTID X-HELO: userp1040.oracle.com Subject: Fwd: [PATCH][BZ 21075 ] sparc - Remove unused assignment in __clone References: To: libc-alpha@sourceware.org From: Ivo Raisr X-Forwarded-Message-Id: Message-ID: Date: Tue, 31 Jan 2017 05:48:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: Any news here? I. -------- Forwarded Message -------- Subject: [PATCH][BZ 21075 ] sparc - Remove unused assignment in __clone Date: Thu, 26 Jan 2017 12:02:26 +0100 From: Ivo Raisr To: libc-alpha@sourceware.org The attached patch fixes: BZ#21075 - unused assigment to %g4 in sparc/sparc{64,32}/clone.S 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. See the attached patch and ChangeLog entry. Kind regards, I. 2017-01-26 Ivo Raisr [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-01-26 Ivo Raisr [BZ #21075] * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove unused assignment. * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise. commit 79273faf7c11a76d6c9cb2b48c700eda772928e6 Author: Ivo Raisr Date: Tue Jan 24 10:31:22 2017 +0100 sparc: Remove unused assignment in __clone [BZ #21075] ChangeLog: [BZ #21075] * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove unused assignment. * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise. diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S b/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S index 2e5d09d..6d2f5bd 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 fea6bf7..fc28539 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 */