summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2013-12-18 19:36:14 -0500
committerRuss Cox <rsc@golang.org>2013-12-18 19:36:14 -0500
commit46be1e1d188fcffe2628431ada9af7e57da49654 (patch)
tree92597d963ee40dfc3814a11facbc182479874d5a /include
parent2980aae9cc87cf29b17a142869d2b2f6df9317f7 (diff)
downloadgo-46be1e1d188fcffe2628431ada9af7e57da49654.tar.gz
liblink: use explicit field for globl duplicate detection
Overloading size leads to problems if clients try to set up an LSym by hand. R=golang-dev, bradfitz CC=golang-dev https://codereview.appspot.com/44140043
Diffstat (limited to 'include')
-rw-r--r--include/link.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/link.h b/include/link.h
index c5089fc84..2e23d20c7 100644
--- a/include/link.h
+++ b/include/link.h
@@ -131,6 +131,7 @@ struct LSym
uchar hide;
uchar leaf; // arm only
uchar fnptr; // arm only
+ uchar seenglobl;
int16 symid; // for writing .5/.6/.8 files
int32 dynid;
int32 sig;