Adding upstream version 1.65.7.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
5189956325
commit
32b8eb3fd7
4153 changed files with 2487292 additions and 0 deletions
17
internal/overlay/musl/arch/riscv64/pthread_arch.h
Normal file
17
internal/overlay/musl/arch/riscv64/pthread_arch.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
static inline uintptr_t __get_tp();
|
||||
|
||||
#ifndef __CCGO__
|
||||
static inline uintptr_t __get_tp()
|
||||
{
|
||||
uintptr_t tp;
|
||||
__asm__ __volatile__("mv %0, tp" : "=r"(tp));
|
||||
return tp;
|
||||
}
|
||||
#endif
|
||||
|
||||
#define TLS_ABOVE_TP
|
||||
#define GAP_ABOVE_TP 0
|
||||
|
||||
#define DTP_OFFSET 0x800
|
||||
|
||||
#define MC_PC __gregs[0]
|
Loading…
Add table
Add a link
Reference in a new issue