This is the mail archive of the
mailing list for the binutils project.
Re: [PATCH] give .comment sections SHF_MERGE|SHF_STRINGS
On Fri, 2009-07-24 at 15:38 -0700, Roland McGrath wrote:
> > It only seems to work if I explicitly set the section entsize to 1.
> Oh, I guess that's reasonable enough. So I take this to mean you've tested
> this version and declare it good?
=== gas Summary ===
# of expected passes 372
And it works for me (using gas in the path when building with gcc). As
long as the objects linked together all have the flags and entsize set
strings get merged. As soon as an older object is linked in that doesn't
have those set then not all duplicate strings are removed (as expected).