diff --git a/crt/mips/crt1.s b/crt/mips/crt1.s index 093d7d562afe7a06d723116d97ffa08235384e56..794b6f711773add72baff9926344b3cd0e49f05c 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 b1593d19f7b11f99d7105d9da1fa1429e47d4719..39dee38004d934f77fe97375d2277d840c8a3a90 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