aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorJohn Carr <jfc@mit.edu>1998-06-07 14:15:53 +0000
committerRichard Henderson <rth@gcc.gnu.org>1998-06-07 07:15:53 -0700
commitcb9e12a74626eba48b76207fde9c19e67b229cac (patch)
tree89fdbf5b3f0b03311aa7e623bc13a1b8a54a43d6 /gcc/config
parentf84639ba68e8a1dce0cba123fea45786b7deda72 (diff)
downloadgcc-cb9e12a74626eba48b76207fde9c19e67b229cac.zip
gcc-cb9e12a74626eba48b76207fde9c19e67b229cac.tar.gz
gcc-cb9e12a74626eba48b76207fde9c19e67b229cac.tar.bz2
sol2.h (INIT_SUBTARGET_OPTABS): Use Solaris libc float/long long conversion functions.
Sun Jun 7 14:15:45 1998 John Carr <jfc@mit.edu> * sol2.h (INIT_SUBTARGET_OPTABS): Use Solaris libc float/long long conversion functions. From-SVN: r20277
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/sparc/sol2.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h
index 2c8c5f3..1cb0a6b 100644
--- a/gcc/config/sparc/sol2.h
+++ b/gcc/config/sparc/sol2.h
@@ -193,6 +193,13 @@ Boston, MA 02111-1307, USA. */
#define MODDI3_LIBCALL "__rem64"
#define UMODDI3_LIBCALL "__urem64"
+#undef INIT_SUBTARGET_OPTABS
+#define INIT_SUBTARGET_OPTABS \
+ fixsfdi_libfunc = gen_rtx_SYMBOL_REF (Pmode, "__ftoll"); \
+ fixunssfdi_libfunc = gen_rtx_SYMBOL_REF (Pmode, "__ftoull"); \
+ fixdfdi_libfunc = gen_rtx_SYMBOL_REF (Pmode, "__dtoll"); \
+ fixunsdfdi_libfunc = gen_rtx_SYMBOL_REF (Pmode, "__dtoull")
+
/* No weird SPARC variants on Solaris */
#undef TARGET_LIVE_G0
#define TARGET_LIVE_G0 0