[PATCH] give .comment sections SHF_MERGE|SHF_STRINGS
H.J. Lu
hjl.tools@gmail.com
Fri Jul 24 22:23:00 GMT 2009
On Fri, Jul 24, 2009 at 12:08 PM, Roland McGrath<roland@redhat.com> wrote:
> The compiler-generated .ident strings linked together tend all to be the
> same, resulting in giant .comment sections with a duplicate string for each
> translation unit. We have the technology. We can make them smaller, faster,
> better than before.
>
> This looks obviously trivial and safe. But I can't be bothered to actually
> test it or anything. Anyone inspired?
How about making it comdat?
--
H.J.
More information about the Binutils
mailing list