summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/sysdeps/x86_64/tls.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-02 14:31:47 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-02 14:31:47 +0000
commit78ca36fd7ef427877ff13339def3af1e219f2e60 (patch)
tree9fca8dcb5e536bf30d0f076e73ca25971d1aa0b5 /libpthread/linuxthreads/sysdeps/x86_64/tls.h
parentcdc7ed7e450dc815215aad89845d574e8c4f86a5 (diff)
sync with glibc
Diffstat (limited to 'libpthread/linuxthreads/sysdeps/x86_64/tls.h')
-rw-r--r--libpthread/linuxthreads/sysdeps/x86_64/tls.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/libpthread/linuxthreads/sysdeps/x86_64/tls.h b/libpthread/linuxthreads/sysdeps/x86_64/tls.h
index 63feebdb2..d67275c10 100644
--- a/libpthread/linuxthreads/sysdeps/x86_64/tls.h
+++ b/libpthread/linuxthreads/sysdeps/x86_64/tls.h
@@ -1,5 +1,5 @@
/* Definitions for thread-local data handling. linuxthreads/x86-64 version.
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2005 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
@@ -23,13 +23,18 @@
#ifndef __ASSEMBLER__
# include <pt-machine.h>
+# include <stdbool.h>
# include <stddef.h>
/* Type for the dtv. */
typedef union dtv
{
size_t counter;
- void *pointer;
+ struct
+ {
+ void *val;
+ bool is_static;
+ } pointer;
} dtv_t;