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
16
internal/overlay/musl/arch/s390x/pthread_arch.h
Normal file
16
internal/overlay/musl/arch/s390x/pthread_arch.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
static inline uintptr_t __get_tp();
|
||||
|
||||
#ifndef __CCGO__
|
||||
static inline uintptr_t __get_tp()
|
||||
{
|
||||
uintptr_t tp;
|
||||
__asm__ (
|
||||
"ear %0, %%a0\n"
|
||||
"sllg %0, %0, 32\n"
|
||||
"ear %0, %%a1\n"
|
||||
: "=r"(tp));
|
||||
return tp;
|
||||
}
|
||||
#endif
|
||||
|
||||
#define MC_PC psw.addr
|
Loading…
Add table
Add a link
Reference in a new issue