summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-10-15 08:53:19 -0400
committermidipix <writeonce@midipix.org>2017-10-15 08:53:19 -0400
commitbd952743367f27123fa4acb4765613843a222a40 (patch)
tree031f16b8c00f2c1dc393945be6205120176dfc45
parentcc741e9174d0f40177b7de4ee191ec8bca2bc15c (diff)
downloadmmglue-bd952743367f27123fa4acb4765613843a222a40.tar.bz2
mmglue-bd952743367f27123fa4acb4765613843a222a40.tar.xz
psxglue.h: renamed struct __tlca --> struct __tlca_abi.
-rw-r--r--arch/nt32/psxglue.h2
-rw-r--r--arch/nt32/src/crt_tls.c2
-rw-r--r--arch/nt64/psxglue.h2
-rw-r--r--arch/nt64/src/crt_tls.c2
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;
}