summaryrefslogtreecommitdiff
path: root/src/cmd/5l
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2013-12-09 19:35:07 -0500
committerRuss Cox <rsc@golang.org>2013-12-09 19:35:07 -0500
commit82a716f12bbc93da11ea295936895bffddf8596f (patch)
treedcef5d84d8504647223a8e20e0c9fba0ea65509a /src/cmd/5l
parentdce8af778b2b63f3c500c193fc64a40bbb5ca106 (diff)
downloadgo-82a716f12bbc93da11ea295936895bffddf8596f.tar.gz
runtime: remove non-extern decls of runtime.goarm
The linker is in charge of providing the one true declaration. R=golang-dev, dave, r CC=golang-dev https://codereview.appspot.com/39560043
Diffstat (limited to 'src/cmd/5l')
-rw-r--r--src/cmd/5l/obj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/5l/obj.c b/src/cmd/5l/obj.c
index 96198f99c..591aef859 100644
--- a/src/cmd/5l/obj.c
+++ b/src/cmd/5l/obj.c
@@ -95,6 +95,6 @@ archinit(void)
// embed goarm to runtime.goarm
s = linklookup(ctxt, "runtime.goarm", 0);
- s->dupok = 1;
+ s->type = SRODATA;
adduint8(ctxt, s, goarm);
}