This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] give .comment sections SHF_MERGE|SHF_STRINGS
On Fri, Jul 24, 2009 at 3:45 PM, Mark Wielaard<mjw@redhat.com> wrote:
> 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
> ../as-new 2.19.51.20090724
>
> 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).
>
Does it work with "ld -r"?
--
H.J.