summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/crtn.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/sh/crtn.S')
-rw-r--r--libc/sysdeps/linux/sh/crtn.S37
1 files changed, 37 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/sh/crtn.S b/libc/sysdeps/linux/sh/crtn.S
new file mode 100644
index 000000000..eb893c53c
--- /dev/null
+++ b/libc/sysdeps/linux/sh/crtn.S
@@ -0,0 +1,37 @@
+ .file "initfini.c"
+ .text
+ .little
+
+ .section .init
+ .hidden _init
+ .align 1
+ .global _init
+ .type _init, @function
+ mov r14,r15
+ lds.l @r15+,pr
+ mov.l @r15+,r14
+ rts
+ mov.l @r15+,r12
+.L8:
+ .align 2
+.L6:
+.L7:
+ .size _init, .-_init
+
+ .section .fini
+ .hidden _fini
+ .align 1
+ .global _fini
+ .type _fini, @function
+ mov r14,r15
+ lds.l @r15+,pr
+ mov.l @r15+,r14
+ rts
+ mov.l @r15+,r12
+.L13:
+ .align 2
+.L11:
+.L12:
+ .size _fini, .-_fini
+
+ .ident "GCC: (GNU) 3.3.2"