RFC: ld: Add --section-ordering-file FILE
H.J. Lu
hjl.tools@gmail.com
Wed Apr 17 16:06:00 GMT 2019
On Wed, Apr 17, 2019 at 8:57 AM Nick Clifton <nickc@redhat.com> wrote:
>
> Hi H.J.
>
> >> Why is it even worth adding it in ?
> >
> > gold has
> >
> > --section-ordering-file FILENAME
> > Layout sections in the order specified
> >
> > It has been used to improve performance in programs. Using ld with
> > custom linker scripts aren't very practical.
>
> Ah - this I did not know.
>
> (Actually this brings up a side issue - where are these gold features
> documented ? It would be nice to be able to read about them).
Gold doesn't have documentation beyond "--help".
> In which case, with the proviso that there is proper documentation and
> testsing, I can see no reason not go ahead with submitting a full
> patch for review.
>
I will submit a patch with tests and documentation.
Thanks.
--
H.J.
More information about the Binutils
mailing list