RFC: COMDAT group names become anonymouse local symbols

H.J. Lu hjl.tools@gmail.com
Thu Oct 21 05:19:00 GMT 2010


On Wed, Oct 20, 2010 at 9:41 PM, Mark Mitchell <mark@codesourcery.com> wrote:
> On 10/20/2010 6:04 PM, Ian Lance Taylor 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?


-- 
H.J.



More information about the Binutils mailing list