summaryrefslogtreecommitdiff
path: root/gcc/gthr-tpf.h
diff options
context:
space:
mode:
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-30 16:07:24 +0000
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-30 16:07:24 +0000
commit96ecec54419a247d7111ac8927bf0921416f4a65 (patch)
tree934a8852f3bedbe427e0ac9195283a6046d4db88 /gcc/gthr-tpf.h
parent78295261d80d4107bcede83a945bf77cb0187e12 (diff)
downloadgcc-96ecec54419a247d7111ac8927bf0921416f4a65.tar.gz
2005-06-30 J. D. Johnston <jjohnst@us.ibm.com>
* gthr-tpf.h (CE2THRCPTR): Change field offset to 16. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101470 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gthr-tpf.h')
-rw-r--r--gcc/gthr-tpf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gthr-tpf.h b/gcc/gthr-tpf.h
index 833abf9130a..a4e82d1427c 100644
--- a/gcc/gthr-tpf.h
+++ b/gcc/gthr-tpf.h
@@ -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