summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/crt/powerpc64/crtn.s
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libc-top-half/musl/crt/powerpc64/crtn.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/libc-top-half/musl/crt/powerpc64/crtn.s b/libc-top-half/musl/crt/powerpc64/crtn.s
new file mode 100644
index 0000000..a7a9f4a
--- /dev/null
+++ b/libc-top-half/musl/crt/powerpc64/crtn.s
@@ -0,0 +1,13 @@
+.section .init
+.align 2
+ addi 1, 1, 32
+ ld 0, 16(1)
+ mtlr 0
+ blr
+
+.section .fini
+.align 2
+ addi 1, 1, 32
+ ld 0, 16(1)
+ mtlr 0
+ blr