OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.6 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../uclibc/pkg_patch/gcc/920-soft-float.patch
  5. # Copyright (C) 2009 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. diff -uNpr gcc-4.2.1_orig/gcc/config/rs6000/darwin-ldouble.c gcc-4.2.1/gcc/config/rs6000/darwin-ldouble.c
  17. --- gcc-4.2.1_orig/gcc/config/rs6000/darwin-ldouble.c 2007-03-05 11:54:00.000000000 -0500
  18. +++ gcc-4.2.1/gcc/config/rs6000/darwin-ldouble.c 2008-01-31 17:51:24.000000000 -0500
  19. @@ -70,6 +70,8 @@ Software Foundation, 51 Franklin Street,
  20. but GCC currently generates poor code when a union is used to turn
  21. a long double into a pair of doubles. */
  22. +#if defined (_SOFT_FLOAT) && defined (__LONG_DOUBLE_128__)
  23. +
  24. long double __gcc_qadd (double, double, double, double);
  25. long double __gcc_qsub (double, double, double, double);
  26. long double __gcc_qmul (double, double, double, double);
  27. @@ -219,8 +221,6 @@ __gcc_qdiv (double a, double b, double c
  28. return z.ldval;
  29. }
  30. -#if defined (_SOFT_FLOAT) && defined (__LONG_DOUBLE_128__)
  31. -
  32. long double __gcc_qneg (double, double);
  33. int __gcc_qeq (double, double, double, double);
  34. int __gcc_qne (double, double, double, double);