Patch from Rosimildo DaSilva <rdasilva@connecttel.com> to make C++

exceptions work on the pc386 BSP with i386-elf.  This patch also
included changes to the i386-rtemself egcs configuration.
This commit is contained in:
Joel Sherrill
1999-06-15 22:01:04 +00:00
parent 1b67be7133
commit 8e0dcadec5
4 changed files with 23 additions and 3 deletions

View File

@@ -28,6 +28,11 @@ extern rtems_configuration_table Configuration;
extern rtems_configuration_table BSP_Configuration;
extern rtems_cpu_table Cpu_table;
#if defined(USE_INIT_FINI)
extern void _fini( void );
extern void _init( void );
#endif
rtems_interrupt_level bsp_isr_level;
/*
@@ -82,6 +87,11 @@ int boot_card(int argc, char **argv)
* are any.
*/
#if defined(USE_INIT_FINI)
atexit( _fini );
_init();
#endif
status = main(argc, argv);
/*