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

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

#define TLS_ABOVE_TP
#define GAP_ABOVE_TP   0
#define DTP_OFFSET     0
#define MC_PC          __pc
debug log:

solving 28fbfcd1 ...
found 28fbfcd1 in https://inbox.vuxu.org/musl/4cb6e3a.2f0.18b0d3f81eb.Coremail.huajingyun@loongson.cn/ ||
	https://inbox.vuxu.org/musl/20240125174353.GW22081@brightrain.aerifal.cx/ ||
	https://inbox.vuxu.org/musl/a5e11238-0da1-7ce2-c61b-11980a430f1d@loongson.cn/ ||
	https://inbox.vuxu.org/musl/a5e11238-0da1-7ce2-c61b-11980a430f1d@loongson.cn/ ||
	https://inbox.vuxu.org/musl/3838b2d6-8330-33b5-fd87-8af3404a29dc@loongson.cn/ ||
	https://inbox.vuxu.org/musl/7aad7a07-9762-3d62-a8c2-4cdf860a7dcb@loongson.cn/

applying [1/6] https://inbox.vuxu.org/musl/4cb6e3a.2f0.18b0d3f81eb.Coremail.huajingyun@loongson.cn/
diff --git a/arch/loongarch64/pthread_arch.h b/arch/loongarch64/pthread_arch.h\r
new file mode 100644\r
index 00000000..28fbfcd1\r

1:7: trailing whitespace.
static inline uintptr_t __get_tp()\r
1:8: trailing whitespace.
{\r
1:9: trailing whitespace.
	uintptr_t tp;\r
1:10: trailing whitespace.
	__asm__ __volatile__("move %0, $tp" : "=r"(tp));\r
1:11: trailing whitespace.
	return tp;\r
Checking patch arch/loongarch64/pthread_arch.h...
Applied patch arch/loongarch64/pthread_arch.h cleanly.
warning: squelched 6 whitespace errors
warning: 11 lines add whitespace errors.

skipping https://inbox.vuxu.org/musl/20240125174353.GW22081@brightrain.aerifal.cx/ for 28fbfcd1
skipping https://inbox.vuxu.org/musl/a5e11238-0da1-7ce2-c61b-11980a430f1d@loongson.cn/ for 28fbfcd1
skipping https://inbox.vuxu.org/musl/a5e11238-0da1-7ce2-c61b-11980a430f1d@loongson.cn/ for 28fbfcd1
skipping https://inbox.vuxu.org/musl/3838b2d6-8330-33b5-fd87-8af3404a29dc@loongson.cn/ for 28fbfcd1
skipping https://inbox.vuxu.org/musl/7aad7a07-9762-3d62-a8c2-4cdf860a7dcb@loongson.cn/ for 28fbfcd1
index at:
100644 bc00c16dc9dbdeaedc03028fdd04ecb30c5177e6	arch/loongarch64/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).