This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.23-285-g230528c


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  230528c467ee5ae7b55d41530bbb10fd94da948f (commit)
      from  8a03ccbb77f52ec4b55062eeedddb8daec1a33e4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=230528c467ee5ae7b55d41530bbb10fd94da948f

commit 230528c467ee5ae7b55d41530bbb10fd94da948f
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon May 2 17:44:00 2016 -0300

    powerpc: Fix clone CLONE_VM compare
    
    This patch fixes the clone CLONE_VM change from 0cb313f (BZ#19957)
    where the commit changed the register that contains the save flags
    argument to compare with (from r28 to r29).  This patch changes
    back to correct register.
    
    Tested on powerpc32 (thanks to Tulio Magno Quites Machado Filho).
    
    	* sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
    	flags CLONE_VM compare.

diff --git a/ChangeLog b/ChangeLog
index d7044ea..26284bd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+	* sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
+	flags CLONE_VM compare.
+
 2016-05-02  Florian Weimer  <fweimer@redhat.com>
 
 	[BZ #20031]
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S
index 9d496f0..bebadbf 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S
@@ -77,7 +77,7 @@ ENTRY (__clone)
 	bne-	cr1,L(parent)		/* The '-' is to minimise the race.  */
 
 	/* If CLONE_VM is set do not update the pid/tid field.  */
-	andi.	r0,r29,CLONE_VM
+	andi.	r0,r28,CLONE_VM
 	bne+	cr0,L(oldpid)
 
 	DO_CALL(SYS_ify(getpid))

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                         |    5 +++++
 sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]