summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/v850/crti.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/v850/crti.S')
-rw-r--r--libc/sysdeps/linux/v850/crti.S27
1 files changed, 27 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/v850/crti.S b/libc/sysdeps/linux/v850/crti.S
new file mode 100644
index 000000000..c1e529390
--- /dev/null
+++ b/libc/sysdeps/linux/v850/crti.S
@@ -0,0 +1,27 @@
+ .file "initfini.c"
+#APP
+
+ .section .init
+#NO_APP
+ .align 1
+ .global __init
+ .type __init, @function
+__init:
+ jarl __save_r31, r10
+#APP
+
+ .align 1
+
+
+ .section .fini
+#NO_APP
+ .align 1
+ .global __fini
+ .type __fini, @function
+__fini:
+ jarl __save_r31, r10
+#APP
+ .align 1
+
+
+ .ident "GCC: (GNU) 3.3.2"