mirror of
https://github.com/golang/go
synced 2024-11-19 06:34:42 -07:00
undo CL 114420043 / b613f2acdf69
Broke freebsd/amd64 due to exposure of a latent bug. ««« original CL description cmd/ld: fix operator precedence LGTM=rsc R=rsc, iant CC=golang-codereviews https://golang.org/cl/114420043 »»» TBR=dfc R=dave CC=golang-codereviews https://golang.org/cl/120630043
This commit is contained in:
parent
bbc6bb9a99
commit
6503d40051
@ -145,7 +145,7 @@ relocsym(LSym *s)
|
|||||||
diag("%s: invalid relocation %d+%d not in [%d,%d)", s->name, off, siz, 0, s->np);
|
diag("%s: invalid relocation %d+%d not in [%d,%d)", s->name, off, siz, 0, s->np);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if(r->sym != S && ((r->sym->type & SMASK) == 0 || (r->sym->type & SMASK) == SXREF)) {
|
if(r->sym != S && (r->sym->type & SMASK == 0 || r->sym->type & SMASK == SXREF)) {
|
||||||
diag("%s: not defined", r->sym->name);
|
diag("%s: not defined", r->sym->name);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user