diff options
author | Russ Cox <rsc@golang.org> | 2014-12-05 19:13:20 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-12-05 19:13:20 -0500 |
commit | ffc214da93bb6958b83ded0eff1bd2de21e82431 (patch) | |
tree | ab17ef2c8f58390603cf2772d4905ca90e861b54 /src/runtime/rt0_linux_ppc64le.s | |
parent | 2c77ac0cd1a89e7966203f8f519a92fa19f0d66d (diff) | |
download | go-ffc214da93bb6958b83ded0eff1bd2de21e82431.tar.gz |
all: power64 is now ppc64
Fixes issue 8654.
LGTM=austin
R=austin
CC=golang-codereviews
https://codereview.appspot.com/180600043
Diffstat (limited to 'src/runtime/rt0_linux_ppc64le.s')
-rw-r--r-- | src/runtime/rt0_linux_ppc64le.s | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/runtime/rt0_linux_ppc64le.s b/src/runtime/rt0_linux_ppc64le.s new file mode 100644 index 000000000..a3b3cea0b --- /dev/null +++ b/src/runtime/rt0_linux_ppc64le.s @@ -0,0 +1,14 @@ +#include "textflag.h" + +TEXT _rt0_ppc64le_linux(SB),NOSPLIT,$0 + BR _main<>(SB) + +TEXT _main<>(SB),NOSPLIT,$-8 + MOVD 0(R1), R3 // argc + ADD $8, R1, R4 // argv + BR main(SB) + +TEXT main(SB),NOSPLIT,$-8 + MOVD $runtime·rt0_go(SB), R31 + MOVD R31, CTR + BR (CTR) |