summaryrefslogtreecommitdiff
path: root/src/thread/powerpc/__unmapself.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/powerpc/__unmapself.s')
-rw-r--r--src/thread/powerpc/__unmapself.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/thread/powerpc/__unmapself.s b/src/thread/powerpc/__unmapself.s
new file mode 100644
index 00000000..bb3724e3
--- /dev/null
+++ b/src/thread/powerpc/__unmapself.s
@@ -0,0 +1,9 @@
+ .text
+ .global __unmapself
+ .type __unmapself,%function
+__unmapself:
+ li 0, 91 # __NR_munmap
+ sc
+ li 0, 1 #__NR_exit
+ sc
+ blr