1
0
Fork 0
golang-modernc-libc/internal/overlay/musl/arch/aarch64/pthread_arch.h
Daniel Baumann 32b8eb3fd7
Adding upstream version 1.65.7.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-05-19 21:29:57 +02:00

15 lines
233 B
C

static inline uintptr_t __get_tp();
#ifndef __CCGO__
static inline uintptr_t __get_tp()
{
uintptr_t tp;
__asm__ ("mrs %0,tpidr_el0" : "=r"(tp));
return tp;
}
#endif
#define TLS_ABOVE_TP
#define GAP_ABOVE_TP 16
#define MC_PC pc