PPC port cleaned up, static linking works well now.
[musl] / src / thread / powerpc / __unmapself.s
diff --git a/src/thread/powerpc/__unmapself.s b/src/thread/powerpc/__unmapself.s
new file mode 100644 (file)
index 0000000..bb3724e
--- /dev/null
@@ -0,0 +1,9 @@
+        .text
+        .global __unmapself
+        .type   __unmapself,%function
+__unmapself:
+        li      0, 91 # __NR_munmap
+        sc
+        li      0, 1 #__NR_exit
+        sc
+        blr