gcc42.patch 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. Index: config.guess
  2. --- config.guess.orig 2004-11-16 01:57:00 +0100
  3. +++ config.guess 2005-09-20 15:29:05 +0200
  4. @@ -189,7 +189,7 @@
  5. release='-gnu'
  6. ;;
  7. *)
  8. - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
  9. + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*//'`
  10. ;;
  11. esac
  12. # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
  13. Index: gcc/config/alpha/osf.h
  14. --- gcc/config/alpha/osf.h.orig 2003-12-12 02:19:23.000000000 +0100
  15. +++ gcc/config/alpha/osf.h 2004-04-26 21:25:14.000000000 +0200
  16. @@ -78,7 +78,7 @@
  17. constructor and call-frame data structures are not accidentally
  18. overridden. */
  19. #define LINK_SPEC \
  20. - "-G 8 %{O*:-O3} %{!O*:-O1} -S %{static:-non_shared} \
  21. + "-oldstyle_liblookup %{!o:-o a.out} -G 8 %{O*:-O3} %{!O*:-O1} -S %{static:-non_shared} \
  22. %{!static:%{shared:-shared -hidden_symbol _GLOBAL_*} \
  23. %{!shared:-call_shared}} %{pg} %{taso} %{rpath*}"
  24. Index: gcc/config/i386/sol2.h
  25. --- gcc/config/i386/sol2.h.orig 2004-06-14 19:31:27 +0200
  26. +++ gcc/config/i386/sol2.h 2004-06-21 09:53:21 +0200
  27. @@ -78,6 +78,9 @@
  28. #undef ASM_QUAD
  29. #endif
  30. +#undef DEFAULT_PCC_STRUCT_RETURN
  31. +#define DEFAULT_PCC_STRUCT_RETURN 1
  32. +
  33. /* The Solaris assembler wants a .local for non-exported aliases. */
  34. #define ASM_OUTPUT_DEF_FROM_DECLS(FILE, DECL, TARGET) \
  35. do { \
  36. Index: gcc/config/sol2.h
  37. --- gcc/config/sol2.h.orig 2004-07-17 23:18:56 +0200
  38. +++ gcc/config/sol2.h 2005-09-19 22:01:15 +0200
  39. @@ -144,8 +144,8 @@
  40. "%{h*} %{v:-V} \
  41. %{b} %{Wl,*:%*} \
  42. %{static:-dn -Bstatic} \
  43. - %{shared:-G -dy %{!mimpure-text:-z text}} \
  44. - %{symbolic:-Bsymbolic -G -dy -z text} \
  45. + %{shared:-G -dy} \
  46. + %{symbolic:-Bsymbolic -G -dy} \
  47. %(link_arch) \
  48. %{Qy:} %{!Qn:-Qy}"
  49. Index: gcc/system.h
  50. --- gcc/system.h.orig 2003-08-23 20:03:05.000000000 +0200
  51. +++ gcc/system.h 2003-09-03 20:02:11.000000000 +0200
  52. @@ -319,10 +319,6 @@
  53. extern char *strstr (const char *, const char *);
  54. #endif
  55. -#ifdef HAVE_MALLOC_H
  56. -#include <malloc.h>
  57. -#endif
  58. -
  59. #if defined (HAVE_DECL_MALLOC) && !HAVE_DECL_MALLOC
  60. extern void *malloc (size_t);
  61. #endif
  62. Index: libcpp/internal.h
  63. --- libcpp/internal.h.orig 2004-09-09 21:16:55 +0200
  64. +++ libcpp/internal.h 2004-09-27 20:04:43 +0200
  65. @@ -33,6 +33,7 @@
  66. #if HAVE_ICONV
  67. #include <iconv.h>
  68. #else
  69. +#undef HAVE_ICONV
  70. #define HAVE_ICONV 0
  71. typedef int iconv_t; /* dummy */
  72. #endif
  73. Index: libcpp/charset.c
  74. --- libcpp/charset.c.orig 2005-11-04 00:08:18 +0100
  75. +++ libcpp/charset.c 2006-02-01 19:59:53 +0100
  76. @@ -75,6 +75,7 @@
  77. #define iconv_open(x, y) (errno = EINVAL, (iconv_t)-1)
  78. #define iconv(a,b,c,d,e) (errno = EINVAL, (size_t)-1)
  79. #define iconv_close(x) (void)0
  80. +#undef ICONV_CONST
  81. #define ICONV_CONST
  82. #endif