aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2007-01-18 23:43:08 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2007-01-18 18:43:08 -0500
commit7fcc054b8f294b980ae135fc37baf6ff33ca94d4 (patch)
treed2674eb7f5f856f7dc7b7ca1314929dbab4de6ff /gcc
parentf1316f27cc6fb2367801781e87eda77ae8189812 (diff)
downloadgcc-7fcc054b8f294b980ae135fc37baf6ff33ca94d4.zip
gcc-7fcc054b8f294b980ae135fc37baf6ff33ca94d4.tar.gz
gcc-7fcc054b8f294b980ae135fc37baf6ff33ca94d4.tar.bz2
darwin-ldouble.c: Only build _SOFT_FLOAT if configured for long double 128.
* config/rs6000/darwin-ldouble.c: Only build _SOFT_FLOAT if configured for long double 128. From-SVN: r120938
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/darwin-ldouble.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 74ac2a4..99a5870 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-18 David Edelsohn <edelsohn@gnu.org>
+
+ * config/rs6000/darwin-ldouble.c: Only build _SOFT_FLOAT if
+ configured for long double 128.
+
2007-01-18 Mike Stump <mrs@apple.com>
* config/rs6000/rs6000.c (rs6000_emit_vector_compare): Fix build
diff --git a/gcc/config/rs6000/darwin-ldouble.c b/gcc/config/rs6000/darwin-ldouble.c
index 8ac69f2..eaffb34 100644
--- a/gcc/config/rs6000/darwin-ldouble.c
+++ b/gcc/config/rs6000/darwin-ldouble.c
@@ -219,7 +219,7 @@ __gcc_qdiv (double a, double b, double c, double d)
return z.ldval;
}
-#ifdef _SOFT_FLOAT
+#if defined (_SOFT_FLOAT) && defined (__LONG_DOUBLE_128__)
long double __gcc_qneg (double, double);
int __gcc_qeq (double, double, double, double);