summaryrefslogtreecommitdiff
path: root/src/thread/arm/__aeabi_read_tp.s
blob: 2585620c447e49cdfecf557cf427acb13af64df2 (plain)
1
2
3
4
5
6
7
8
9
10
.syntax unified
.global __aeabi_read_tp
.type __aeabi_read_tp,%function
__aeabi_read_tp:
	ldr r0,1f
	add r0,r0,pc
	ldr r0,[r0]
2:	bx r0
	.align 2
1:	.word __a_gettp_ptr - 2b