init.c (__gnat_install_handler for linux): If we are building the Xenomai run time...
authorJose Ruiz <ruiz@adacore.com>
Tue, 5 Aug 2008 09:27:49 +0000 (11:27 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 5 Aug 2008 09:27:49 +0000 (11:27 +0200)
commit37efd88e58c08ed72d6dc3fa4c2e4eff1ff04b6f
tree81bb965c6ca4189ce06b8011f1ff175bd802e906
parent0df218a9a7fd4756b2ac9f49f27740cf4c92894d
init.c (__gnat_install_handler for linux): If we are building the Xenomai run time then we need to do two additional things...

2008-08-05  Jose Ruiz  <ruiz@adacore.com>

* init.c (__gnat_install_handler for linux): If we are building the
Xenomai run time then we need to do two additional things: avoid
memory swapping and transform the Linux environment task into a native
Xenomai task.

* gcc-interface/Makefile.in (LIBGNAT_TARGET_PAIRS for xenomai run
time): Use interface to Xenomai native skin and avoid linux-specific
way of setting CPU affinity.
(EH_MECHANISM for the xenomai run time): Use sjlj exception mechanism.

From-SVN: r138684
gcc/ada/gcc-interface/Makefile.in
gcc/ada/init.c