summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm/__longjmp.S
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-31 01:50:28 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-31 01:50:28 +0000
commit0cc50b53fcf0c211814a22c0e47f8cd8d0df2794 (patch)
tree9ec05c214af05b229949c0ac23a966d567938827 /libc/sysdeps/linux/arm/__longjmp.S
parent5ae3423206fc2660c05093560c95e8bf9e1366bb (diff)
John Bowler writes in Bug 385:
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
Diffstat (limited to 'libc/sysdeps/linux/arm/__longjmp.S')
-rw-r--r--libc/sysdeps/linux/arm/__longjmp.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/arm/__longjmp.S b/libc/sysdeps/linux/arm/__longjmp.S
index b73474aa2..a21d26a79 100644
--- a/libc/sysdeps/linux/arm/__longjmp.S
+++ b/libc/sysdeps/linux/arm/__longjmp.S
@@ -25,7 +25,7 @@
.global __longjmp
.type __longjmp,%function
-.align 4
+.align 2
__longjmp:
mov ip, r0 /* save jmp_buf pointer */