summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm/setjmp.S
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-06-21 19:50:54 +0000
committerEric Andersen <andersen@codepoet.org>2001-06-21 19:50:54 +0000
commit3c6f0ae16723e0ce96fcb9b5f93d7135bdeb4ee1 (patch)
tree3995c01467b74adf175af19c34201b9f465164b8 /libc/sysdeps/linux/arm/setjmp.S
parent384a7491adcc177bbeab5b1cb9ac1bdb2f0551f1 (diff)
Patch from Shane Nay, who noticed that these were not properly labeling
functions as such, thereby hosing the shared lib loader.
Diffstat (limited to 'libc/sysdeps/linux/arm/setjmp.S')
-rw-r--r--libc/sysdeps/linux/arm/setjmp.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/arm/setjmp.S b/libc/sysdeps/linux/arm/setjmp.S
index 57516f2f0..8e290c0f8 100644
--- a/libc/sysdeps/linux/arm/setjmp.S
+++ b/libc/sysdeps/linux/arm/setjmp.S
@@ -23,13 +23,15 @@
/* Binary compatibility entry point. */
.globl setjmp;
-.align 4; \
+.type setjmp,#function
+.align 4;
setjmp:
mov r1, #0
.globl __sigsetjmp;
-.align 4; \
+.type __sigsetjmp,#function
+.align 4;
__sigsetjmp:
/* Save registers */
stmia r0, {v1-v6, sl, fp, sp, lr}