summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-06-24 17:53:16 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-06-24 17:53:16 +0000
commit455d855260572f21b26be0968147c9e21ff3556b (patch)
tree01306feafe2f217f6f2cddb32e7f079513a1430d /c/src/lib/libbsp/shared
parentCorrected and fleshed out. (diff)
downloadrtems-455d855260572f21b26be0968147c9e21ff3556b.tar.bz2
Added dummy gnatinstallhandler code for all BSPs. This lets Ada programs
link even if they do not actually support Ada interrupts.
Diffstat (limited to 'c/src/lib/libbsp/shared')
-rw-r--r--c/src/lib/libbsp/shared/gnatinstallhandler.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/shared/gnatinstallhandler.c b/c/src/lib/libbsp/shared/gnatinstallhandler.c
new file mode 100644
index 0000000000..64ce384625
--- /dev/null
+++ b/c/src/lib/libbsp/shared/gnatinstallhandler.c
@@ -0,0 +1,17 @@
+/*
+ * Default implementation of __gnat_install_handler to satisfy
+ * reference in a-init.c in GNAT's run-time. Each BSP really
+ * should provide its own version of this routine but this
+ * version lets programs link.
+ *
+ * This routine is responsible for installing fault/exception/trap
+ * handlers that map them onto POSIX signals so they can be
+ * propagated to the GNAT run-time. See the sparc/erc32 BSP
+ * for an example.
+ *
+ * $Id$
+ */
+
+void __gnat_install_handler( void )
+{
+}