diff options
| author | Russ Cox <rsc@golang.org> | 2015-03-03 10:47:15 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2015-03-03 15:49:11 +0000 |
| commit | 91e7ca588d07b8e04e9608c4436d2d701f6c59d0 (patch) | |
| tree | c1cf0aaa63221341dad4ecba58f72f8ebd36aa85 /src | |
| parent | b50ff580ba6ffdaae895477c9953a76aafc70cd4 (diff) | |
| download | go-91e7ca588d07b8e04e9608c4436d2d701f6c59d0.tar.xz | |
cmd/internal/ld: fix darwin/386
grind's goto inliner moved a continue and changed its meaning. Oops.
Change-Id: Ifa2d3e1427036a606a069f356cd9b586ef22ec84
Reviewed-on: https://go-review.googlesource.com/6610
Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/cmd/internal/ld/ldmacho.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/internal/ld/ldmacho.go b/src/cmd/internal/ld/ldmacho.go index 58f065a306..14e9923325 100644 --- a/src/cmd/internal/ld/ldmacho.go +++ b/src/cmd/internal/ld/ldmacho.go @@ -719,6 +719,7 @@ func ldmacho(f *Biobuf, pkg string, length int64, pn string) { } r = make([]Reloc, sect.nreloc) rpi = 0 + Reloc: for j = 0; uint32(j) < sect.nreloc; j++ { rp = &r[rpi] rel = §.rel[j] @@ -806,7 +807,7 @@ func ldmacho(f *Biobuf, pkg string, length int64, pn string) { // skip #1 of 2 rel; continue skips #2 of 2. j++ - continue + continue Reloc } } |
