This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: COMDAT group names become anonymouse local symbols


On 10/20/2010 10:19 PM, H.J. Lu wrote:

>>> The gas behaviour makes sense in that it gives you a slightly smaller
>>> object file, although that is partially offset by the need for the
>>> linker to do extra work to dig up the section name from .shstrtab rather
>>> than the symbol name from .strtab.  But I agree that it does not meet
>>> the letter of the ELF standard.
>>
>> So, would a patch to make GAS create a local symbol for the group name
>> be acceptable?  Or would it be rejected on the grounds that it makes
>> object files bigger?

> Can't we use ".group" as section name for all group sections?

Yes, but that by itself doesn't do anything to solve the problem.  The
issue is whether the group signature symbol must have a name, not what
the name on the section is.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]