You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

108 lines
3.5 KiB

Index: config.guess
--- config.guess.orig 2010-03-23 15:26:40.000000000 +0100
+++ config.guess 2010-08-01 23:35:02.000000000 +0200
@@ -194,7 +194,7 @@
release='-gnu'
;;
*)
- release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+ release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*//'`
;;
esac
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
Index: gcc/config/alpha/osf.h
--- gcc/config/alpha/osf.h.orig 2010-04-28 18:26:24.000000000 +0200
+++ gcc/config/alpha/osf.h 2010-08-01 23:35:02.000000000 +0200
@@ -77,7 +77,7 @@
constructor and call-frame data structures are not accidentally
overridden. */
#define LINK_SPEC \
- "-G 8 %{O*:-O3} %{!O*:-O1} -S %{static:-non_shared} \
+ "-oldstyle_liblookup %{!o:-o a.out} -G 8 %{O*:-O3} %{!O*:-O1} -S %{static:-non_shared} \
%{!static:%{shared:-shared -hidden_symbol _GLOBAL_*} \
%{!shared:-call_shared}} %{pg} %{taso} %{rpath*}"
Index: gcc/config/i386/sol2-10.h
--- gcc/config/i386/sol2-10.h.orig 2010-07-14 10:47:54.000000000 +0200
+++ gcc/config/i386/sol2-10.h 2010-08-01 23:37:46.000000000 +0200
@@ -114,7 +114,7 @@
-R /usr/ucblib/64} \
%{!compat-bsd: \
%{!YP,*:%{p|pg:-Y P,/usr/lib/libp/64:/lib/64:/usr/lib/64} \
- %{!p:%{!pg:-Y P,/lib/64:/usr/lib/64}}}}"
+ %{!p:%{!pg:-Y P,/lib/64:/usr/lib/64}}} -rpath-link /lib/64:/usr/lib/64}"
#undef LINK_ARCH64_SPEC
#define LINK_ARCH64_SPEC LINK_ARCH64_SPEC_BASE
@@ -131,7 +131,7 @@
#endif
#define TARGET_LD_EMULATION "%{m64:-m " X86_64_EMULATION "}" \
- "%{!m64:-m " I386_EMULATION "} "
+ "%{!m64:} "
#else
#define TARGET_LD_EMULATION ""
#endif
Index: gcc/config/i386/sol2.h
--- gcc/config/i386/sol2.h.orig 2010-07-14 10:47:54.000000000 +0200
+++ gcc/config/i386/sol2.h 2010-08-01 23:35:02.000000000 +0200
@@ -76,6 +76,9 @@
#undef ASM_QUAD
#endif
+#undef DEFAULT_PCC_STRUCT_RETURN
+#define DEFAULT_PCC_STRUCT_RETURN 1
+
/* The Solaris assembler wants a .local for non-exported aliases. */
#define ASM_OUTPUT_DEF_FROM_DECLS(FILE, DECL, TARGET) \
do { \
Index: gcc/config/sol2.h
--- gcc/config/sol2.h.orig 2010-04-16 15:33:58.000000000 +0200
+++ gcc/config/sol2.h 2010-08-01 23:35:02.000000000 +0200
@@ -176,8 +176,8 @@
%{b} \
%{!shared:%{!static:%{rdynamic: " RDYNAMIC_SPEC "}}} \
%{static:-dn -Bstatic} \
- %{shared:-G -dy %{!mimpure-text:-z text}} \
- %{symbolic:-Bsymbolic -G -dy -z text} \
+ %{shared:-G -dy} \
+ %{symbolic:-Bsymbolic -G -dy} \
%(link_arch) \
%{Qy:} %{!Qn:-Qy}"
Index: gcc/system.h
--- gcc/system.h.orig 2009-12-14 00:00:53.000000000 +0100
+++ gcc/system.h 2010-08-01 23:35:02.000000000 +0200
@@ -398,10 +398,6 @@
extern char *strstr (const char *, const char *);
#endif
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
-
#if defined (HAVE_DECL_MALLOC) && !HAVE_DECL_MALLOC
extern void *malloc (size_t);
#endif
Index: libcpp/charset.c
--- libcpp/charset.c.orig 2010-03-29 22:07:29.000000000 +0200
+++ libcpp/charset.c 2010-08-01 23:35:02.000000000 +0200
@@ -75,6 +75,7 @@
#define iconv_open(x, y) (errno = EINVAL, (iconv_t)-1)
#define iconv(a,b,c,d,e) (errno = EINVAL, (size_t)-1)
#define iconv_close(x) (void)0
+#undef ICONV_CONST
#define ICONV_CONST
#endif
Index: libcpp/internal.h
--- libcpp/internal.h.orig 2010-03-29 22:07:29.000000000 +0200
+++ libcpp/internal.h 2010-08-01 23:35:02.000000000 +0200
@@ -29,6 +29,7 @@
#if HAVE_ICONV
#include <iconv.h>
#else
+#undef HAVE_ICONV
#define HAVE_ICONV 0
typedef int iconv_t; /* dummy */
#endif