From bd952743367f27123fa4acb4765613843a222a40 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 15 Oct 2017 08:53:19 -0400 Subject: psxglue.h: renamed struct __tlca --> struct __tlca_abi. --- arch/nt32/psxglue.h | 2 +- arch/nt32/src/crt_tls.c | 2 +- arch/nt64/psxglue.h | 2 +- arch/nt64/src/crt_tls.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/nt32/psxglue.h b/arch/nt32/psxglue.h index ec6f028..d2bd7c2 100644 --- a/arch/nt32/psxglue.h +++ b/arch/nt32/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/nt32/src/crt_tls.c b/arch/nt32/src/crt_tls.c index a3375d8..da30de0 100644 --- a/arch/nt32/src/crt_tls.c +++ b/arch/nt32/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; } 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; } -- cgit v1.2.3