public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/60588] AVR target does not support init_priority attribute
[not found] <bug-60588-4@http.gcc.gnu.org/bugzilla/>
@ 2014-05-12 18:21 ` charles at cnlohr dot com
2015-02-20 11:33 ` gjl at gcc dot gnu.org
2015-02-20 11:34 ` gjl at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: charles at cnlohr dot com @ 2014-05-12 18:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60588
Charles Lohr <charles at cnlohr dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |charles at cnlohr dot com
--- Comment #1 from Charles Lohr <charles at cnlohr dot com> ---
I am frustrated by this as well, and was hoping that since both AVRs and ARMs
are bare metal systems, it could be done in a similar way. With ARMs, the
constructors are placed into a list that can be manually executed after main()
starts.
I.e.
constructor_t *fn = _init_array_start;
while(fn < _init_array_end)
{
(*fn++)();
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/60588] AVR target does not support init_priority attribute
[not found] <bug-60588-4@http.gcc.gnu.org/bugzilla/>
2014-05-12 18:21 ` [Bug target/60588] AVR target does not support init_priority attribute charles at cnlohr dot com
@ 2015-02-20 11:33 ` gjl at gcc dot gnu.org
2015-02-20 11:34 ` gjl at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: gjl at gcc dot gnu.org @ 2015-02-20 11:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60588
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cameron at tacklind dot com
--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
*** Bug 64347 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/60588] AVR target does not support init_priority attribute
[not found] <bug-60588-4@http.gcc.gnu.org/bugzilla/>
2014-05-12 18:21 ` [Bug target/60588] AVR target does not support init_priority attribute charles at cnlohr dot com
2015-02-20 11:33 ` gjl at gcc dot gnu.org
@ 2015-02-20 11:34 ` gjl at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: gjl at gcc dot gnu.org @ 2015-02-20 11:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60588
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P5
CC| |gjl at gcc dot gnu.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-02-20 11:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-60588-4@http.gcc.gnu.org/bugzilla/>
2014-05-12 18:21 ` [Bug target/60588] AVR target does not support init_priority attribute charles at cnlohr dot com
2015-02-20 11:33 ` gjl at gcc dot gnu.org
2015-02-20 11:34 ` gjl at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).