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
commit971c7b5ecb122f0cef54fd1c75792406f5e6dd29 (patch)
treee96b789dcf10a35bece45394915ee1cb372a9cfb /include
parent205d88967d6c7b7e7529f97e4e6db5a2784e1d02 (diff)
downloadgo-971c7b5ecb122f0cef54fd1c75792406f5e6dd29.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