Descriptionld: don't attempt to build dynamic sections unnecessarily
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.
Patch Set 1 #Patch Set 2 : code review 4638050: ld: don't attempt to build dynamic sections unnecessarily #Patch Set 3 : diff -r 812bb69a9ec1 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 812bb69a9ec1 https://go.googlecode.com/hg/ #MessagesTotal messages: 5
|