diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2010-03-31 09:03:29 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2010-03-31 09:03:29 +0000 |
commit | f128db92ae25bb3499b98834e21e5b66121f0264 (patch) | |
tree | 6d2203b80ded14c7c7c2d8548878e287d6cbd178 /gcc | |
parent | d8d55ac02edfc9adb80051aeb98f6434f1272927 (diff) | |
download | gcc-f128db92ae25bb3499b98834e21e5b66121f0264.zip gcc-f128db92ae25bb3499b98834e21e5b66121f0264.tar.gz gcc-f128db92ae25bb3499b98834e21e5b66121f0264.tar.bz2 |
re PR target/39048 (gcc 4.4.0 20090131 - Extra underscore hides libgcc's soft-fp functions from Testsuite causing FAILs + naming error in libgcc)
gcc:
PR target/39048
* config.gcc (i[34567]86-*-solaris2*): Add i386/t-fprules-softfp
and soft-fp/t-softfp to tmake_file.
* config/i386/sol2.h (LIBGCC2_HAS_TF_MODE): Redefine.
(LIBGCC2_TF_CEXT): Define.
(TF_SIZE): Define.
libgcc:
PR target/39048
* config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
like other remaining 32-bit x86 OSes.
* config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
assembler syntax.
* config/i386/libgcc-sol2.ver: New file.
* config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
Co-Authored-By: Uros Bizjak <ubizjak@gmail.com>
From-SVN: r157854
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config.gcc | 3 | ||||
-rw-r--r-- | gcc/config/i386/sol2.h | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index e6b2e5f..b0ed012 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -3402,6 +3402,9 @@ case ${target} in i[34567]86-*-linux* | x86_64-*-linux* | i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu) tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp i386/t-linux" ;; + i[34567]86-*-solaris2*) + tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp" + ;; i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw*) tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp" ;; diff --git a/gcc/config/i386/sol2.h b/gcc/config/i386/sol2.h index 70c8a8f..777fc2c 100644 --- a/gcc/config/i386/sol2.h +++ b/gcc/config/i386/sol2.h @@ -165,4 +165,10 @@ along with GCC; see the file COPYING3. If not see #define USE_HIDDEN_LINKONCE 0 #endif +/* Put all *tf routines in libgcc. */ +#undef LIBGCC2_HAS_TF_MODE +#define LIBGCC2_HAS_TF_MODE 1 +#define LIBGCC2_TF_CEXT q +#define TF_SIZE 113 + #define MD_UNWIND_SUPPORT "config/i386/sol2-unwind.h" |