This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: RFC: Sort input section by list
Nick Clifton wrote:
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. (less pagefaults and less
TLB pressure)
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 ;-)