From 967bcbf67c3ffac587de4d79abc1e5e072d83e3e Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 25 May 2015 16:02:49 -0400 Subject: [PATCH] mark mips crt code as code otherwise disassemblers treat it as data. --- crt/mips/crt1.s | 2 ++ crt/mips/crti.s | 2 ++ 2 files changed, 4 insertions(+) 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 -- 2.25.1