• Gustavo Niemeyer's avatar
    ld: don't attempt to build dynamic sections unnecessarily · 89d334ff
    Gustavo Niemeyer authored
    This prevents ld from generating zeroed symtab entries for
    sections that aren't going to be generated because dynamic
    linkage has been disabled (-d was used or no dynamic libs
    were seen).  Even though they were not explicitly added by
    doelf, the section creation process was making them
    reachable again.
    
    The windows head is being disconsidered for this because
    apparently it's not taking into account debug['d'].
    
    This makes elflint 0.1% happier.
    
    R=golang-dev, rsc, gustavo
    CC=golang-dev
    https://golang.org/cl/4638050
    89d334ff
Name
Last commit
Last update
..
5a Loading commit data...
5c Loading commit data...
5g Loading commit data...
5l Loading commit data...
6a Loading commit data...
6c Loading commit data...
6g Loading commit data...
6l Loading commit data...
8a Loading commit data...
8c Loading commit data...
8g Loading commit data...
8l Loading commit data...
cc Loading commit data...
cgo Loading commit data...
cov Loading commit data...
ebnflint Loading commit data...
gc Loading commit data...
godefs Loading commit data...
godoc Loading commit data...
gofix Loading commit data...
gofmt Loading commit data...
goinstall Loading commit data...
gomake Loading commit data...
gopack Loading commit data...
gotest Loading commit data...
gotry Loading commit data...
gotype Loading commit data...
govet Loading commit data...
goyacc Loading commit data...
hgpatch Loading commit data...
ld Loading commit data...
nm Loading commit data...
prof Loading commit data...
Makefile Loading commit data...