diff options
author | J. D. Johnston <jjohnst@us.ibm.com> | 2005-06-30 16:07:24 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@gcc.gnu.org> | 2005-06-30 16:07:24 +0000 |
commit | 70d0243011caccface289fdaf1f895cb1a38bbe5 (patch) | |
tree | 934a8852f3bedbe427e0ac9195283a6046d4db88 | |
parent | 9e9d785dcb02c60ea70a6b01c4dcde3f6c776e47 (diff) | |
download | gcc-70d0243011caccface289fdaf1f895cb1a38bbe5.zip gcc-70d0243011caccface289fdaf1f895cb1a38bbe5.tar.gz gcc-70d0243011caccface289fdaf1f895cb1a38bbe5.tar.bz2 |
gthr-tpf.h (CE2THRCPTR): Change field offset to 16.
2005-06-30 J. D. Johnston <jjohnst@us.ibm.com>
* gthr-tpf.h (CE2THRCPTR): Change field offset to 16.
From-SVN: r101470
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/gthr-tpf.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e4f3e8a..96fd174 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/gthr-tpf.h b/gcc/gthr-tpf.h index 833abf9..a4e82d1 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 |