aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2008-11-20 17:32:18 -0800
committerRuss Cox <rsc@golang.org>2008-11-20 17:32:18 -0800
commit67addd4e11f147125952b0d4b50c1ed2563129e9 (patch)
treee96b789dcf10a35bece45394915ee1cb372a9cfb /include
parentec913c42b3d1a0a7f380aee5c1ce597f0d2f0f07 (diff)
downloadgo-67addd4e11f147125952b0d4b50c1ed2563129e9.tar.xz
symbol table changes
* add gotype string to symbol table * fill in gotype in 6l for known funcs/vars * print gotype with nm -t * load symbol and pc/ln tables into memory at magic address 0x99<<32. * add sys.symdat() to retrieve raw bytes of symbol table and pc/ln table. most of this should be considered experimental and subject to change. R=r DELTA=157 (128 added, 0 deleted, 29 changed) OCL=19746 CL=19750
Diffstat (limited to 'include')
-rw-r--r--include/mach_amd64.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mach_amd64.h b/include/mach_amd64.h
index 1ffa44033c..140240993e 100644
--- a/include/mach_amd64.h
+++ b/include/mach_amd64.h
@@ -84,6 +84,7 @@ struct Sym
uint sig;
char type;
char *name;
+ char *gotype;
};
/*
* End of Plan 9 a.out.h