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


> How do we deal with SORT in linker script and --sort-section alignment?
> Which one should be preferred? Should there be SORT_ALIGN?

IMHO...

The linker script always overrides the command line.

However, it would make sense for the --sort-section function to be
used by the explicit SORT* routine for cases when the two sections
would otherwise sort equally, so sections whose order would otherwise
be unspecified would become specified.


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