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.
 
 
 
 
 
 

50 lines
1.6 KiB

Index: gcc/config/i386/sol2.h
--- gcc/config/i386/sol2.h.orig 2018-06-22 08:22:14.000000000 +0200
+++ gcc/config/i386/sol2.h 2018-07-26 23:11:39.663366000 +0200
@@ -141,6 +141,9 @@
} while (0)
#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 2018-01-30 22:18:40.000000000 +0100
+++ gcc/config/sol2.h 2018-07-26 23:11:39.663567000 +0200
@@ -385,9 +385,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: libcpp/charset.c
--- libcpp/charset.c.orig 2018-01-03 11:03:58.000000000 +0100
+++ libcpp/charset.c 2018-07-26 23:11:39.663908000 +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 2018-01-03 11:03:58.000000000 +0100
+++ libcpp/internal.h 2018-07-26 23:11:39.664103000 +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