aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/nm/nm.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2012-09-13 10:26:21 -0400
committerRuss Cox <rsc@golang.org>2012-09-13 10:26:21 -0400
commit6ee91ced92fc27f8c93b0589484923593cad240f (patch)
treebad6a4ea4b6c9287c13be53c5337d79e040f99f1 /src/cmd/nm/nm.c
parentec9967ff11851facad48bb0c11639e52a77f79b9 (diff)
downloadgo-6ee91ced92fc27f8c93b0589484923593cad240f.tar.xz
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 #3473. R=golang-dev, iant CC=golang-dev https://golang.org/cl/6500117
Diffstat (limited to 'src/cmd/nm/nm.c')
-rw-r--r--src/cmd/nm/nm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/nm/nm.c b/src/cmd/nm/nm.c
index 845b6c773a..6682390358 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;