RFC: ELF: Deduplicate strings without a null terminator

Trevor Gross tmgross@umich.edu
Thu Apr 17 06:41:10 GMT 2025


On Thu, Apr 17, 2025 at 12:57 AM Alan Modra <amodra@gmail.com> wrote:
>
> On Thu, Apr 17, 2025 at 12:56:27AM -0400, Trevor Gross wrote:
> > Is there any appetite for providing linkers a way to merge binary
> > sequences that are not null-terminated?
>
> Already supported in the GNU linker.

Could you point me to more information about what the rules for this
are? This must only happen across different sections since I'm not
sure how concatenated progbits blobs (which GCC seems to produce for
multiple static arrays) could be compressed without length
information.

- Trevor


More information about the Binutils mailing list