Support for ELF's STT_COMMON symbol type

Nick Clifton nickc@redhat.com
Tue Oct 9 16:13:00 GMT 2007


Hi H.J.

> I think STT_COMMON should be enabled by default. But we only
> generate it when
> 
> .type foo, %common
> 
> is used. Given that gcc doesn't generate it, it should be OK.

I think that would be a bad idea because then we would have two types of 
commons inside bfd.  Those that had had ".type %common" set for them and those 
that had not.  Such a situation would be far too likely to create new bugs in 
my opinion.

Cheers
   Nick




More information about the Binutils mailing list