This is the mail archive of the binutils@sources.redhat.com 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: Add --sort-section to ld


"H. J. Lu" <hjl@lucon.org> writes:

> We'd like to have a way to apply SORT to all wildcard sections in the
> default linker scripts. I am thinking to add a new linker switch,
> --sort-section, which sorts all wildcard sections. It will be ignored
> when a user provided linker script is used. Any comments?

Why should --sort-section be ignored with a user provided linker
script?

If we add this, I think it should take a parameter, so that we can
specify the type of sort to use.  For example: sort by name, sort by
section size.

Ian


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