gcc35.patch 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --- config.guess.orig Thu Jan 30 23:32:36 2003
  2. +++ config.guess Wed Feb 5 09:54:43 2003
  3. @@ -189,7 +189,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. @@ -65,3 +65,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. @@ -315,10 +315,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. Index: gcc/config/alpha/osf.h
  32. --- gcc/config/alpha/osf.h.orig 2003-12-12 02:19:23.000000000 +0100
  33. +++ gcc/config/alpha/osf.h 2004-04-26 21:25:14.000000000 +0200
  34. @@ -79,7 +79,7 @@
  35. constructor and call-frame data structures are not accidentally
  36. overridden. */
  37. #define LINK_SPEC \
  38. - "-G 8 %{O*:-O3} %{!O*:-O1} -S %{static:-non_shared} \
  39. + "-oldstyle_liblookup %{!o:-o a.out} -G 8 %{O*:-O3} %{!O*:-O1} -S %{static:-non_shared} \
  40. %{!static:%{shared:-shared -hidden_symbol _GLOBAL_*} \
  41. %{!shared:-call_shared}} %{pg} %{taso} %{rpath*}"