RFC: Add --sort-section to ld

DJ Delorie dj@redhat.com
Thu Aug 26 13:13:00 GMT 2004


> 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.



More information about the Binutils mailing list