crtfastmath.c: Include <signal.h>, <ucontext.h>.
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Wed, 1 Jun 2011 14:49:21 +0000 (14:49 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Wed, 1 Jun 2011 14:49:21 +0000 (14:49 +0000)
commit0699e415bc4e5ecac90580da110ee5fe14b60c38
treed7520fe6e5eedb89d325c57d414d7f0b8c05f189
parenta3fab9c2a9166ec76f38deda7515231b680ddcc5
crtfastmath.c: Include <signal.h>, <ucontext.h>.

gcc:
* config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]:
Include <signal.h>, <ucontext.h>.
(sigill_caught): Define.
(sigill_hdlr): New function.
(set_fast_math) [!__x86_64__ && __sun__ && __svr4__]: Check if SSE
insns can be executed.
* config/sol2.h (ENDFILE_SPEC): Use crtfastmath.o if -ffast-math
etc.
* config/sparc/sol2.h (ENDFILE_SPEC): Remove.

libgcc:
* config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
tmake_file.
Add crtfastmath.o to extra_parts.

From-SVN: r174532
gcc/ChangeLog
gcc/config/i386/crtfastmath.c
gcc/config/sol2.h
gcc/config/sparc/sol2.h
libgcc/ChangeLog
libgcc/config.host