summaryrefslogtreecommitdiff
path: root/src/cmd/6l/l.h
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2013-03-10 18:19:53 -0400
committerRuss Cox <rsc@golang.org>2013-03-10 18:19:53 -0400
commit1bf689a16154f8005d73896783e6e714ba9a1479 (patch)
tree67e36fbae246c382c6cc34eb2950ae2ca93195b8 /src/cmd/6l/l.h
parentcd65be6085d94bc93514854c8d609871c5fa9376 (diff)
downloadgo-1bf689a16154f8005d73896783e6e714ba9a1479.tar.gz
cmd/ld: replace dynimpname with extname
Dynimpname was getting too confusing. Replace flag-like checks with tests of s->type. R=ken2 CC=golang-dev https://codereview.appspot.com/7594046
Diffstat (limited to 'src/cmd/6l/l.h')
-rw-r--r--src/cmd/6l/l.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/6l/l.h b/src/cmd/6l/l.h
index a06dff8c0..a48639d7a 100644
--- a/src/cmd/6l/l.h
+++ b/src/cmd/6l/l.h
@@ -141,6 +141,7 @@ struct Auto
struct Sym
{
char* name;
+ char* extname; // name used in external object files
short type;
short version;
uchar dupok;
@@ -168,7 +169,6 @@ struct Sym
vlong size;
Sym* gotype;
char* file;
- char* dynimpname;
char* dynimplib;
char* dynimpvers;
struct Section* sect;