mirror of git://git.musl-libc.org/musl
add missing startfiles for powerpc
This commit is contained in:
parent
7538708f8b
commit
0375c68fe7
|
@ -0,0 +1,15 @@
|
|||
.section .init
|
||||
.align 2
|
||||
.global _init
|
||||
_init:
|
||||
stwu 1,-32(1)
|
||||
mflr 0
|
||||
stw 0,36(1)
|
||||
|
||||
.section .fini
|
||||
.align 2
|
||||
.global _fini
|
||||
_fini:
|
||||
stwu 1,-32(1)
|
||||
mflr 0
|
||||
stw 0,36(1)
|
|
@ -0,0 +1,13 @@
|
|||
.section .init
|
||||
.align 2
|
||||
lwz 0,36(1)
|
||||
addi 1,1,32
|
||||
mtlr 0
|
||||
blr
|
||||
|
||||
.section .fini
|
||||
.align 2
|
||||
lwz 0,36(1)
|
||||
addi 1,1,32
|
||||
mtlr 0
|
||||
blr
|
Loading…
Reference in New Issue