diff options
author | Russ Cox <rsc@golang.org> | 2012-09-13 10:26:21 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2012-09-13 10:26:21 -0400 |
commit | f0e948755834bf6cd3c264ad202c1cc8afe7b030 (patch) | |
tree | 38e381ab6406b016fbc89b55ea2e498726a5e851 /src/cmd/nm | |
parent | af606d123443e988e595c7f2d4eb4078269e5a8a (diff) | |
download | go-f0e948755834bf6cd3c264ad202c1cc8afe7b030.tar.gz |
cmd/pack: rename __.SYMDEF to __.GOSYMDEF
This fixes a problem with ELF tools thinking they know the
format of the symbol table, as we do not use any of the
standard formats for that table.
This change will probably annoy the Plan 9 users, but I
believe there are other incompatibilities already that mean
they have to use a Go-specific nm.
Fixes issue 3473.
R=golang-dev, iant
CC=golang-dev
http://codereview.appspot.com/6500117
Diffstat (limited to 'src/cmd/nm')
-rw-r--r-- | src/cmd/nm/nm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/nm/nm.c b/src/cmd/nm/nm.c index 845b6c773..668239035 100644 --- a/src/cmd/nm/nm.c +++ b/src/cmd/nm/nm.c @@ -43,7 +43,7 @@ enum{ char *errs; /* exit status */ char *filename; /* current file */ -char symname[]="__.SYMDEF"; /* table of contents file name */ +char symname[]="__.GOSYMDEF"; /* table of contents file name */ int multifile; /* processing multiple files */ int aflag; int gflag; |