The patch fixes up the .align directives to '2' (i.e. a multiple
of 4) not '4' (a multiple of 16 - apparently an error since it seems
to be unnecessary, there is no advantage here in cache line alignment).
this is an arm "feature" ... the value given to .align is not in bytes:
.align 4 in arm means .align 2 ^ 4
.global __longjmp
.type __longjmp,%function
-.align 4
+.align 2
__longjmp:
mov ip, r0 /* save jmp_buf pointer */
.global _setjmp
.type _setjmp,%function
-.align 4
+.align 2
_setjmp:
mov r1, #0
#ifdef __PIC__
.global setjmp
.type setjmp,%function
-.align 4
+.align 2
setjmp:
mov r1, #1
#ifdef __PIC__
.text
.global clone
.type clone,%function
-.align 4
+.align 2
clone:
@ sanity check args
cmp r0, #0
.text
.global mmap64
.type mmap64,%function
-.align 4
+.align 2
mmap64:
#ifdef __ARM_EABI__
.global __sigsetjmp
.type __sigsetjmp,%function
-.align 4
+.align 2
__sigsetjmp:
mov ip, r0
.global __default_sa_restorer
.type __default_sa_restorer,%function
-.align 4
+.align 2
__default_sa_restorer:
DO_CALL (sigreturn)
.global __default_rt_sa_restorer
.type __default_rt_sa_restorer,%function
-.align 4
+.align 2
__default_rt_sa_restorer:
DO_CALL (rt_sigreturn)