Posted Mar 27, 2008 0:14 UTC (Thu) by JoeBuck (subscriber, #2330)
[Link]
Which optimizations do you have in mind? It already handles the basic ones, like COMDAT.
Optimization
Posted Mar 27, 2008 1:05 UTC (Thu) by paragw (subscriber, #45306)
[Link]
I wasn't sure about what optimizations GNU LD does - only that there was a documented -O
switch to tell it to optimize which warns that it takes a lot of time to optimize. So I
assumed it must be doing significant optimizations.
Got to check out on the possible linker optimizations - interesting exercise. (Someone from
Sun claimed gld does not do half the optimizations that the Sun Linker does - may be specific
to SPARC.)
Optimization
Posted Mar 27, 2008 17:18 UTC (Thu) by JoeBuck (subscriber, #2330)
[Link]
GNU ld's -O switch only affects shared library generation; the optimization is described in this LWN article. I don't know whether gold does anything similar.