From 455d855260572f21b26be0968147c9e21ff3556b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 24 Jun 1999 17:53:16 +0000 Subject: Added dummy gnatinstallhandler code for all BSPs. This lets Ada programs link even if they do not actually support Ada interrupts. --- c/src/lib/libbsp/shared/gnatinstallhandler.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 c/src/lib/libbsp/shared/gnatinstallhandler.c (limited to 'c/src/lib/libbsp/shared') 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 ) +{ +} -- cgit v1.2.3