View | Details | Raw Unified | Return to bug 202662 | Differences between
and this patch

Collapse All | Expand All

(-)src/cmd/ld/ldelf.c (-1 / +1 lines)
Lines 585-591 ldelf(Biobuf *f, char *pkg, int64 len, c Link Here
585
			continue;
585
			continue;
586
		sect = obj->sect+sym.shndx;
586
		sect = obj->sect+sym.shndx;
587
		if(sect->sym == nil) {
587
		if(sect->sym == nil) {
588
			if(strncmp(sym.name, ".Linfo_string", 13) == 0) // clang does this
588
			if(sym.name[0] == '\0' || strncmp(sym.name, ".Linfo_string", 13) == 0) // clang does this
589
				continue;
589
				continue;
590
			diag("%s: sym#%d: ignoring %s in section %d (type %d)", pn, i, sym.name, sym.shndx, sym.type);
590
			diag("%s: sym#%d: ignoring %s in section %d (type %d)", pn, i, sym.name, sym.shndx, sym.type);
591
			continue;
591
			continue;

Return to bug 202662