gcc35.patch 2.3 KB

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