summaryrefslogtreecommitdiffstats
path: root/lib/csu/arm/crtn.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csu/arm/crtn.S')
-rw-r--r--lib/csu/arm/crtn.S10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/csu/arm/crtn.S b/lib/csu/arm/crtn.S
new file mode 100644
index 0000000..962f0ed
--- /dev/null
+++ b/lib/csu/arm/crtn.S
@@ -0,0 +1,10 @@
+#include <machine/asm.h>
+__FBSDID("$FreeBSD$");
+
+ .section .init,"ax",%progbits
+ ldmea fp, {fp, sp, pc}
+ mov pc, lr
+
+ .section .fini,"ax",%progbits
+ ldmea fp, {fp, sp, pc}
+ mov pc, lr
OpenPOWER on IntegriCloud