aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/arc/crti.asm
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/arc/crti.asm')
-rw-r--r--gcc/config/arc/crti.asm14
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/config/arc/crti.asm b/gcc/config/arc/crti.asm
new file mode 100644
index 00000000000..0fc09c583ee
--- /dev/null
+++ b/gcc/config/arc/crti.asm
@@ -0,0 +1,14 @@
+# This file contains the stack frame setup for contents of the .fini and
+# .init sections.
+
+ .section .init
+ .global _init
+ .word 0
+_init:
+ push_s blink
+
+ .section .fini
+ .global _fini
+ .word 0
+_fini:
+ push_s blink