summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/bfin/bsd-_setjmp.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/bfin/bsd-_setjmp.S')
-rw-r--r--libc/sysdeps/linux/bfin/bsd-_setjmp.S9
1 files changed, 4 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/bfin/bsd-_setjmp.S b/libc/sysdeps/linux/bfin/bsd-_setjmp.S
index 6f17a6025..69ae8f878 100644
--- a/libc/sysdeps/linux/bfin/bsd-_setjmp.S
+++ b/libc/sysdeps/linux/bfin/bsd-_setjmp.S
@@ -7,11 +7,11 @@
#include <bits/setjmp.h>
.text
-.global _setjmp;
-.type _setjmp,STT_FUNC;
+.global __setjmp;
+.type __setjmp,STT_FUNC;
.align 4;
-_setjmp:
+__setjmp:
[--SP] = P0; // Save P0
P0 = R0;
R0 = [SP++];
@@ -90,8 +90,7 @@ _setjmp:
R0 = RETS;
[P0 + 0x9C] = R0;
- R0 = [P0 + 0x20];
R0 = 0;
RTS;
-.size _setjmp,.-_setjmp
+.size __setjmp,.-__setjmp