• Russ Cox's avatar
    ld: preserve symbol sizes during data layout · f0ab1464
    Russ Cox authored
    Fixes the broken linux/amd64 build.
    The symbol table, itself a symbol, was having
    its size rounded up to the nearest word boundary.
    If the rounding add >7 zero bytes then it confused
    the debug/gosym symbol table parser.  So you've
    got a 1/8 chance to hit the bug on an amd64 system.
    
    Just started in the recent change because I fixed
    the rounding to round to word boundary instead
    of to 4-byte boundary.
    
    R=r
    CC=golang-dev
    https://golang.org/cl/4241056
    f0ab1464
Name
Last commit
Last update
..
data.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...
pe.c Loading commit data...
pe.h Loading commit data...
symtab.c Loading commit data...