[PATCH 1/4] ld: Add --text-section-ordering-file FILE
H.J. Lu
hjl.tools@gmail.com
Mon Jan 22 12:51:34 GMT 2024
On Sun, Jan 21, 2024 at 11:37 PM Jan Beulich <jbeulich@suse.com> wrote:
>
> On 20.01.2024 00:15, Fangrui Song wrote:
> > It is a shame that the new feature only applies to .text . Data
> > sections and other code sections should be reorderable as well.
>
> I second this remark. In fact I wonder why it is that text needs
The perf data usually provides guidance for text section layout.
> treating specially here. Can't the option just be
> --section-ordering-file and then permit covering all kinds of
> sections?
It requires much bigger changes to ld.
--
H.J.
More information about the Binutils
mailing list