Browse Source

sync with glibc

Mike Frysinger 20 years ago
parent
commit
78ca36fd7e
1 changed files with 7 additions and 2 deletions
  1. 7 2
      libpthread/linuxthreads/sysdeps/x86_64/tls.h

+ 7 - 2
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;