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/pack | |
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/pack')
-rw-r--r-- | src/cmd/pack/ar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/pack/ar.c b/src/cmd/pack/ar.c index 990094e5d..7053f841f 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 */ |