This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: Sort input section by list


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]