mailing list of musl libc
 help / color / mirror / code / Atom feed
8463904d481eac095131885ec2cd8532e3f5bb11 blob 272 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
 
static inline struct pthread *__pthread_self()
{
	char *self;
	__asm__ __volatile__ ("mrs %0,tpidr_el0" : "=r"(self));
       return (void*)(self - sizeof(struct pthread));
}

#define TLS_ABOVE_TP
#define TP_ADJ(p) ((char *)(p) + sizeof(struct pthread))

#define MC_PC pc
debug log:

solving c69f6f1 ...
found c69f6f1 in https://inbox.vuxu.org/musl/CA+RmVGxmz2HTos2uPYW6PetrjFGZgWejW2aqkx7-9MjkF_H9dg@mail.gmail.com/
found b2e2d8f in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 b2e2d8f13a5025aaa7da02b0050543c7fab0303a	arch/aarch64/pthread_arch.h

applying [1/1] https://inbox.vuxu.org/musl/CA+RmVGxmz2HTos2uPYW6PetrjFGZgWejW2aqkx7-9MjkF_H9dg@mail.gmail.com/
diff --git a/arch/aarch64/pthread_arch.h b/arch/aarch64/pthread_arch.h
index b2e2d8f..c69f6f1 100644

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

index at:
100644 8463904d481eac095131885ec2cd8532e3f5bb11	arch/aarch64/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).