FreeBSD Bugzilla – Attachment 160360 Details for
Bug 202662
Fix lang/go build with clang 3.7.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix go's ldelf.c to not complain about unnamed symbols
patch-src__cmd__ld__ldelf.c (text/plain), 548 bytes, created by
Dimitry Andric
on 2015-08-25 20:13:46 UTC
(
hide
)
Description:
Fix go's ldelf.c to not complain about unnamed symbols
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2015-08-25 20:13:46 UTC
Size:
548 bytes
patch
obsolete
>--- src/cmd/ld/ldelf.c.orig 2015-02-18 05:38:34.000000000 +0100 >+++ src/cmd/ld/ldelf.c 2015-08-22 23:44:56.042234000 +0200 >@@ -585,7 +585,7 @@ ldelf(Biobuf *f, char *pkg, int64 len, c > continue; > sect = obj->sect+sym.shndx; > if(sect->sym == nil) { >- if(strncmp(sym.name, ".Linfo_string", 13) == 0) // clang does this >+ if(sym.name[0] == '\0' || strncmp(sym.name, ".Linfo_string", 13) == 0) // clang does this > continue; > diag("%s: sym#%d: ignoring %s in section %d (type %d)", pn, i, sym.name, sym.shndx, sym.type); > continue;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 202662
: 160360 |
160361