mailing list of musl libc
 help / color / mirror / code / Atom feed
56be098215c22b9e32195e945d0bcfb0848d0648 blob 173 bytes (raw)

1
2
3
4
5
6
7
8
9
 
#include "pthread_impl.h"
#include "libc.h"
#include <elf.h>

int __set_thread_area(void *p)
{
	__asm__ __volatile__ ("wur.threadptr %0" :: "r"(p) : "memory");
	return 0;
}
debug log:

solving 56be098215c2 ...
found 56be098215c2 in https://inbox.vuxu.org/musl/20240328200319.4016902-2-jcmvbkbc@gmail.com/ ||
	https://inbox.vuxu.org/musl/20240506180112.1045944-2-jcmvbkbc@gmail.com/

applying [1/2] https://inbox.vuxu.org/musl/20240328200319.4016902-2-jcmvbkbc@gmail.com/
diff --git a/src/thread/xtensa/__set_thread_area.c b/src/thread/xtensa/__set_thread_area.c
new file mode 100644
index 000000000000..56be098215c2

Checking patch src/thread/xtensa/__set_thread_area.c...
Applied patch src/thread/xtensa/__set_thread_area.c cleanly.

skipping https://inbox.vuxu.org/musl/20240506180112.1045944-2-jcmvbkbc@gmail.com/ for 56be098215c2
index at:
100644 56be098215c22b9e32195e945d0bcfb0848d0648	src/thread/xtensa/__set_thread_area.c

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).