projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix __aeabi_read_tp oversight in arm atomics/tls overhaul
[musl]
/
arch
/
arm
/
src
/
arm
/
atomics.s
diff --git
a/arch/arm/src/arm/atomics.s
b/arch/arm/src/arm/atomics.s
index
9fcc7bd
..
f241cc0
100644
(file)
--- a/
arch/arm/src/arm/atomics.s
+++ b/
arch/arm/src/arm/atomics.s
@@
-81,6
+81,10
@@
__a_cas_v7:
.word 0xf57ff05b /* dmb ish */
bx lr
.word 0xf57ff05b /* dmb ish */
bx lr
+.global __aeabi_read_tp
+.type __aeabi_read_tp,%function
+__aeabi_read_tp:
+
.global __a_gettp
.hidden __a_gettp
.type __a_gettp,%function
.global __a_gettp
.hidden __a_gettp
.type __a_gettp,%function
@@
-92,10
+96,6
@@
__a_gettp:
.global __a_gettp_dummy
.hidden __a_gettp_dummy
__a_gettp_dummy:
.global __a_gettp_dummy
.hidden __a_gettp_dummy
__a_gettp_dummy:
- .word 0xe7fddef1
-.global __a_gettp_native
-.hidden __a_gettp_native
-__a_gettp_native:
mrc p15,0,r0,c13,c0,3
bx lr
mrc p15,0,r0,c13,c0,3
bx lr