superh port

This commit is contained in:
Bobby Bingham 2013-10-05 05:13:18 -05:00
commit 3a3c813e08
46 changed files with 2350 additions and 0 deletions

13
crt/superh/crti.s Normal file
View file

@ -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

9
crt/superh/crtn.s Normal file
View file

@ -0,0 +1,9 @@
.section .init
lds.l @r15+, pr
rts
nop
.section .fini
lds.l @r15+, pr
rts
nop