summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm/bsd-_setjmp.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/bsd-_setjmp.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/bsd-_setjmp.S')
-rw-r--r--libc/sysdeps/linux/arm/bsd-_setjmp.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/arm/bsd-_setjmp.S b/libc/sysdeps/linux/arm/bsd-_setjmp.S
index 3f3a986b3..4e36143f8 100644
--- a/libc/sysdeps/linux/arm/bsd-_setjmp.S
+++ b/libc/sysdeps/linux/arm/bsd-_setjmp.S
@@ -27,7 +27,7 @@
.global _setjmp
.type _setjmp,%function
-.align 4
+.align 2
_setjmp:
mov r1, #0
#ifdef __PIC__