From 57a9bd0ee3e0daaef6bc69f40436463afd855968 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 12 Aug 2009 16:14:53 -0700 Subject: 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 --- src/cmd/nm/nm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cmd/nm/nm.c') 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"); } } -- cgit v1.3