aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/nm
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-08-12 16:14:53 -0700
committerRuss Cox <rsc@golang.org>2009-08-12 16:14:53 -0700
commit57a9bd0ee3e0daaef6bc69f40436463afd855968 (patch)
treef21ba7b24967ad32cf6f3d52fba918c7a14a03b9 /src/cmd/nm
parent3e98a407933c4f53ac825e927d152644b690ef92 (diff)
downloadgo-57a9bd0ee3e0daaef6bc69f40436463afd855968.tar.xz
change gotype in symbol table from
character string to machine address. not filled in, just carved out. R=austin DELTA=77 (11 added, 34 deleted, 32 changed) OCL=33122 CL=33124
Diffstat (limited to 'src/cmd/nm')
-rw-r--r--src/cmd/nm/nm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/nm/nm.c b/src/cmd/nm/nm.c
index 66748eef7c..57e6636a32 100644
--- a/src/cmd/nm/nm.c
+++ b/src/cmd/nm/nm.c
@@ -326,8 +326,8 @@ printsyms(Sym **symptr, long nsym)
else
Bprint(&bout, "%*s ", wid, "");
Bprint(&bout, "%c %s", s->type, cp);
- if(tflag && s->gotype && s->gotype[0])
- Bprint(&bout, " %s", s->gotype);
+ if(tflag && s->gotype)
+ Bprint(&bout, " %*llux", wid, s->gotype);
Bprint(&bout, "\n");
}
}