mailing list of musl libc
 help / color / mirror / code / Atom feed
d0bc87c483e0a5a325489e2bf631646502a390a6 blob 206 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
 
static inline uintptr_t __get_tp()
{
	char *tp;
	__asm__ __volatile__("mv %0, tp" : "=r"(tp));
	return tp;
}

#define TLS_ABOVE_TP
#define GAP_ABOVE_TP 0

#define DTP_OFFSET 0x800

#define MC_PC __gregs[0]
debug log:

solving d0bc87c4 ...
found d0bc87c4 in https://inbox.vuxu.org/musl/20200825164316.GQ3265@brightrain.aerifal.cx/
found 50f0868d in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 50f0868d87f8fa2b116734e6134ccf304e5da338	arch/riscv64/pthread_arch.h

applying [1/1] https://inbox.vuxu.org/musl/20200825164316.GQ3265@brightrain.aerifal.cx/
diff --git a/arch/riscv64/pthread_arch.h b/arch/riscv64/pthread_arch.h
index 50f0868d..d0bc87c4 100644

Checking patch arch/riscv64/pthread_arch.h...
Applied patch arch/riscv64/pthread_arch.h cleanly.

index at:
100644 d0bc87c483e0a5a325489e2bf631646502a390a6	arch/riscv64/pthread_arch.h

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).