• Russ Cox's avatar
    cmd/ld: remove Plan 9 symbol table · 964f6d3e
    Russ Cox authored
    Update #6853
    
    Nothing reads the Plan 9 symbol table anymore.
    The last holdout was 'go tool nm', but since being rewritten in Go
    it uses the standard symbol table for the binary format
    (ELF, Mach-O, PE) instead.
    
    Removing the Plan 9 symbol table saves ~15% disk space
    on most binaries.
    
    Two supporting changes included in this CL:
    
    debug/gosym: use Go 1.2 pclntab to synthesize func-only
    symbol table when there is no Plan 9 symbol table
    
    debug/elf, debug/macho, debug/pe: ignore final EOF from ReadAt
    
    LGTM=r
    R=r, bradfitz
    CC=golang-codereviews
    https://golang.org/cl/65740045
    964f6d3e
Name
Last commit
Last update
..
data.c Loading commit data...
decodesym.c Loading commit data...
doc.go Loading commit data...
dwarf.c Loading commit data...
dwarf.h Loading commit data...
dwarf_defs.h Loading commit data...
elf.c Loading commit data...
elf.h Loading commit data...
go.c Loading commit data...
ldelf.c Loading commit data...
ldmacho.c Loading commit data...
ldpe.c Loading commit data...
lib.c Loading commit data...
lib.h Loading commit data...
macho.c Loading commit data...
macho.h Loading commit data...
pass.c Loading commit data...
pcln.c Loading commit data...
pe.c Loading commit data...
pe.h Loading commit data...
pobj.c Loading commit data...
symtab.c Loading commit data...
textflag.h Loading commit data...