init.c: Reuse PA/HP-UX code for IA-64/HP-UX, except __gnat_adjust_context_for_raise.
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 6 Apr 2007 09:23:33 +0000 (11:23 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 6 Apr 2007 09:23:33 +0000 (11:23 +0200)
commit00f74faf0ab88647128d8b8a94a5da867f0cf5a6
tree91cfffa5e82f0d1408efd2607f733ba3a49f91eb
parent815f44d0cd91db97ee2793bcdf007f498f78f8aa
init.c: Reuse PA/HP-UX code for IA-64/HP-UX, except __gnat_adjust_context_for_raise.

2007-04-06  Eric Botcazou <botcazou@adacore.com>
    Arnaud Charlet  <charlet@adacore.com>

* init.c: Reuse PA/HP-UX code for IA-64/HP-UX, except
__gnat_adjust_context_for_raise.
(__gnat_init_float): on x86 vxworks 5.x and 6.x, we use the same
implementation of floating point operations as native x86 targets.
So the FPU should be initialized in the same way using finit. Fix
floating point operations accuracy issues.
(__gnat_install_handler, case FreeBSD): Use proper type for sa_sigaction
member in struct sigaction, so as to avoid warning for incompatible
pointer types.

From-SVN: r123580
gcc/ada/init.c