This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Clarification on section variable attribute usage [try #2]
- From: Franck Bui-Huu <vagabon dot xyz at gmail dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 11 Dec 2007 21:27:06 +0100
- Subject: Re: Clarification on section variable attribute usage [try #2]
- References: <475DA879.4060708@gmail.com> <m3zlwhfbpx.fsf@localhost.localdomain>
Hi Ian
Ian Lance Taylor wrote:
> Please never send a message to both gcc@gcc.gnu.org and
> gcc-help@gcc.gnu.org. Thanks.
>
OK.
> 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 think the documentation is simply wrong.
It's probably high time to fix it up.
Thanks,
Franck