mark mips cancellable syscall code as code
authorRich Felker <dalias@aerifal.cx>
Mon, 25 May 2015 19:56:36 +0000 (15:56 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 25 May 2015 19:56:36 +0000 (15:56 -0400)
otherwise disassemblers treat it as data.

src/thread/mips/syscall_cp.s

index 399289e3134b83125a75809a712802d8a3938d69..8f76d40e1ebf2976f4139caaf735f781e098e50a 100644 (file)
@@ -2,10 +2,13 @@
 
 .global __cp_begin
 .hidden __cp_begin
+.type   __cp_begin,@function
 .global __cp_end
 .hidden __cp_end
+.type   __cp_end,@function
 .global __cp_cancel
 .hidden __cp_cancel
+.type   __cp_cancel,@function
 .hidden __cancel
 .global __syscall_cp_asm
 .hidden __syscall_cp_asm