summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm/sigrestorer.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/sigrestorer.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/sigrestorer.S')
-rw-r--r--libc/sysdeps/linux/arm/sigrestorer.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/arm/sigrestorer.S b/libc/sysdeps/linux/arm/sigrestorer.S
index cf77c0104..bc175de6a 100644
--- a/libc/sysdeps/linux/arm/sigrestorer.S
+++ b/libc/sysdeps/linux/arm/sigrestorer.S
@@ -24,7 +24,7 @@
.global __default_sa_restorer
.type __default_sa_restorer,%function
-.align 4
+.align 2
__default_sa_restorer:
DO_CALL (sigreturn)
@@ -33,7 +33,7 @@ __default_sa_restorer:
.global __default_rt_sa_restorer
.type __default_rt_sa_restorer,%function
-.align 4
+.align 2
__default_rt_sa_restorer:
DO_CALL (rt_sigreturn)