[PATCH] ld: Always place note sections as orphan sections
Nick Clifton
nickc@redhat.com
Mon Nov 11 11:08:08 GMT 2024
More information about the Binutils mailing list
Mon Nov 11 11:08:08 GMT 2024
- Previous message (by thread): [PATCH] ld: Always place note sections as orphan sections
- Next message (by thread): [PATCH] ld: Move note sections after .rodata section
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi H.J. >> I like the idea of moving the note sections into the same segment as the >> .rodata section, but I also like the idea of linker scripts explicitly >> handling known sections, rather than assuming that, for example, the orphan >> section handling code will not change in the future. >> >> So how about something like the attached (untested) patch which moves the >> known note sections from misc-sections.sc to elf.sc ? This should achieve >> your aims whilst also making sure that (known) notes will always be placed >> after the read only data. >> > > It works for me. OK, please could you apply that patch, together with your test case ? Cheers Nick
- Previous message (by thread): [PATCH] ld: Always place note sections as orphan sections
- Next message (by thread): [PATCH] ld: Move note sections after .rodata section
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list