From 7fcc054b8f294b980ae135fc37baf6ff33ca94d4 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Thu, 18 Jan 2007 23:43:08 +0000 Subject: 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 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/darwin-ldouble.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'gcc') 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 + + * config/rs6000/darwin-ldouble.c: Only build _SOFT_FLOAT if + configured for long double 128. + 2007-01-18 Mike Stump * 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); -- cgit v1.1