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

Unified Diff: src/cmd/5l/obj.c

Issue 6926049: code review 6926049: 6c/6g/6l/go: PIC and shared library support. (Closed)
Patch Set: diff -r 9dacae220eca https://go.googlecode.com/hg/ Created 11 years, 2 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/noop.c ('k') | src/cmd/5l/optab.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/cmd/5l/obj.c
===================================================================
--- a/src/cmd/5l/obj.c
+++ b/src/cmd/5l/obj.c
@@ -80,6 +80,7 @@
INITDAT = -1;
INITRND = -1;
INITENTRY = 0;
+ LIBINITENTRY = 0;
nuxiinit();
p = getgoarm();
@@ -123,6 +124,7 @@
flagcount("u", "reject unsafe packages", &debug['u']);
flagcount("v", "print link trace", &debug['v']);
flagcount("w", "disable DWARF generation", &debug['w']);
+ flagcount("shared", "generate shared object", &flag_shared);
flagparse(&argc, &argv, usage);
« no previous file with comments | « src/cmd/5l/noop.c ('k') | src/cmd/5l/optab.c » ('j') | no next file with comments »

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