summaryrefslogtreecommitdiff
path: root/src/cmd/pack
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/pack
parentec9967ff11851facad48bb0c11639e52a77f79b9 (diff)
downloadgo-git-6ee91ced92fc27f8c93b0589484923593cad240f.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 #3473. R=golang-dev, iant CC=golang-dev https://golang.org/cl/6500117
Diffstat (limited to 'src/cmd/pack')
-rw-r--r--src/cmd/pack/ar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/pack/ar.c b/src/cmd/pack/ar.c
index 990094e5db..7053f841f3 100644
--- a/src/cmd/pack/ar.c
+++ b/src/cmd/pack/ar.c
@@ -111,7 +111,7 @@ char *opt = "uvnbailogS";
char artemp[] = "/tmp/vXXXXX";
char movtemp[] = "/tmp/v1XXXXX";
char tailtemp[] = "/tmp/v2XXXXX";
-char symdef[] = "__.SYMDEF";
+char symdef[] = "__.GOSYMDEF";
char pkgdef[] = "__.PKGDEF";
int aflag; /* command line flags */