[toolchain/gcc]: both coldfire and etrax are broken and should use a newer gcc when...
[openwrt.git] / toolchain / gcc / patches / llvm / 920-soft-float.patch
1 http://bugs.uclibc.org/view.php?id=1588
2
3 --- a/gcc/config/rs6000/darwin-ldouble.c
4 +++ b/gcc/config/rs6000/darwin-ldouble.c
5 @@ -70,6 +70,8 @@ Software Foundation, 51 Franklin Street,
6 but GCC currently generates poor code when a union is used to turn
7 a long double into a pair of doubles. */
8
9 +#if defined (_SOFT_FLOAT) && defined (__LONG_DOUBLE_128__)
10 +
11 long double __gcc_qadd (double, double, double, double);
12 long double __gcc_qsub (double, double, double, double);
13 long double __gcc_qmul (double, double, double, double);
14 @@ -219,8 +221,6 @@ __gcc_qdiv (double a, double b, double c
15 return z.ldval;
16 }
17
18 -#if defined (_SOFT_FLOAT) && defined (__LONG_DOUBLE_128__)
19 -
20 long double __gcc_qneg (double, double);
21 int __gcc_qeq (double, double, double, double);
22 int __gcc_qne (double, double, double, double);
This page took 0.048473 seconds and 5 git commands to generate.