[PATCH] ELF: Don't sort output note section by alignments in ascending order

H.J. Lu hjl.tools@gmail.com
Fri Oct 5 12:46:00 GMT 2018

On Fri, Oct 5, 2018 at 5:37 AM Nick Clifton <nickc@redhat.com> wrote:
> Hi H.J.
> > Since we can only insert a note section after another note section,
> Why is this ?
> If the note section that we want to insert has a different alignment
> from the any previous note section why can't we insert it where we like ?

lang_insert_orphan calls insert_os_after to place a note section output
statement.  Since it needs an existing output statement to insert after,
there is no way to place a section BEFORE a note output statement
if it is the first output statement.


More information about the Binutils mailing list