superh port
This commit is contained in:
parent
d05aaedaab
commit
3a3c813e08
46 changed files with 2350 additions and 0 deletions
13
crt/superh/crti.s
Normal file
13
crt/superh/crti.s
Normal 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
9
crt/superh/crtn.s
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
.section .init
|
||||
lds.l @r15+, pr
|
||||
rts
|
||||
nop
|
||||
|
||||
.section .fini
|
||||
lds.l @r15+, pr
|
||||
rts
|
||||
nop
|
||||
Loading…
Add table
Add a link
Reference in a new issue