about summary refs log tree commit diff
path: root/crt
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-05-25 16:02:49 -0400
committerRich Felker <dalias@aerifal.cx>2015-05-25 16:02:49 -0400
commit967bcbf67c3ffac587de4d79abc1e5e072d83e3e (patch)
tree2cb1f49c02f866526564f784797ce7ccb6ee6344 /crt
parent7b75c4877ddf22f219f944c61d939df1dee4f6d3 (diff)
downloadmusl-967bcbf67c3ffac587de4d79abc1e5e072d83e3e.tar.gz
musl-967bcbf67c3ffac587de4d79abc1e5e072d83e3e.tar.xz
musl-967bcbf67c3ffac587de4d79abc1e5e072d83e3e.zip
mark mips crt code as code
otherwise disassemblers treat it as data.
Diffstat (limited to 'crt')
-rw-r--r--crt/mips/crt1.s2
-rw-r--r--crt/mips/crti.s2
2 files changed, 4 insertions, 0 deletions
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