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-hppa created. glibc-2.19-687-gfe63095
- From: roland at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 25 Jun 2014 18:30:47 -0000
- Subject: GNU C Library master sources branch roland/nptl-hppa created. glibc-2.19-687-gfe63095
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-hppa has been created
at fe63095c236d10f7037de135536411882796d7a0 (commit)
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=fe63095c236d10f7037de135536411882796d7a0
commit fe63095c236d10f7037de135536411882796d7a0
Author: Roland McGrath <roland@hack.frob.com>
Date: Wed Jun 25 11:14:59 2014 -0700
HPPA: Move NPTL public headers to sysdeps/hppa/nptl/.
diff --git a/ChangeLog b/ChangeLog
index 9738791..c947f59 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2014-06-25 Roland McGrath <roland@hack.frob.com>
+ * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
+ * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
+ * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
+ * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
+
* sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
Deconditionalize the code that was previously under [RESET_PID].
* sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
diff --git a/sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h b/sysdeps/hppa/nptl/bits/pthreadtypes.h
similarity index 100%
rename from sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
rename to sysdeps/hppa/nptl/bits/pthreadtypes.h
diff --git a/sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h b/sysdeps/hppa/nptl/bits/semaphore.h
similarity index 100%
rename from sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h
rename to sysdeps/hppa/nptl/bits/semaphore.h
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=c8daf299135c7de9f4aab74447243046544b5c79
commit c8daf299135c7de9f4aab74447243046544b5c79
Author: Roland McGrath <roland@hack.frob.com>
Date: Wed Jun 25 11:14:46 2014 -0700
HPPA: Consolidate NPTL/non versions of clone
diff --git a/ChangeLog b/ChangeLog
index 51ffdfe..9738791 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2014-06-25 Roland McGrath <roland@hack.frob.com>
+ * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
+ Deconditionalize the code that was previously under [RESET_PID].
+ * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
+
* sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
* sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
diff --git a/sysdeps/unix/sysv/linux/hppa/clone.S b/sysdeps/unix/sysv/linux/hppa/clone.S
index 1a3c6c8..04f46a3 100644
--- a/sysdeps/unix/sysv/linux/hppa/clone.S
+++ b/sysdeps/unix/sysv/linux/hppa/clone.S
@@ -24,6 +24,7 @@
#include <sysdep.h>
#define _ERRNO_H 1
#include <bits/errno.h>
+#include <tcb-offsets.h>
/* Non-thread code calls __clone with the following parameters:
int clone(int (*fn)(void *arg),
@@ -131,9 +132,8 @@ ENTRY(__clone)
ldwm -64(%sp), %r4
.LthreadStart:
-#ifdef RESET_PID
-# define CLONE_VM_BIT 23 /* 0x00000100 */
-# define CLONE_THREAD_BIT 15 /* 0x00010000 */
+#define CLONE_VM_BIT 23 /* 0x00000100 */
+#define CLONE_THREAD_BIT 15 /* 0x00010000 */
/* Load original clone flags.
If CLONE_THREAD was passed, don't reset the PID/TID.
If CLONE_VM was passed, we need to store -1 to PID/TID.
@@ -150,7 +150,6 @@ ENTRY(__clone)
stw %ret0, PID_THREAD_OFFSET(%r26)
stw %ret0, TID_THREAD_OFFSET(%r26)
1:
-#endif
/* Load up the arguments. */
ldw -60(%sp), %arg0
ldw -64(%sp), %r22
diff --git a/sysdeps/unix/sysv/linux/hppa/nptl/clone.S b/sysdeps/unix/sysv/linux/hppa/nptl/clone.S
deleted file mode 100644
index 23750b3..0000000
--- a/sysdeps/unix/sysv/linux/hppa/nptl/clone.S
+++ /dev/null
@@ -1,3 +0,0 @@
-#define RESET_PID
-#include <tcb-offsets.h>
-#include "../clone.S"
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=d095dd2de88b70cbd57e614f503587f1c8d6d373
commit d095dd2de88b70cbd57e614f503587f1c8d6d373
Author: Roland McGrath <roland@hack.frob.com>
Date: Wed Jun 25 11:14:30 2014 -0700
HPPA: Convert fork.c to arch-fork.h
diff --git a/ChangeLog b/ChangeLog
index e1be998..51ffdfe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-06-25 Roland McGrath <roland@hack.frob.com>
+
+ * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
+ * sysdeps/unix/sysv/linux/hppa/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/hppa/nptl/fork.c b/sysdeps/unix/sysv/linux/hppa/arch-fork.h
similarity index 89%
rename from sysdeps/unix/sysv/linux/hppa/nptl/fork.c
rename to sysdeps/unix/sysv/linux/hppa/arch-fork.h
index 3c21f5a..f4241fa 100644
--- a/sysdeps/unix/sysv/linux/hppa/nptl/fork.c
+++ b/sysdeps/unix/sysv/linux/hppa/arch-fork.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 2005-2014 Free Software Foundation, Inc.
+/* ARCH_FORK definition for Linux fork implementation. HPPA version.
+ 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
@@ -29,5 +30,3 @@
INLINE_SYSCALL (clone, 5, \
CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID | SIGCHLD, \
NULL, NULL, NULL, &THREAD_SELF->tid)
-
-#include <nptl/sysdeps/unix/sysv/linux/fork.c>
-----------------------------------------------------------------------
hooks/post-receive
--
GNU C Library master sources