summaryrefslogtreecommitdiff
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
commit10d570dc0bf70cc926b3d191ebdfec4a9262212a (patch)
treee96b789dcf10a35bece45394915ee1cb372a9cfb /include
parent4e1bef804a65d5c3ede0db2e49cb296f2eca07bd (diff)
downloadgolang-10d570dc0bf70cc926b3d191ebdfec4a9262212a.tar.gz
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 1ffa44033..140240993 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