summaryrefslogtreecommitdiff
path: root/src/cmd/ld/go.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-12-15 17:20:26 -0500
committerRuss Cox <rsc@golang.org>2010-12-15 17:20:26 -0500
commitd0c54bbf1b025a1bf5959ff46a8f342aac184466 (patch)
tree391339623d2f9a15ea9cbd1afec2f7ebe887a17f /src/cmd/ld/go.c
parenta2f4df47313af8e0f13f2478eda4aae8fb7912cf (diff)
downloadgo-d0c54bbf1b025a1bf5959ff46a8f342aac184466.tar.gz
fix freebsd build
R=iant, r CC=dho, golang-dev http://codereview.appspot.com/3687041
Diffstat (limited to 'src/cmd/ld/go.c')
-rw-r--r--src/cmd/ld/go.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cmd/ld/go.c b/src/cmd/ld/go.c
index 607cc3f3a..00318fe11 100644
--- a/src/cmd/ld/go.c
+++ b/src/cmd/ld/go.c
@@ -658,3 +658,12 @@ deadcode(void)
else
last->next = nil;
}
+
+void
+addexport(void)
+{
+ int i;
+
+ for(i=0; i<ndynexp; i++)
+ adddynsym(dynexp[i]);
+}