diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-06-24 17:53:16 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-06-24 17:53:16 +0000 |
commit | 455d855260572f21b26be0968147c9e21ff3556b (patch) | |
tree | 01306feafe2f217f6f2cddb32e7f079513a1430d /c/src/lib/libbsp/shared | |
parent | Corrected and fleshed out. (diff) | |
download | rtems-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.c | 17 |
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 ) +{ +} |