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

Unified Diff: src/cmd/cc/pgen.c

Issue 80370045: code review 80370045: cmd/cc: emit gc bitmaps in read-only memory (Closed)
Patch Set: diff -r cc7e3b7f79b7 https://code.google.com/p/go/ Created 9 years, 12 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 | « no previous file | src/cmd/ld/symtab.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/cmd/cc/pgen.c
===================================================================
--- a/src/cmd/cc/pgen.c
+++ b/src/cmd/cc/pgen.c
@@ -51,6 +51,7 @@
nod.sym = sym;
nod.class = CSTATIC;
gins(AFUNCDATA, nodconst(funcdatakind), &nod);
+ linksym(sym)->type = SRODATA;
return sym;
}
« no previous file with comments | « no previous file | src/cmd/ld/symtab.c » ('j') | no next file with comments »

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