diff options
Diffstat (limited to 'arch/nt64')
-rw-r--r-- | arch/nt64/psxglue.h | 2 | ||||
-rw-r--r-- | arch/nt64/src/crt_tls.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/nt64/psxglue.h b/arch/nt64/psxglue.h index ec6f028..d2bd7c2 100644 --- a/arch/nt64/psxglue.h +++ b/arch/nt64/psxglue.h @@ -50,7 +50,7 @@ struct __psx_context { void * do_global_dtors_fn; }; -struct __tlca { +struct __tlca_abi { void * pthread_self; int * pthread_set_child_tid; int * pthread_clear_child_tid; diff --git a/arch/nt64/src/crt_tls.c b/arch/nt64/src/crt_tls.c index a3375d8..da30de0 100644 --- a/arch/nt64/src/crt_tls.c +++ b/arch/nt64/src/crt_tls.c @@ -17,7 +17,7 @@ struct __emutls_object void * __emutls_get_address (struct __emutls_object * obj) { int dsoidx = obj->align & 0xFFFF0000; - struct __tlca * tlca = (struct __tlca *)__psx_tlca(); + struct __tlca_abi * tlca = (struct __tlca_abi *)__psx_tlca(); return tlca->pthread_dtls[dsoidx >> 16] + obj->offset; } |