Clarification on section variable attribute usage [try #2]

Ian Lance Taylor iant@google.com
Tue Dec 11 23:15:00 GMT 2007


Franck Bui-Huu <vagabon.xyz@gmail.com> writes:

> > Yes, I'm fairly sure that is no longer correct.  gcc is now smart
> > enough to not treat a variable with a section attribute as a common
> > variable.
> 
> Do you know when this happened ? Before GCC 3.2 ?

I don't know when it happened, no.

> > I think the documentation is simply wrong.
> 
> It's probably high time to fix it up.

Yep.

Ian



More information about the Gcc-help mailing list