aboutsummaryrefslogtreecommitdiff
path: root/gcc/libgcc2.c
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2007-06-15 09:01:31 +0200
committerUros Bizjak <uros@gcc.gnu.org>2007-06-15 09:01:31 +0200
commit3353afbec791e182c28d9dc6e5a9f2b16f09255b (patch)
tree8edb3de675b231d55a819e39733fb9b3b9a0e8fc /gcc/libgcc2.c
parent203927fc06340697cc2a06cf5f42dff85ed24c49 (diff)
downloadgcc-3353afbec791e182c28d9dc6e5a9f2b16f09255b.zip
gcc-3353afbec791e182c28d9dc6e5a9f2b16f09255b.tar.gz
gcc-3353afbec791e182c28d9dc6e5a9f2b16f09255b.tar.bz2
libgcc2.c (CEXT): When compiling L_multc3 and L_divtc3...
* libgcc2.c (CEXT): When compiling L_multc3 and L_divtc3, define to "l" if LIBGCC_LONG_DOUBLE_SIZE == 128, otherwise define to LIBGCC2_TF_CEXT. * config/i386/linux64.h (LIBGCC2_HAS_TF_MODE): New define. (LIBGCC_TF_CEXT): Ditto. (TF_SIZE): Ditto. From-SVN: r125737
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r--gcc/libgcc2.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c
index a026fff..dd26a6e 100644
--- a/gcc/libgcc2.c
+++ b/gcc/libgcc2.c
@@ -1,7 +1,7 @@
/* More subroutines needed by GCC output code on some machines. */
/* Compile this one with gcc. */
/* Copyright (C) 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+ 2000, 2001, 2002, 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
This file is part of GCC.
@@ -1780,7 +1780,11 @@ NAME (TYPE x, int m)
# define MTYPE TFtype
# define CTYPE TCtype
# define MODE tc
-# define CEXT l
+# if LIBGCC2_LONG_DOUBLE_TYPE_SIZE == 128
+# define CEXT l
+# else
+# define CEXT LIBGCC2_TF_CEXT
+# endif
# define NOTRUNC 1
#else
# error