summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/gnatinstallhandler.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/shared/gnatinstallhandler.c')
-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 )
+{
+}