mailing list of musl libc
 help / color / mirror / code / Atom feed
4dcb78c9e92f76b03e193de99c4c0368609357bd blob 535 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
 
.global __tlsdesc_static
.hidden __tlsdesc_static
.type __tlsdesc_static,@function
.align 4
__tlsdesc_static:
	l32i		a2, a2, 4
	rur.threadptr	a3
	add		a2, a2, a3
	ret

.global __tlsdesc_dynamic
.hidden __tlsdesc_dynamic
.type __tlsdesc_dynamic,@function
.align 4
__tlsdesc_dynamic:
	l32i		a2, a2, 4	# a2 = &{modidx, off}
	rur.threadptr	a3
	addi		a3, a3, -4
	l32i		a3, a3, 0	# a3 = dtv
	l32i		a4, a2, 0	# a4 = modidx
	addx4		a3, a4, a3
	l32i		a3, a3, 0	# a3 = dtv[modidx]
	l32i		a2, a2, 4
	add		a2, a2, a3	# a2 = dtv[modidx] + off
	ret
debug log:

solving 4dcb78c9e92f ...
found 4dcb78c9e92f 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/ldso/xtensa/tlsdesc.s b/src/ldso/xtensa/tlsdesc.s
new file mode 100644
index 000000000000..4dcb78c9e92f

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

skipping https://inbox.vuxu.org/musl/20240506180112.1045944-2-jcmvbkbc@gmail.com/ for 4dcb78c9e92f
index at:
100644 4dcb78c9e92f76b03e193de99c4c0368609357bd	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).