]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gthr-tpf.h (CE2THRCPTR): Change field offset to 16.
authorJ. D. Johnston <jjohnst@us.ibm.com>
Thu, 30 Jun 2005 16:07:24 +0000 (16:07 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Thu, 30 Jun 2005 16:07:24 +0000 (16:07 +0000)
2005-06-30  J. D. Johnston  <jjohnst@us.ibm.com>

* gthr-tpf.h (CE2THRCPTR): Change field offset to 16.

From-SVN: r101470

gcc/ChangeLog
gcc/gthr-tpf.h

index e4f3e8a2cafe2c80e8cbda1ed7fc5832a053a182..96fd17418c88b8c1b72de47ecde95cfef6b384ca 100644 (file)
@@ -1,3 +1,7 @@
+2005-06-30  J. D. Johnston  <jjohnst@us.ibm.com>
+
+       * gthr-tpf.h (CE2THRCPTR): Change field offset to 16.
+
 2005-06-30  Kazu Hirata  <kazu@codesourcery.com>
 
        * config/c4x/c4x-protos.h: Remove the prototypes for those
index 833abf9130a8ad64447819c7bb1fea04b5af1aa6..a4e82d1427c2c4f9abd653d72a8350aa5020bee6 100644 (file)
@@ -65,7 +65,7 @@ typedef pthread_mutex_t __gthread_recursive_mutex_t;
 #define NOTATHREAD   00
 #define ECBBASEPTR (unsigned long int) *(unsigned int *)0x00000514u
 #define ECBPG2PTR  ECBBASEPTR + 0x1000
-#define CE2THRCPTR *((unsigned char *)(ECBPG2PTR + 208))
+#define CE2THRCPTR *((unsigned char *)(ECBPG2PTR + 16))
 #define __tpf_pthread_active() (CE2THRCPTR != NOTATHREAD)
 
 #if SUPPORTS_WEAK && GTHREAD_USE_WEAK