projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add missing startfiles for powerpc
[musl]
/
crt
/
powerpc
/
crti.s
diff --git a/crt/powerpc/crti.s
b/crt/powerpc/crti.s
new file mode 100644
(file)
index 0000000..
60461ca
--- /dev/null
+++ b/
crt/powerpc/crti.s
@@ -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)