Skip to content

Commit 480014f

Browse files
committed
corret typo
1 parent dc20a19 commit 480014f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/cmd/internal/obj/link.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ func (ctxt *Link) FixedFrameSize() int64 {
685685
return 0
686686
case sys.PPC64:
687687
// PIC code on ppc64le requires 32 bytes of stack.
688-
// ppc64 requires 48 bytes at leaset.
688+
// ppc64 requires 48 bytes at least.
689689
if ctxt.Arch.Name == "ppc64le" {
690690
return int64(4 * ctxt.Arch.PtrSize)
691691
} else {

src/cmd/link/internal/ld/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ func determineLinkMode(ctxt *Link) {
247247
}
248248
ctxt.LinkMode = LinkInternal
249249
case "1":
250-
//golang has experimental support for linux/ppc64 now, see comments in https://github.com/golang/go/issues/13192.
250+
// We have experimental support for linux/ppc64 now, see https://github.com/golang/go/issues/13192.
251251
if objabi.GOARCH == "ppc64" && objabi.GOOS != "aix" && objabi.GOOS != "linux" {
252252
Exitf("external linking requested via GO_EXTLINK_ENABLED but not supported for %s/ppc64", objabi.GOOS)
253253
}

src/runtime/rt0_linux_ppc64.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ TEXT _main<>(SB),NOSPLIT,$-8
1818
// There is no TLS base pointer.
1919
//
2020
// TODO(austin): Support ABI v1 dynamic linking entry point
21-
XOR R0, R0
21+
XOR R0, R0
2222
MOVD $runtime·rt0_go(SB), R12
2323
MOVD R12, CTR
2424
MOVBZ runtime·iscgo(SB), R5

0 commit comments

Comments
 (0)