• Austin Clements's avatar
    cmd/5l,6l,8l: remove bogus dynsym section indexes · 7e424ecd
    Austin Clements authored
    Previously, this code generated bogus section indexes for dynamic
    symbols.  It turns out this didn't matter, since we only emit these
    when generating an executable and in an executable it only matters
    whether a symbol is defined or undefined, but it leads to perplexing
    code full of mysterious constants.
    
    Unfortunately, this happens too early to put in real section indexes,
    so just use section index 1 to distinguish the symbol from an
    undefined symbol.
    
    Change-Id: I0e514604bf31f21683598ebd3e020b66acf767ef
    Reviewed-on: https://go-review.googlesource.com/1720Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
    7e424ecd
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...