projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make sh crti/crtn init/fini fragments setup proper stack frame
[oweals/musl.git]
/
crt
/
sh
/
crtn.s
diff --git
a/crt/sh/crtn.s
b/crt/sh/crtn.s
index dde633b0da9d1716fc0bc935b8872c5830c3185f..958ce951b663ef7c70e50c6625ab7ac22031c49b 100644
(file)
--- a/
crt/sh/crtn.s
+++ b/
crt/sh/crtn.s
@@
-1,9
+1,13
@@
.section .init
lds.l @r15+, pr
.section .init
lds.l @r15+, pr
+ mov.l @r15+, r14
+ mov.l @r15+, r12
rts
rts
- nop
+ add #4, r15
.section .fini
lds.l @r15+, pr
.section .fini
lds.l @r15+, pr
+ mov.l @r15+, r14
+ mov.l @r15+, r12
rts
rts
- nop
+ add #4, r15