From: Rich Felker Date: Mon, 25 May 2015 20:02:49 +0000 (-0400) Subject: mark mips crt code as code X-Git-Tag: v1.1.10~14 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=967bcbf67c3ffac587de4d79abc1e5e072d83e3e;p=oweals%2Fmusl.git mark mips crt code as code otherwise disassemblers treat it as data. --- 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