• Joel Sing's avatar
    debug/elf: do not skip first symbol in the symbol table · 76689845
    Joel Sing authored
    Do not skip the first symbol in the symbol table. Any other indexes
    into the symbol table (for example, indexes in relocation entries)
    will now refer to the symbol following the one that was intended.
    
    Add an object that contains debug relocations, which debug/dwarf
    failed to decode correctly. Extend the relocation tests to cover
    this case.
    
    Note that the existing tests passed since the symbol following the
    symbol that required relocation is also of type STT_SECTION.
    
    Fixes #4107.
    
    R=golang-dev, mikioh.mikioh, iant, iant
    CC=golang-dev
    https://golang.org/cl/6848044
    76689845
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...