This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH,target]AVR - disable constructor init priorities
- From: Tristan Gingold <gingold at adacore dot com>
- To: Andy H <hutchinsonandy at aim dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Anatoly Sokolov <aesok at post dot ru>, "Weddington, Eric" <eweddington at cso dot atmel dot com>
- Date: Tue, 17 Jun 2008 07:30:55 -0400
- Subject: Re: [PATCH,target]AVR - disable constructor init priorities
- References: <485554BF.7070701@aim.com>
On Jun 15, 2008, at 1:43 PM, Andy H wrote:
Anatoly,
Init priorities allows the order of constructor/destructors to be
controlled. This is not supported by the AVR code (it would need
to use named sections with linker support).
I am a little bit surprised by this statement. Because we are using
ELF, named sections should be available
for free, shouldn''t they ?