about summary refs log tree commit diff
path: root/crt/microblaze/crtn.s
diff options
context:
space:
mode:
Diffstat (limited to 'crt/microblaze/crtn.s')
-rw-r--r--crt/microblaze/crtn.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/crt/microblaze/crtn.s b/crt/microblaze/crtn.s
new file mode 100644
index 00000000..1e02c984
--- /dev/null
+++ b/crt/microblaze/crtn.s
@@ -0,0 +1,9 @@
+.section .init
+	lwi r15, r1, 0
+	rtsd r15, 8
+	addi r1, r1, 32
+
+.section .fini
+	lwi r15, r1, 0
+	rtsd r15, 8
+	addi r1, r1, 32