diff options
author | Rich Felker <dalias@aerifal.cx> | 2016-01-30 19:42:08 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-01-30 19:42:08 -0500 |
commit | 9ee57db8834ee0d9adb1e6a84a75b0818dbfca69 (patch) | |
tree | e637ee81ee4cd81ea450dda88cc786b63ff9b905 /src/thread | |
parent | 140ad50cbf9244eecc21a0126c743396a34e8106 (diff) | |
download | musl-9ee57db8834ee0d9adb1e6a84a75b0818dbfca69.tar.gz musl-9ee57db8834ee0d9adb1e6a84a75b0818dbfca69.tar.bz2 musl-9ee57db8834ee0d9adb1e6a84a75b0818dbfca69.tar.xz musl-9ee57db8834ee0d9adb1e6a84a75b0818dbfca69.zip |
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.
Diffstat (limited to 'src/thread')
-rw-r--r-- | src/thread/arm/atomics.s | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/thread/arm/atomics.s b/src/thread/arm/atomics.s index 5c5b0e3e..673fc03b 100644 --- a/src/thread/arm/atomics.s +++ b/src/thread/arm/atomics.s @@ -95,6 +95,8 @@ __a_gettp_dummy: bx lr .data +.align 2 + .global __a_barrier_ptr .hidden __a_barrier_ptr __a_barrier_ptr: |