This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch roland/nptl-microblaze created. glibc-2.19-687-g55d2813
- From: roland at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 25 Jun 2014 18:30:51 -0000
- Subject: GNU C Library master sources branch roland/nptl-microblaze created. glibc-2.19-687-g55d2813
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 55d28133e2c6faf8c9c3c19a7142dd5714d0509e (commit)
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=55d28133e2c6faf8c9c3c19a7142dd5714d0509e
commit 55d28133e2c6faf8c9c3c19a7142dd5714d0509e
Author: Roland McGrath <roland@hack.frob.com>
Date: Wed Jun 25 11:18:27 2014 -0700
MicroBlaze: Move NPTL public headers to sysdeps/microblaze/nptl/.
diff --git a/ChangeLog b/ChangeLog
index 0839785..9042a27 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2014-06-25 Roland McGrath <roland@hack.frob.com>
+ * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
+ Moved ...
+ * sysdeps/microblaze/nptl/bits/pthreadtypes.h: ... here.
+ * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: Moved ...
+ * sysdeps/microblaze/nptl/bits/semaphore.h: ... here.
+
* sysdeps/microblaze/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
* sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
diff --git a/sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h b/sysdeps/microblaze/nptl/bits/pthreadtypes.h
similarity index 100%
rename from sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
rename to sysdeps/microblaze/nptl/bits/pthreadtypes.h
diff --git a/sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h b/sysdeps/microblaze/nptl/bits/semaphore.h
similarity index 100%
rename from sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h
rename to sysdeps/microblaze/nptl/bits/semaphore.h
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=0d3a2b9fbc0540e941718d7bb5dd0533850a7bfd
commit 0d3a2b9fbc0540e941718d7bb5dd0533850a7bfd
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 5f28ef1..0839785 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2014-06-25 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=d8306553dd6354a356dea41fd4b9259fbc488bd6
commit d8306553dd6354a356dea41fd4b9259fbc488bd6
Author: Roland McGrath <roland@hack.frob.com>
Date: Wed Jun 25 11:17:28 2014 -0700
microblaze: Convert fork.c to arch-fork.h
diff --git a/ChangeLog b/ChangeLog
index e1be998..5f28ef1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-06-25 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-25 Joseph Myers <joseph@codesourcery.com>
* nptl/createthread.c: Don't include kernel-features.h.
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