mailing list of musl libc
 help / color / mirror / code / Atom feed
084d5f3ec35f592e978f236409443e4c767929a8 blob 662 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
 
.global __tlsdesc_static
.hidden __tlsdesc_static
.type __tlsdesc_static,@function
.align 4
__tlsdesc_static:
#ifdef __XTENSA_WINDOWED_ABI__
	entry	a1, 16
#endif
	rur	a3, threadptr
	add	a2, a2, a3
#if defined(__XTENSA_WINDOWED_ABI__)
	retw
#elif defined(__XTENSA_CALL0_ABI__)
	ret
#else
#error Unsupported Xtensa ABI
#endif

.hidden __tls_get_new

.global __tlsdesc_dynamic
.hidden __tlsdesc_dynamic
.type __tlsdesc_dynamic,@function
.align 4
__tlsdesc_dynamic:
#if defined(__XTENSA_WINDOWED_ABI__)
	entry	a1, 16
	mov	a6, a2
	call4	__tls_get_addr
	mov	a2, a6
	retw
#elif defined(__XTENSA_CALL0_ABI__)
	j	__tls_get_addr
#else
#error Unsupported Xtensa ABI
#endif
debug log:

solving 084d5f3e ...
found 084d5f3e in https://inbox.vuxu.org/musl/20240227232430.GM4163@brightrain.aerifal.cx/

applying [1/1] https://inbox.vuxu.org/musl/20240227232430.GM4163@brightrain.aerifal.cx/
diff --git a/src/ldso/xtensa/tlsdesc.S b/src/ldso/xtensa/tlsdesc.S
new file mode 100644
index 00000000..084d5f3e

Checking patch src/ldso/xtensa/tlsdesc.S...
Applied patch src/ldso/xtensa/tlsdesc.S cleanly.

index at:
100644 084d5f3ec35f592e978f236409443e4c767929a8	src/ldso/xtensa/tlsdesc.S

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