summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps')
-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; \