RFC: ld: Add --text-section-ordering-file (version 4)
Nick Clifton
nickc@redhat.com
Fri May 10 16:00:35 GMT 2024
Hi Alan,
> ld-scripts/start.s seems to be missing. You might also like to
> consider adding the attached patch, which removes the need to specify
> "SECTIONS { }" in --text-ordering-file scripts and gives a syntax
> error on trying to alter output sections' address, type, alignment
> etc. Since we ignore them in lang_enter_output_section_statement for
> --text-ordering-file scripts we probably ought to make it explicit.
Thanks - that makes sense.
I have gone ahead and checked in the patch with your additions and a tweak
to the documentation.
Cheers
Nick
More information about the Binutils
mailing list