diff options
author | Russ Cox <rsc@golang.org> | 2013-12-18 19:36:14 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2013-12-18 19:36:14 -0500 |
commit | 46be1e1d188fcffe2628431ada9af7e57da49654 (patch) | |
tree | 92597d963ee40dfc3814a11facbc182479874d5a /include/link.h | |
parent | 2980aae9cc87cf29b17a142869d2b2f6df9317f7 (diff) | |
download | go-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/link.h')
-rw-r--r-- | include/link.h | 1 |
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; |