mirror of
https://github.com/fluencelabs/musl
synced 2025-06-27 13:41:57 +00:00
fix misaligned pointer-like objects in arm atomics asm source file
this file's .data section was not aligned, and just happened to get the correct alignment with past builds. it's likely that the move of atomic.s from arch/arm/src to src/thread/arm caused the change in alignment, which broke the atomic and thread-pointer access fragments on actual armv5 hardware.
This commit is contained in:
@ -95,6 +95,8 @@ __a_gettp_dummy:
|
|||||||
bx lr
|
bx lr
|
||||||
|
|
||||||
.data
|
.data
|
||||||
|
.align 2
|
||||||
|
|
||||||
.global __a_barrier_ptr
|
.global __a_barrier_ptr
|
||||||
.hidden __a_barrier_ptr
|
.hidden __a_barrier_ptr
|
||||||
__a_barrier_ptr:
|
__a_barrier_ptr:
|
||||||
|
Reference in New Issue
Block a user