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.
 
 
 
 
 
 

88 lines
2.7 KiB

Index: config.guess
--- config.guess.orig 2013-10-01 18:50:56.000000000 +0200
+++ config.guess 2014-07-19 12:55:27.700401864 +0200
@@ -207,7 +207,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/i386/sol2.h
--- gcc/config/i386/sol2.h.orig 2014-01-02 23:23:26.000000000 +0100
+++ gcc/config/i386/sol2.h 2014-07-19 12:55:27.700401864 +0200
@@ -99,6 +99,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-bi.h
--- gcc/config/sol2-bi.h.orig 2014-01-02 23:23:26.000000000 +0100
+++ gcc/config/sol2-bi.h 2014-07-19 12:55:27.700401864 +0200
@@ -75,7 +75,7 @@
%{YP,*} \
%{R*} \
%{!YP,*:%{p|pg:-Y P,%R/usr/lib/libp/" ARCH64_SUBDIR ":%R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR "} \
- %{!p:%{!pg:-Y P,%R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR "}}}"
+ %{!p:%{!pg:-Y P,%R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR "}} -rpath-link %R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR "}"
#undef LINK_ARCH64_SPEC
#ifndef USE_GLD
Index: gcc/config/sol2.h
--- gcc/config/sol2.h.orig 2014-07-19 12:55:27.711274000 +0200
+++ gcc/config/sol2.h 2014-07-19 13:13:01.500360435 +0200
@@ -196,9 +196,9 @@
"%{h*} %{v:-V} \
%{!shared:%{!static:%{rdynamic: " RDYNAMIC_SPEC "}}} \
%{static:-dn -Bstatic} \
- %{shared:-G -dy %{!mimpure-text:-z text}} " \
+ %{shared:-G -dy} " \
LINK_LIBGCC_MAPFILE_SPEC LINK_CLEARCAP_SPEC " \
- %{symbolic:-Bsymbolic -G -dy -z text} \
+ %{symbolic:-Bsymbolic -G -dy} \
%(link_arch) \
%{Qy:} %{!Qn:-Qy}"
Index: gcc/system.h
--- gcc/system.h.orig 2014-01-02 23:23:26.000000000 +0100
+++ gcc/system.h 2014-07-19 12:55:27.711274150 +0200
@@ -462,10 +462,6 @@
}
#endif
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
-
#ifdef __cplusplus
extern "C" {
#endif
Index: libcpp/charset.c
--- libcpp/charset.c.orig 2014-01-02 23:24:45.000000000 +0100
+++ libcpp/charset.c 2014-07-19 12:55:27.711274150 +0200
@@ -74,6 +74,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 2014-01-02 23:24:45.000000000 +0100
+++ libcpp/internal.h 2014-07-19 12:55:27.711274150 +0200
@@ -28,6 +28,7 @@
#if HAVE_ICONV
#include <iconv.h>
#else
+#undef HAVE_ICONV
#define HAVE_ICONV 0
typedef int iconv_t; /* dummy */
#endif