gcc35.patch 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. --- config.guess.orig Thu Jan 30 23:32:36 2003
  2. +++ config.guess Wed Feb 5 09:54:43 2003
  3. @@ -188,7 +188,7 @@
  4. release='-gnu'
  5. ;;
  6. *)
  7. - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
  8. + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*//'`
  9. ;;
  10. esac
  11. # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
  12. --- gcc/config/i386/sol2.h.dist Thu Feb 27 15:00:54 2003
  13. +++ gcc/config/i386/sol2.h Thu Feb 27 14:20:50 2003
  14. @@ -160,3 +160,5 @@
  15. /* The Solaris assembler does not support .quad. Do not use it. */
  16. #undef ASM_QUAD
  17. +#undef DEFAULT_PCC_STRUCT_RETURN
  18. +#define DEFAULT_PCC_STRUCT_RETURN 1
  19. --- gcc/system.h.orig 2003-08-23 20:03:05.000000000 +0200
  20. +++ gcc/system.h 2003-09-03 20:02:11.000000000 +0200
  21. @@ -314,10 +314,6 @@
  22. extern char *strstr (const char *, const char *);
  23. #endif
  24. -#ifdef HAVE_MALLOC_H
  25. -#include <malloc.h>
  26. -#endif
  27. -
  28. #if defined (HAVE_DECL_MALLOC) && !HAVE_DECL_MALLOC
  29. extern void *malloc (size_t);
  30. #endif
  31. --- gcc/version.c.orig 2003-08-04 14:50:23.000000000 +0200
  32. +++ gcc/version.c 2003-09-27 15:01:39.000000000 +0200
  33. @@ -6,7 +6,7 @@
  34. please modify this string to indicate that, e.g. by putting your
  35. organization's name in parentheses at the end of the string. */
  36. -const char version_string[] = "3.5.0 20040327 (experimental)";
  37. +const char version_string[] = "3.5.0 20040327 (experimental) (@l_openpkg_release@)";
  38. /* This is the location of the online document giving instructions for
  39. reporting bugs. If you distribute a modified version of GCC,
  40. @@ -15,4 +15,4 @@
  41. forward us bugs reported to you, if you determine that they are
  42. not bugs in your modifications.) */
  43. -const char bug_report_url[] = "<URL:http://gcc.gnu.org/bugs.html>";
  44. +const char bug_report_url[] = "<URL:http://www.openpkg.org/>";
  45. Index: gcc/config/alpha/osf.h
  46. --- gcc/config/alpha/osf.h.orig 2003-12-12 02:19:23.000000000 +0100
  47. +++ gcc/config/alpha/osf.h 2004-04-26 21:25:14.000000000 +0200
  48. @@ -79,7 +79,7 @@
  49. constructor and call-frame data structures are not accidentally
  50. overridden. */
  51. #define LINK_SPEC \
  52. - "-G 8 %{O*:-O3} %{!O*:-O1} -S %{static:-non_shared} \
  53. + "-oldstyle_liblookup %{!o:-o a.out} -G 8 %{O*:-O3} %{!O*:-O1} -S %{static:-non_shared} \
  54. %{!static:%{shared:-shared -hidden_symbol _GLOBAL_*} \
  55. %{!shared:-call_shared}} %{pg} %{taso} %{rpath*}"