]> Cypherpunks repositories - gostls13.git/commit
symbol table changes
authorRuss Cox <rsc@golang.org>
Fri, 21 Nov 2008 01:32:18 +0000 (17:32 -0800)
committerRuss Cox <rsc@golang.org>
Fri, 21 Nov 2008 01:32:18 +0000 (17:32 -0800)
commit67addd4e11f147125952b0d4b50c1ed2563129e9
treee96b789dcf10a35bece45394915ee1cb372a9cfb
parentec913c42b3d1a0a7f380aee5c1ce597f0d2f0f07
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
include/mach_amd64.h
src/cmd/6l/asm.c
src/cmd/6l/go.c
src/cmd/6l/l.h
src/cmd/6l/span.c
src/cmd/gc/sys.go
src/cmd/gc/sysimport.c
src/cmd/nm/nm.c
src/libmach_amd64/sym.c
src/runtime/runtime.c