User: Password:
|
|
Subscribe / Log in / New account

Optimization

Optimization

Posted Mar 27, 2008 0:14 UTC (Thu) by JoeBuck (guest, #2330)
In reply to: Optimization by paragw
Parent article: Striking gold in binutils

Which optimizations do you have in mind? It already handles the basic ones, like COMDAT.


(Log in to post comments)

Optimization

Posted Mar 27, 2008 1:05 UTC (Thu) by paragw (guest, #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 (guest, #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.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds