github.com/tcnksm/go@v0.0.0-20141208075154-439b32936367/src/runtime/rt0_linux_ppc64.s (about) 1 #include "textflag.h" 2 3 // actually a function descriptor for _main<>(SB) 4 TEXT _rt0_ppc64_linux(SB),NOSPLIT,$0 5 DWORD $_main<>(SB) 6 DWORD $0 7 DWORD $0 8 9 TEXT _main<>(SB),NOSPLIT,$-8 10 MOVD 0(R1), R3 // argc 11 ADD $8, R1, R4 // argv 12 BR main(SB) 13 14 TEXT main(SB),NOSPLIT,$-8 15 MOVD $runtime·rt0_go(SB), R31 16 MOVD R31, CTR 17 BR (CTR)