This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.19-291-g9f2a4fb
- From: sthibaul at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 16 Apr 2014 21:43:58 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.19-291-g9f2a4fb
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 9f2a4fbc3c3265227f1493469ad67a81a786c3b1 (commit)
from fd15a59b20220a2d89d628ecebfcaad1ddefe871 (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=9f2a4fbc3c3265227f1493469ad67a81a786c3b1
commit 9f2a4fbc3c3265227f1493469ad67a81a786c3b1
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Wed Apr 16 23:43:28 2014 +0200
hurd: Move dtv, dtv_t, tcbhead_t declaration to per-arch file.
diff --git a/ChangeLog b/ChangeLog
index 970dedb..08e749d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
+ * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
+ to...
+ * sysdeps/mach/hurd/i386/tls.h: ... here.
+
+2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
* sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
diff --git a/sysdeps/mach/hurd/i386/tls.h b/sysdeps/mach/hurd/i386/tls.h
index 845d53d..e456b75 100644
--- a/sysdeps/mach/hurd/i386/tls.h
+++ b/sysdeps/mach/hurd/i386/tls.h
@@ -23,6 +23,30 @@
/* Some things really need not be machine-dependent. */
#include <sysdeps/mach/hurd/tls.h>
+
+#ifndef __ASSEMBLER__
+/* Type for the dtv. */
+typedef union dtv
+{
+ size_t counter;
+ struct
+ {
+ void *val;
+ bool is_static;
+ } pointer;
+} dtv_t;
+
+
+/* Type of the TCB. */
+typedef struct
+{
+ void *tcb; /* Points to this structure. */
+ dtv_t *dtv; /* Vector of pointers to TLS data. */
+ thread_t self; /* This thread's control port. */
+} tcbhead_t;
+#endif
+
+
/* The TCB can have any size and the memory following the address the
thread pointer points to is unspecified. Allocate the TCB there. */
#define TLS_TCB_AT_TP 1
diff --git a/sysdeps/mach/hurd/tls.h b/sysdeps/mach/hurd/tls.h
index dbe73f5..3b8b713 100644
--- a/sysdeps/mach/hurd/tls.h
+++ b/sysdeps/mach/hurd/tls.h
@@ -27,27 +27,6 @@
# include <mach.h>
-/* Type for the dtv. */
-typedef union dtv
-{
- size_t counter;
- struct
- {
- void *val;
- bool is_static;
- } pointer;
-} dtv_t;
-
-
-/* Type of the TCB. */
-typedef struct
-{
- void *tcb; /* Points to this structure. */
- dtv_t *dtv; /* Vector of pointers to TLS data. */
- thread_t self; /* This thread's control port. */
-} tcbhead_t;
-
-
/* This is the size of the initial TCB. */
# define TLS_INIT_TCB_SIZE sizeof (tcbhead_t)
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
sysdeps/mach/hurd/i386/tls.h | 24 ++++++++++++++++++++++++
sysdeps/mach/hurd/tls.h | 21 ---------------------
3 files changed, 30 insertions(+), 21 deletions(-)
hooks/post-receive
--
GNU C Library master sources