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.19-560-gc3a2ebe


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  c3a2ebe1f7541cc35937621e08c28ff88afd0845 (commit)
      from  c9cab3d2f969ab15cbd91744c80482a0fb818668 (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=c3a2ebe1f7541cc35937621e08c28ff88afd0845

commit c3a2ebe1f7541cc35937621e08c28ff88afd0845
Author: Chris Metcalf <cmetcalf@tilera.com>
Date:   Wed Jun 11 15:52:53 2014 -0400

    tile: Consolidate NPTL/non versions of vfork

diff --git a/ChangeLog b/ChangeLog
index 82a62a0..d86e739 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
+
+	* sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
+	* sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
+	* sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
+	conditional code always true.
+	(__libc_vfork): New alias.
+
 2014-06-11  Roland McGrath  <roland@hack.frob.com>
 
 	* sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
diff --git a/sysdeps/unix/sysv/linux/tile/pt-vfork.S b/sysdeps/unix/sysv/linux/tile/pt-vfork.S
deleted file mode 100644
index a6ccb1f..0000000
--- a/sysdeps/unix/sysv/linux/tile/pt-vfork.S
+++ /dev/null
@@ -1,2 +0,0 @@
-#define PT_VFORK 1   /* pid is never zero */
-#include "vfork.S"
diff --git a/sysdeps/unix/sysv/linux/tile/pt-vfork.c b/sysdeps/unix/sysv/linux/tile/pt-vfork.c
new file mode 100644
index 0000000..5fbc652
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/tile/pt-vfork.c
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/aarch64/pt-vfork.c>
diff --git a/sysdeps/unix/sysv/linux/tile/vfork.S b/sysdeps/unix/sysv/linux/tile/vfork.S
index 014cccf..bf7bdf4 100644
--- a/sysdeps/unix/sysv/linux/tile/vfork.S
+++ b/sysdeps/unix/sysv/linux/tile/vfork.S
@@ -38,9 +38,7 @@ ENTRY (__vfork)
 	 shli r13, r13, 31		/* Build 0x80000000. */
 	}
 	sub r12, zero, r12		/* Negate it.  */
-#ifndef PT_VFORK
 	CMOVEQZ r12, r12, r13		/* Replace zero pids.  */
-#endif
 	ST4 r11, r12			/* Store the temporary PID.  */
 
 	{
@@ -67,9 +65,7 @@ ENTRY (__vfork)
 	 CMPEQ r13, r12, r12		/* Test for that value. */
 	 sub r12, zero, r12		/* Re-negate it.  */
 	}
-#ifndef PT_VFORK
 	CMOVNEZ r12, r13, zero		/* Replace zero pids.  */
-#endif
 	ST4 r11, r12			/* Restore the PID.  */
 1:
 	BNEZ r1, 0f
@@ -78,3 +74,4 @@ PSEUDO_END (__vfork)
 libc_hidden_def (__vfork)
 
 weak_alias (__vfork, vfork)
+strong_alias (__vfork, __libc_vfork)

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

Summary of changes:
 ChangeLog                               |    8 ++++++++
 sysdeps/unix/sysv/linux/tile/pt-vfork.S |    2 --
 sysdeps/unix/sysv/linux/tile/pt-vfork.c |    1 +
 sysdeps/unix/sysv/linux/tile/vfork.S    |    5 +----
 4 files changed, 10 insertions(+), 6 deletions(-)
 delete mode 100644 sysdeps/unix/sysv/linux/tile/pt-vfork.S
 create mode 100644 sysdeps/unix/sysv/linux/tile/pt-vfork.c


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]