aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/init.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel@OARcorp.com>2003-01-29 17:43:57 +0000
committerJoel Sherrill <joel@gcc.gnu.org>2003-01-29 17:43:57 +0000
commitc4039eb00f3e9c46979dd4b027bd6f744f654a81 (patch)
tree023559e3762c5cba547806f0f5a3f5dc0cc36717 /gcc/ada/init.c
parent204c43d6428292fd317ff16f79bbecdc37657dee (diff)
downloadgcc-c4039eb00f3e9c46979dd4b027bd6f744f654a81.zip
gcc-c4039eb00f3e9c46979dd4b027bd6f744f654a81.tar.gz
gcc-c4039eb00f3e9c46979dd4b027bd6f744f654a81.tar.bz2
5rosinte.ads: Add SIGXCPU.
2003-01-29 Joel Sherrill <joel@OARcorp.com> * 5rosinte.ads: Add SIGXCPU. * 5rtpopsp.adb: New file. * Make-lang.in: Do not build gnatpsta and gnatpsys when cross. * Makefile.in: Recognize more RTEMS targets and add the RTEMS specific file 5rtpopsp.adb. * adaint.h: Add include of <stdio.h> when target is RTEMS. This is likely needed for all newlib targets. * init.c: Add RTEMS specific version of __gnat_initialize(). From-SVN: r62098
Diffstat (limited to 'gcc/ada/init.c')
-rw-r--r--gcc/ada/init.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/ada/init.c b/gcc/ada/init.c
index f1d023e..2f3ad1d 100644
--- a/gcc/ada/init.c
+++ b/gcc/ada/init.c
@@ -1635,6 +1635,22 @@ __gnat_initialize ()
#endif
}
+/***************************************/
+/* __gnat_initialize (RTEMS version) */
+/***************************************/
+
+#elif defined(__rtems__)
+
+extern void __gnat_install_handler ();
+
+/* For RTEMS, each bsp will provide a custom __gnat_install_handler (). */
+
+void
+__gnat_initialize ()
+{
+ __gnat_install_handler ();
+}
+
#else
/* For all other versions of GNAT, the initialize routine and handler