aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-05-25 15:56:36 -0400
committerRich Felker <dalias@aerifal.cx>2015-05-25 15:56:36 -0400
commit7b75c4877ddf22f219f944c61d939df1dee4f6d3 (patch)
tree6acb94d861a8e507d4b7eccef79dc3a65667d9fb
parentsimplify/shrink relocation processing in dynamic linker stage 1 (diff)
downloadgrovel-7b75c4877ddf22f219f944c61d939df1dee4f6d3.tar.gz
grovel-7b75c4877ddf22f219f944c61d939df1dee4f6d3.tar.xz
mark mips cancellable syscall code as code
otherwise disassemblers treat it as data.
-rw-r--r--src/thread/mips/syscall_cp.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/thread/mips/syscall_cp.s b/src/thread/mips/syscall_cp.s
index 399289e3..8f76d40e 100644
--- a/src/thread/mips/syscall_cp.s
+++ b/src/thread/mips/syscall_cp.s
@@ -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