fix misaligned pointer-like objects in arm atomics asm source file
authorRich Felker <dalias@aerifal.cx>
Sun, 31 Jan 2016 00:42:08 +0000 (19:42 -0500)
committerRich Felker <dalias@aerifal.cx>
Sun, 31 Jan 2016 00:42:08 +0000 (19:42 -0500)
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.

src/thread/arm/atomics.s

index 5c5b0e3ed481ee6f78a97509bb7892acac27b1e6..673fc03b811a3bd2abd512792e1046dc19a1ffe6 100644 (file)
@@ -95,6 +95,8 @@ __a_gettp_dummy:
        bx lr
 
 .data
+.align 2
+
 .global __a_barrier_ptr
 .hidden __a_barrier_ptr
 __a_barrier_ptr: