Browse Source

mark mips crt code as code

otherwise disassemblers treat it as data.
Rich Felker 9 years ago
parent
commit
967bcbf67c
2 changed files with 4 additions and 0 deletions
  1. 2 0
      crt/mips/crt1.s
  2. 2 0
      crt/mips/crti.s

+ 2 - 0
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.

+ 2 - 0
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