summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/crtn.S
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-11-05 02:04:16 +0000
committerEric Andersen <andersen@codepoet.org>2003-11-05 02:04:16 +0000
commit84f5d5e948043704035d9fd4708e898bd3038ba6 (patch)
treed66cd4603a9a048d7d1dbcbf3f2c6b378efad19f /libc/sysdeps/linux/sh/crtn.S
parent6966e6c4edf576c92a33d046705e1f458de772f2 (diff)
Continue the conversion to using per-arch crti.S and crtn.S
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"