fix name of sh crt asm directory
authorRich Felker <dalias@aerifal.cx>
Mon, 27 Apr 2015 17:20:47 +0000 (13:20 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 27 Apr 2015 17:20:47 +0000 (13:20 -0400)
crt/sh/crti.s [new file with mode: 0644]
crt/sh/crtn.s [new file with mode: 0644]
crt/superh/crti.s [deleted file]
crt/superh/crtn.s [deleted file]

diff --git a/crt/sh/crti.s b/crt/sh/crti.s
new file mode 100644 (file)
index 0000000..0410ab6
--- /dev/null
@@ -0,0 +1,13 @@
+.section .init
+.global  _init
+.type    _init, @function
+_init:
+       sts.l pr, @-r15
+       nop
+
+.section .fini
+.global  _fini
+.type    _fini, @function
+_fini:
+       sts.l pr, @-r15
+       nop
diff --git a/crt/sh/crtn.s b/crt/sh/crtn.s
new file mode 100644 (file)
index 0000000..dde633b
--- /dev/null
@@ -0,0 +1,9 @@
+.section .init
+       lds.l @r15+, pr
+       rts
+        nop
+
+.section .fini
+       lds.l @r15+, pr
+       rts
+        nop
diff --git a/crt/superh/crti.s b/crt/superh/crti.s
deleted file mode 100644 (file)
index 0410ab6..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-.section .init
-.global  _init
-.type    _init, @function
-_init:
-       sts.l pr, @-r15
-       nop
-
-.section .fini
-.global  _fini
-.type    _fini, @function
-_fini:
-       sts.l pr, @-r15
-       nop
diff --git a/crt/superh/crtn.s b/crt/superh/crtn.s
deleted file mode 100644 (file)
index dde633b..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-.section .init
-       lds.l @r15+, pr
-       rts
-        nop
-
-.section .fini
-       lds.l @r15+, pr
-       rts
-        nop