summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
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
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')
-rw-r--r--libc/sysdeps/linux/arm/longjmp.S1
-rw-r--r--libc/sysdeps/linux/arm/setjmp.S6
-rw-r--r--libc/sysdeps/linux/arm/vfork.S2
3 files changed, 6 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/arm/longjmp.S b/libc/sysdeps/linux/arm/longjmp.S
index 6c1f5234b..c21758524 100644
--- a/libc/sysdeps/linux/arm/longjmp.S
+++ b/libc/sysdeps/linux/arm/longjmp.S
@@ -24,6 +24,7 @@
/* __longjmp(jmpbuf, val) */
.globl longjmp;
+.type longjmp,#function
.align 4; \
longjmp:
mov ip, r0
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}
diff --git a/libc/sysdeps/linux/arm/vfork.S b/libc/sysdeps/linux/arm/vfork.S
index 99dc2ab7c..085946ae1 100644
--- a/libc/sysdeps/linux/arm/vfork.S
+++ b/libc/sysdeps/linux/arm/vfork.S
@@ -30,7 +30,7 @@
.text
.global vfork;
-.type vfork,%function
+.type vfork,#function
.align 4; \