diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/thread/arm/__aeabi_read_tp_c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/arm/__aeabi_read_tp_c.c b/src/thread/arm/__aeabi_read_tp_c.c index 654bdc57..0c56d613 100644 --- a/src/thread/arm/__aeabi_read_tp_c.c +++ b/src/thread/arm/__aeabi_read_tp_c.c @@ -4,5 +4,5 @@ __attribute__((__visibility__("hidden"))) void *__aeabi_read_tp_c(void) { - return (void *)((uintptr_t)__pthread_self()-8+sizeof(struct pthread)); + return TP_ADJ(__pthread_self()); } |