View | Details | Raw Unified | Return to bug 195711
Collapse All | Expand All

(-)lang/go/files/patch-src_cmd_ld_ldelf.c (+11 lines)
Line 0 Link Here
1
--- src/cmd/ld/ldelf.c.orig	2014-09-25 22:46:54 UTC
2
+++ src/cmd/ld/ldelf.c
3
@@ -582,6 +582,8 @@ ldelf(Biobuf *f, char *pkg, int64 len, c
4
 			continue;
5
 		sect = obj->sect+sym.shndx;
6
 		if(sect->sym == nil) {
7
+			if(strncmp(sym.name, ".Linfo_string", 13) == 0) // clang does this
8
+				continue;
9
 			diag("%s: sym#%d: ignoring %s in section %d (type %d)", pn, i, sym.name, sym.shndx, sym.type);
10
 			continue;
11
 		}

Return to bug 195711