scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 674917b1ddae0a0b2198d14e616f2e57ad2fb289
parent 950206e6394fe75a3b9bfebd4560128a686046db
Author: zerous Naveen Narayanan <zerous@nocebo.space>
Date:   Sun, 19 Apr 2020 16:24:30 +0200

libc: Implement crt-posix.s for ppc32

Diffstat:
Msrc/libc/arch/ppc32/crt-posix.s | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/libc/arch/ppc32/crt-posix.s b/src/libc/arch/ppc32/crt-posix.s @@ -0,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