add missing startfiles for powerpc
[musl] / crt / powerpc / crti.s
diff --git a/crt/powerpc/crti.s b/crt/powerpc/crti.s
new file mode 100644 (file)
index 0000000..60461ca
--- /dev/null
@@ -0,0 +1,15 @@
+.section .init
+.align 2
+.global _init
+_init:
+       stwu 1,-32(1)
+       mflr 0
+       stw 0,36(1)
+
+.section .fini
+.align 2
+.global _fini
+_fini:
+       stwu 1,-32(1)
+       mflr 0
+       stw 0,36(1)