mark mips crt code as code

otherwise disassemblers treat it as data.
This commit is contained in:
Rich Felker 2015-05-25 16:02:49 -04:00
parent 7b75c4877d
commit 967bcbf67c
2 changed files with 4 additions and 0 deletions

View File

@ -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.

View File

@ -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