Author: sthibaul-guest
Date: 2009-01-27 23:01:16 +0000 (Tue, 27 Jan 2009)
New Revision: 3259

Added:
   
glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/local-tls-dtv-offset.diff
Modified:
   glibc-package/branches/glibc-2.9/debian/changelog
   glibc-package/branches/glibc-2.9/debian/patches/series.hurd-i386
Log:
  * hurd-i386/local-tls-dtv-offset.diff: new patch to fix DTV_OFFSET macro.


Modified: glibc-package/branches/glibc-2.9/debian/changelog
===================================================================
--- glibc-package/branches/glibc-2.9/debian/changelog   2009-01-27 21:30:33 UTC 
(rev 3258)
+++ glibc-package/branches/glibc-2.9/debian/changelog   2009-01-27 23:01:16 UTC 
(rev 3259)
@@ -103,6 +103,7 @@
     critical sections.
   * hurd-i386/submitted-dup2-fix.diff: new patch to fix dup2 FD locking.
   * hurd-i386/local-net-headers.diff: new patch to install net/*.h headers.
+  * hurd-i386/local-tls-dtv-offset.diff: new patch to fix DTV_OFFSET macro.
 
  -- Aurelien Jarno <[email protected]>  Sun, 25 Jan 2009 11:14:06 +0100
 

Added: 
glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/local-tls-dtv-offset.diff
===================================================================
--- 
glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/local-tls-dtv-offset.diff
                         (rev 0)
+++ 
glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/local-tls-dtv-offset.diff
 2009-01-27 23:01:16 UTC (rev 3259)
@@ -0,0 +1,14 @@
+--- glibc/sysdeps/i386/tlsdesc.sym.orig        2009-01-27 22:50:04.000000000 
+0000
++++ glibc/sysdeps/i386/tlsdesc.sym     2009-01-27 22:50:27.000000000 +0000
+@@ -8,7 +8,11 @@
+ 
+ -- Abuse tls.h macros to derive offsets relative to the thread register.
+ 
++#if 0
+ DTV_OFFSET                    offsetof(struct pthread, header.dtv)
++#else
++DTV_OFFSET                    offsetof(tcbhead_t, dtv)
++#endif
+ 
+ TLSDESC_ARG                   offsetof(struct tlsdesc, arg)
+ 

Modified: glibc-package/branches/glibc-2.9/debian/patches/series.hurd-i386
===================================================================
--- glibc-package/branches/glibc-2.9/debian/patches/series.hurd-i386    
2009-01-27 21:30:33 UTC (rev 3258)
+++ glibc-package/branches/glibc-2.9/debian/patches/series.hurd-i386    
2009-01-27 23:01:16 UTC (rev 3259)
@@ -6,3 +6,4 @@
 hurd-i386/local-unlockpt-chroot.diff
 hurd-i386/local-pthread_types.diff
 hurd-i386/local-msg-nosignal.diff
+hurd-i386/local-tls-dtv-offset.diff


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to