diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2013-10-05 05:13:18 -0500 |
---|---|---|
committer | Bobby Bingham <koorogi@koorogi.info> | 2014-02-23 16:15:54 -0600 |
commit | 3a3c813e08d808224c12fd0e9104aeff7c45c9a7 (patch) | |
tree | 508b28c42438615d711afcb9b44d7b0e0842f28d /crt | |
parent | d05aaedaabd4f5472c233dbbd1ff4bb9c9c99794 (diff) | |
download | musl-3a3c813e08d808224c12fd0e9104aeff7c45c9a7.tar.gz musl-3a3c813e08d808224c12fd0e9104aeff7c45c9a7.tar.xz musl-3a3c813e08d808224c12fd0e9104aeff7c45c9a7.zip |
superh port
Diffstat (limited to 'crt')
-rw-r--r-- | crt/superh/crti.s | 13 | ||||
-rw-r--r-- | crt/superh/crtn.s | 9 |
2 files changed, 22 insertions, 0 deletions
diff --git a/crt/superh/crti.s b/crt/superh/crti.s new file mode 100644 index 00000000..0410ab63 --- /dev/null +++ b/crt/superh/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/superh/crtn.s b/crt/superh/crtn.s new file mode 100644 index 00000000..dde633b0 --- /dev/null +++ b/crt/superh/crtn.s @@ -0,0 +1,9 @@ +.section .init + lds.l @r15+, pr + rts + nop + +.section .fini + lds.l @r15+, pr + rts + nop |