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 roland/nptl-sparc created. glibc-2.19-561-g5122b97


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, roland/nptl-sparc has been created
        at  5122b97fd21ec8f6f42a3d35835be0cdc4c0bcae (commit)

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

commit 5122b97fd21ec8f6f42a3d35835be0cdc4c0bcae
Author: Roland McGrath <roland@hack.frob.com>
Date:   Wed Jun 11 12:35:59 2014 -0700

    SPARC: Define TLS_DEFINE_INIT_TP

diff --git a/ChangeLog b/ChangeLog
index 9306618..91eeba5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2014-06-11  Roland McGrath  <roland@hack.frob.com>
 
+	* nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
+
 	* sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
 	* nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
 
diff --git a/nptl/sysdeps/sparc/tls.h b/nptl/sysdeps/sparc/tls.h
index 4a1dce7..5ea9355 100644
--- a/nptl/sysdeps/sparc/tls.h
+++ b/nptl/sysdeps/sparc/tls.h
@@ -110,6 +110,9 @@ register struct pthread *__thread_self __asm__("%g7");
 # define TLS_INIT_TP(descr) \
   (__thread_self = (__typeof (__thread_self)) (descr), NULL)
 
+/* Value passed to 'clone' for initialization of the thread register.  */
+# define TLS_DEFINE_INIT_TP(tp, pd) void *tp = (pd)
+
 /* Return the address of the dtv for the current thread.  */
 # define THREAD_DTV() \
   (((tcbhead_t *) __thread_self)->dtv)

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=b584c3a6f9f999330302f47a716aa560247fae4a

commit b584c3a6f9f999330302f47a716aa560247fae4a
Author: Roland McGrath <roland@hack.frob.com>
Date:   Wed Jun 11 12:35:37 2014 -0700

    SPARC: Convert fork.c to arch-fork.h

diff --git a/ChangeLog b/ChangeLog
index 82a62a0..9306618 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2014-06-11  Roland McGrath  <roland@hack.frob.com>
 
+	* sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
+	* nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
+
 	* sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
 	* sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
 
diff --git a/nptl/sysdeps/unix/sysv/linux/sparc/fork.c b/sysdeps/unix/sysv/linux/sparc/arch-fork.h
similarity index 88%
rename from nptl/sysdeps/unix/sysv/linux/sparc/fork.c
rename to sysdeps/unix/sysv/linux/sparc/arch-fork.h
index c7b90d6..fcb47d0 100644
--- a/nptl/sysdeps/unix/sysv/linux/sparc/fork.c
+++ b/sysdeps/unix/sysv/linux/sparc/arch-fork.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 2003-2014 Free Software Foundation, Inc.
+/* ARCH_FORK definition for Linux fork implementation.  SPARC version.
+   Copyright (C) 2003-2014 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Jakub Jelinek <jakub@redhat.com>, 2003.
 
@@ -24,5 +25,3 @@
 #define ARCH_FORK() \
   INLINE_CLONE_SYSCALL (CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID | SIGCHLD, \
 			0, NULL, NULL, &THREAD_SELF->tid)
-
-#include "../fork.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]