summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/bfin/__longjmp.S6
-rw-r--r--libc/sysdeps/linux/bfin/bsd-_setjmp.S8
-rw-r--r--libc/sysdeps/linux/bfin/setjmp.S6
-rw-r--r--libc/sysdeps/linux/bfin/vfork.S10
4 files changed, 18 insertions, 12 deletions
diff --git a/libc/sysdeps/linux/bfin/__longjmp.S b/libc/sysdeps/linux/bfin/__longjmp.S
index 4c5189976..8648b2d7d 100644
--- a/libc/sysdeps/linux/bfin/__longjmp.S
+++ b/libc/sysdeps/linux/bfin/__longjmp.S
@@ -14,7 +14,9 @@
#define _ASM
#include <bits/setjmp.h>
-.globl ___longjmp;
+.text
+.global ___longjmp;
+.type ___longjmp,STT_FUNC;
.align 4;
___longjmp:
@@ -107,4 +109,4 @@ ___longjmp:
R0 = 1;
finished:
RTS;
-___longjmp.end:
+.size ___longjmp,.-___longjmp
diff --git a/libc/sysdeps/linux/bfin/bsd-_setjmp.S b/libc/sysdeps/linux/bfin/bsd-_setjmp.S
index 969515fa6..6f17a6025 100644
--- a/libc/sysdeps/linux/bfin/bsd-_setjmp.S
+++ b/libc/sysdeps/linux/bfin/bsd-_setjmp.S
@@ -6,7 +6,9 @@
#define _SETJMP_H
#include <bits/setjmp.h>
-.globl _setjmp;
+.text
+.global _setjmp;
+.type _setjmp,STT_FUNC;
.align 4;
_setjmp:
@@ -92,6 +94,4 @@ _setjmp:
R0 = 0;
RTS;
-_setjmp.end:
-
-
+.size _setjmp,.-_setjmp
diff --git a/libc/sysdeps/linux/bfin/setjmp.S b/libc/sysdeps/linux/bfin/setjmp.S
index 9bb3ddc8b..7194a1508 100644
--- a/libc/sysdeps/linux/bfin/setjmp.S
+++ b/libc/sysdeps/linux/bfin/setjmp.S
@@ -13,7 +13,9 @@
#define _SETJMP_H
#include <bits/setjmp.h>
-.globl ___sigsetjmp;
+.text
+.global ___sigsetjmp;
+.type ___sigsetjmp,STT_FUNC;
.align 4;
___sigsetjmp:
@@ -102,4 +104,4 @@ ___sigsetjmp:
finished:
R0 = 0;
RTS;
-___sigsetjmp.end:
+.size ___sigsetjmp,.-___sigsetjmp
diff --git a/libc/sysdeps/linux/bfin/vfork.S b/libc/sysdeps/linux/bfin/vfork.S
index 23ebfb806..d02ba88ed 100644
--- a/libc/sysdeps/linux/bfin/vfork.S
+++ b/libc/sysdeps/linux/bfin/vfork.S
@@ -6,11 +6,13 @@
#include <features.h>
#include <asm/unistd.h>
- .text
- .globl _vfork
- .type _vfork,STT_FUNC;
- .align 4
+
+.text
+.global _vfork
+.type _vfork,STT_FUNC;
+.align 4
_vfork:
p0 = __NR_vfork;
excpt 0;
rts;
+.size _vfork,.-_vfork