Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(487)

Unified Diff: src/cmd/6c/swt.c

Issue 6086043: code review 6086043: cmd/cgo, cmd/go: detect dynamic linker automatically (Closed)
Patch Set: diff -r e388ce51be75 https://code.google.com/p/go/ Created 12 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/cmd/5l/obj.c ('k') | src/cmd/6l/obj.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/cmd/6c/swt.c
===================================================================
--- a/src/cmd/6c/swt.c
+++ b/src/cmd/6c/swt.c
@@ -259,6 +259,10 @@
Bprint(&b, "\n$$ // dynexport\n");
for(i=0; i<ndynexp; i++)
Bprint(&b, "dynexport %s %s\n", dynexp[i].local, dynexp[i].remote);
+ Bprint(&b, "\n$$ // dynlinker\n");
+ if(dynlinker != nil) {
+ Bprint(&b, "dynlinker %s\n", dynlinker);
+ }
Bprint(&b, "\n$$\n\n");
}
Bprint(&b, "!\n");
« no previous file with comments | « src/cmd/5l/obj.c ('k') | src/cmd/6l/obj.c » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b