diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/cmd/ld/data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/ld/data.c b/src/cmd/ld/data.c index 96eadd479a..1511d0b513 100644 --- a/src/cmd/ld/data.c +++ b/src/cmd/ld/data.c @@ -145,7 +145,7 @@ relocsym(LSym *s) diag("%s: invalid relocation %d+%d not in [%d,%d)", s->name, off, siz, 0, s->np); 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); continue; } |
