RFC: Sort input section by list
Nick Clifton
nickc@redhat.com
Tue Aug 26 16:15:00 GMT 2008
Hi Arjan,
>>> because it allows the developer to put the commonly used functions at
>>> the start of the file, improving density in the page cache for example,
>> > and generally improving startup time.
>> But surely this could be done with gcc's section name function
>> attribute without requiring any alterations to the linker ?
> patching 3000 lines+ for each program ....
> ... versus running a profile and generating an automated list to feed
> the linker?
>
> I know which one is usable in practice ;-)
A generic method which will work with currently installed versions of
gcc and the linker on most linux boxes...
...versus a new, untested feature in the linker, in a version of the
linker that has not even been released yet.
I know which one I would choose. ;-)
Cheers
Nick
More information about the Binutils
mailing list