From 82acacceaa1bdcb9fb5ec8cece8a73bbf7a561b9 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 27 Apr 2015 13:20:47 -0400 Subject: fix name of sh crt asm directory --- crt/sh/crti.s | 13 +++++++++++++ crt/sh/crtn.s | 9 +++++++++ crt/superh/crti.s | 13 ------------- crt/superh/crtn.s | 9 --------- 4 files changed, 22 insertions(+), 22 deletions(-) create mode 100644 crt/sh/crti.s create mode 100644 crt/sh/crtn.s delete mode 100644 crt/superh/crti.s delete mode 100644 crt/superh/crtn.s (limited to 'crt') 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 -- cgit 1.4.1