ref: 674917b1ddae0a0b2198d14e616f2e57ad2fb289
parent: 950206e6394fe75a3b9bfebd4560128a686046db
author: zerous Naveen Narayanan <zerous@nocebo.space>
date: Sun Apr 19 12:24:30 EDT 2020
libc: Implement crt-posix.s for ppc32
--- a/src/libc/arch/ppc32/crt-posix.s
+++ b/src/libc/arch/ppc32/crt-posix.s
@@ -1,0 +1,11 @@
+ .comm _environ,4,4
+
+ .text
+ .globl _start
+_start:
+ stwu 1,-16(1)
+ lis 14,_environ@h
+ ori 14,14,_environ@l
+ stw 5,0(14)
+ bl main
+ b exit