aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2011-06-01 14:49:21 +0000
committerRainer Orth <ro@gcc.gnu.org>2011-06-01 14:49:21 +0000
commit0699e415bc4e5ecac90580da110ee5fe14b60c38 (patch)
treed7520fe6e5eedb89d325c57d414d7f0b8c05f189 /libgcc
parenta3fab9c2a9166ec76f38deda7515231b680ddcc5 (diff)
downloadgcc-0699e415bc4e5ecac90580da110ee5fe14b60c38.zip
gcc-0699e415bc4e5ecac90580da110ee5fe14b60c38.tar.gz
gcc-0699e415bc4e5ecac90580da110ee5fe14b60c38.tar.bz2
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
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog6
-rw-r--r--libgcc/config.host2
2 files changed, 8 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 7aa3904..d4d87a5 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,5 +1,11 @@
2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+ * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
+ tmake_file.
+ Add crtfastmath.o to extra_parts.
+
+2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
* config/gmon-sol2.c: Reindent.
Cleanup comments.
Remove, correct casts.
diff --git a/libgcc/config.host b/libgcc/config.host
index 8b1113b..f064952 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -338,6 +338,8 @@ i[34567]86-*-rtems*)
tmake_file="${tmake_file} t-crtin i386/t-softfp i386/t-crtstuff t-rtems"
;;
i[34567]86-*-solaris2*)
+ tmake_file="$tmake_file i386/t-crtfm"
+ extra_parts="$extra_parts crtfastmath.o"
;;
i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae)
;;