scc

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

commit e462bca26131b233d552ce495082e21b762de1de
parent 6042e799273e80d79daeaaed441a8913d7ee69a3
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