2006-10-30 Joel Sherrill <joel@OARcorp.com>

* startup/rtems-ctor.cc: Conditionally disable non-GCC code.
This commit is contained in:
Joel Sherrill
2006-10-30 22:18:57 +00:00
parent d1adbaed2a
commit d233c88057
2 changed files with 10 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2006-10-30 Joel Sherrill <joel@OARcorp.com>
* startup/rtems-ctor.cc: Conditionally disable non-GCC code.
2006-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require automake-1.10. Require autoconf-2.60.

View File

@@ -77,7 +77,9 @@ RTEMS::~RTEMS()
}
extern "C" {
extern void invoke_non_gnu_constructors(void);
#ifndef __GNUC__
extern void invoke_non_gnu_constructors(void);
#endif
int
main(int argc,
@@ -96,7 +98,9 @@ extern "C" {
* run any non-gnu constructors we may need
*/
invoke_non_gnu_constructors();
#ifndef __GNUC__
invoke_non_gnu_constructors();
#endif
/*
* Start multitasking