From: Rich Felker Date: Mon, 27 Apr 2015 17:20:47 +0000 (-0400) Subject: fix name of sh crt asm directory X-Git-Tag: v1.1.9~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=82acacceaa1bdcb9fb5ec8cece8a73bbf7a561b9;p=oweals%2Fmusl.git fix name of sh crt asm directory --- diff --git a/crt/sh/crti.s b/crt/sh/crti.s new file mode 100644 index 00000000..0410ab63 --- /dev/null +++ b/crt/sh/crti.s @@ -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 index 00000000..dde633b0 --- /dev/null +++ b/crt/sh/crtn.s @@ -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 index 0410ab63..00000000 --- a/crt/superh/crti.s +++ /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 index dde633b0..00000000 --- a/crt/superh/crtn.s +++ /dev/null @@ -1,9 +0,0 @@ -.section .init - lds.l @r15+, pr - rts - nop - -.section .fini - lds.l @r15+, pr - rts - nop