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-microblaze created. glibc-2.19-626-g07c5486


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-microblaze has been created
        at  07c5486c6e3ac211d8f423881a91fb1e68903901 (commit)

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

commit 07c5486c6e3ac211d8f423881a91fb1e68903901
Author: Roland McGrath <roland@hack.frob.com>
Date:   Fri Jun 20 17:34:56 2014 -0700

    MicroBlaze: Define TLS_DEFINE_INIT_TP

diff --git a/ChangeLog b/ChangeLog
index 568d975..ee95e57 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
-2014-06-11  Roland McGrath  <roland@hack.frob.com>
+2014-06-20  Roland McGrath  <roland@hack.frob.com>
+
+	* sysdeps/microblaze/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
+	* sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
 
 	* sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
 	* sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
diff --git a/sysdeps/microblaze/nptl/tls.h b/sysdeps/microblaze/nptl/tls.h
index e75a30c..760fb6c 100644
--- a/sysdeps/microblaze/nptl/tls.h
+++ b/sysdeps/microblaze/nptl/tls.h
@@ -101,6 +101,8 @@ static inline void *__microblaze_get_thread_area (void)
 # define TLS_INIT_TP(tcbp) \
   ({ __asm __volatile ("or r21,r0,%0" : : "r" ((void *)tcbp)); 0; })
 
+# define TLS_DEFINE_INIT_TP(tp, pd) void *tp = (pd) + 1
+
 /* Return the address of the dtv for the current thread.  */
 # define THREAD_DTV() \
   (((tcbhead_t *) READ_THREAD_POINTER())->dtv)
diff --git a/sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c b/sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c
deleted file mode 100644
index 4f2de2b..0000000
--- a/sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright (C) 2005-2014 Free Software Foundation, Inc.
-
-   This file is part of the GNU C Library.
-
-   The GNU C Library is free software; you can redistribute it and/or
-   modify it under the terms of the GNU Lesser General Public License as
-   published by the Free Software Foundation; either version 2.1 of the
-   License, or (at your option) any later version.
-
-   The GNU C Library is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-   Lesser General Public License for more details.
-
-   You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
-
-/* Value passed to 'clone' for initialization of the thread register.  */
-#define TLS_VALUE (pd + 1)
-
-/* Get the real implementation.  */
-#include <nptl/sysdeps/pthread/createthread.c>

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

commit 829cace87abe5a3dab307665105d442fe888e1fa
Author: Roland McGrath <roland@hack.frob.com>
Date:   Wed Jun 11 12:38:05 2014 -0700

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

diff --git a/ChangeLog b/ChangeLog
index 99e6895..568d975 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-06-11  Roland McGrath  <roland@hack.frob.com>
+
+	* sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
+	* sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
+
 2014-06-20  Roland McGrath  <roland@hack.frob.com>
 
 	* sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
diff --git a/sysdeps/unix/sysv/linux/microblaze/nptl/fork.c b/sysdeps/unix/sysv/linux/microblaze/arch-fork.h
similarity index 89%
rename from sysdeps/unix/sysv/linux/microblaze/nptl/fork.c
rename to sysdeps/unix/sysv/linux/microblaze/arch-fork.h
index 66888a6..fa737ad 100644
--- a/sysdeps/unix/sysv/linux/microblaze/nptl/fork.c
+++ b/sysdeps/unix/sysv/linux/microblaze/arch-fork.h
@@ -1,5 +1,5 @@
-/* Copyright (C) 2005-2014 Free Software Foundation, Inc.
-
+/* ARCH_FORK definition for Linux fork implementation.  MicroBlaze version.
+   Copyright (C) 2014 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -25,5 +25,3 @@
   INLINE_SYSCALL (clone, 5,                                                   \
                   CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID | SIGCHLD, 0,     \
                   NULL, NULL, &THREAD_SELF->tid)
-
-#include <nptl/sysdeps/unix/sysv/linux/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]