summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crt/mips/crt1.s2
-rw-r--r--crt/mips/crti.s2
2 files changed, 4 insertions, 0 deletions
diff --git a/crt/mips/crt1.s b/crt/mips/crt1.s
index 093d7d56..794b6f71 100644
--- a/crt/mips/crt1.s
+++ b/crt/mips/crt1.s
@@ -4,6 +4,8 @@
.weak _fini
.global __start
.global _start
+.type __start,@function
+.type _start,@function
__start:
_start:
subu $fp, $fp, $fp # Zero the frame pointer.
diff --git a/crt/mips/crti.s b/crt/mips/crti.s
index b1593d19..39dee380 100644
--- a/crt/mips/crti.s
+++ b/crt/mips/crti.s
@@ -2,6 +2,7 @@
.section .init
.global _init
+.type _init,@function
.align 2
_init:
subu $sp,$sp,32
@@ -10,6 +11,7 @@ _init:
.section .fini
.global _fini
+.type _fini,@function
.align 2
_fini:
subu $sp,$sp,32