forked from Imagelibrary/rtems
Added dummy gnatinstallhandler code for all BSPs. This lets Ada programs
link even if they do not actually support Ada interrupts.
This commit is contained in:
17
c/src/lib/libbsp/shared/gnatinstallhandler.c
Normal file
17
c/src/lib/libbsp/shared/gnatinstallhandler.c
Normal file
@@ -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 )
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user