gcc.patch 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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: sol2-10.h
  50. --- gcc/config/i386/sol2-10.h.orig 2004-11-24 15:43:26.000000000 +0100
  51. +++ gcc/config/i386/sol2-10.h 2005-09-26 20:26:59.419760000 +0200
  52. @@ -80,7 +80,7 @@
  53. #define LINK_ARCH64_SPEC LINK_ARCH64_SPEC_BASE
  54. #ifdef TARGET_GNU_LD
  55. -#define TARGET_LD_EMULATION "%{m64:-m elf_x86_64}%{!m64:-m elf_i386} "
  56. +#define TARGET_LD_EMULATION "%{m64:-m elf_x86_64}%{!m64:} "
  57. #else
  58. #define TARGET_LD_EMULATION ""
  59. #endif
  60. Index: gcc/system.h
  61. --- gcc/system.h.orig 2003-08-23 20:03:05.000000000 +0200
  62. +++ gcc/system.h 2003-09-03 20:02:11.000000000 +0200
  63. @@ -319,10 +319,6 @@
  64. extern char *strstr (const char *, const char *);
  65. #endif
  66. -#ifdef HAVE_MALLOC_H
  67. -#include <malloc.h>
  68. -#endif
  69. -
  70. #if defined (HAVE_DECL_MALLOC) && !HAVE_DECL_MALLOC
  71. extern void *malloc (size_t);
  72. #endif
  73. Index: libcpp/internal.h
  74. --- libcpp/internal.h.orig 2004-09-09 21:16:55 +0200
  75. +++ libcpp/internal.h 2004-09-27 20:04:43 +0200
  76. @@ -33,6 +33,7 @@
  77. #if HAVE_ICONV
  78. #include <iconv.h>
  79. #else
  80. +#undef HAVE_ICONV
  81. #define HAVE_ICONV 0
  82. typedef int iconv_t; /* dummy */
  83. #endif
  84. Index: gcc/tree-object-size.c
  85. --- gcc/tree-object-size.c.orig 2005-07-03 18:11:42 +0200
  86. +++ gcc/tree-object-size.c 2006-05-28 13:12:44 +0200
  87. @@ -595,7 +595,7 @@
  88. {
  89. unsigned HOST_WIDE_INT off = tree_low_cst (op1, 1);
  90. - bytes = compute_builtin_object_size (value, object_size_type);
  91. + bytes = compute_builtin_object_size (op0, object_size_type);
  92. if (off > offset_limit)
  93. bytes = unknown[object_size_type];
  94. else if (off > bytes)