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 Wed, Oct 20, 2010 at 10:27 PM, Mark Mitchell <mark@codesourcery.com> wrote:
> 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.
>

The symbol table entry of group signature doesn't need a name
since it isn't a real symbol. Having a symbol name for group signature
sounds a bad idea.



-- 
H.J.


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