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
20
internal/overlay/musl/arch/powerpc64/pthread_arch.h
Normal file
20
internal/overlay/musl/arch/powerpc64/pthread_arch.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
static inline uintptr_t __get_tp();
|
||||
|
||||
#ifndef __CCGO__
|
||||
static inline uintptr_t __get_tp()
|
||||
{
|
||||
register uintptr_t tp __asm__("r13");
|
||||
__asm__ ("" : "=r" (tp) );
|
||||
return tp;
|
||||
}
|
||||
#endif
|
||||
|
||||
#define TLS_ABOVE_TP
|
||||
#define GAP_ABOVE_TP 0
|
||||
|
||||
#define TP_OFFSET 0x7000
|
||||
#define DTP_OFFSET 0x8000
|
||||
|
||||
// the kernel calls the ip "nip", it's the first saved value after the 32
|
||||
// GPRs.
|
||||
#define MC_PC gp_regs[32]
|
Loading…
Add table
Add a link
Reference in a new issue