]> Cypherpunks repositories - gostls13.git/commit
cmd/ld, runtime: new in-memory symbol table format
authorRuss Cox <rsc@golang.org>
Tue, 16 Jul 2013 13:41:38 +0000 (09:41 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 16 Jul 2013 13:41:38 +0000 (09:41 -0400)
commit5d363c6357ebcacc8ba7c24420f7cfd2e530591a
treebc168c1cbd6483edd35aa74cdab1481812cdfc3c
parent63e0ddc7bf0c7523d826331ff51a551c5040b50b
cmd/ld, runtime: new in-memory symbol table format

Design at http://golang.org/s/go12symtab.

This enables some cleanup of the garbage collector metadata
that will be done in future CLs.

This CL does not move the old symtab and pclntab back into
an unmapped section of the file. That's a bit tricky and will be
done separately.

Fixes #4020.

R=golang-dev, dave, cshapiro, iant, r
CC=golang-dev, nigeltao
https://golang.org/cl/11085043
27 files changed:
src/cmd/5l/5.out.h
src/cmd/5l/l.h
src/cmd/5l/obj.c
src/cmd/6l/6.out.h
src/cmd/6l/l.h
src/cmd/6l/obj.c
src/cmd/6l/optab.c
src/cmd/8l/8.out.h
src/cmd/8l/l.h
src/cmd/8l/obj.c
src/cmd/8l/optab.c
src/cmd/gc/fmt.c
src/cmd/ld/data.c
src/cmd/ld/go.c
src/cmd/ld/lib.c
src/cmd/ld/lib.h
src/cmd/ld/symtab.c
src/pkg/runtime/asm_386.s
src/pkg/runtime/asm_amd64.s
src/pkg/runtime/asm_arm.s
src/pkg/runtime/extern.go
src/pkg/runtime/mgc0.c
src/pkg/runtime/runtime.c
src/pkg/runtime/runtime.h
src/pkg/runtime/symtab.c
src/pkg/runtime/traceback_arm.c
src/pkg/runtime/traceback_x86.c