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: Support for ELF's STT_COMMON symbol type


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



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