- don't define ENABLE_EXECUTE_STACK, just like mips64's gcc from base.
this doesn't unbreak gfortran on mips64* yet, but at least it's getting a bit further now
This commit is contained in:
parent
f5f6fccb4f
commit
c4f55927e7
@ -1,7 +1,7 @@
|
|||||||
$OpenBSD: patch-gcc_config_mips_openbsd_h,v 1.1.1.1 2010/10/10 17:39:06 steven Exp $
|
$OpenBSD: patch-gcc_config_mips_openbsd_h,v 1.2 2012/12/17 15:04:58 jasper Exp $
|
||||||
--- gcc/config/mips/openbsd.h.orig Sat Aug 6 15:26:35 2005
|
--- gcc/config/mips/openbsd.h.orig Sat Aug 6 07:26:35 2005
|
||||||
+++ gcc/config/mips/openbsd.h Mon Jun 14 19:23:04 2010
|
+++ gcc/config/mips/openbsd.h Mon Dec 17 00:48:37 2012
|
||||||
@@ -58,16 +58,19 @@ Boston, MA 02110-1301, USA. */
|
@@ -58,10 +58,10 @@ Boston, MA 02110-1301, USA. */
|
||||||
|
|
||||||
/* This must agree with <machine/ansi.h>. */
|
/* This must agree with <machine/ansi.h>. */
|
||||||
#undef SIZE_TYPE
|
#undef SIZE_TYPE
|
||||||
@ -14,12 +14,19 @@ $OpenBSD: patch-gcc_config_mips_openbsd_h,v 1.1.1.1 2010/10/10 17:39:06 steven E
|
|||||||
|
|
||||||
#undef WCHAR_TYPE
|
#undef WCHAR_TYPE
|
||||||
#define WCHAR_TYPE "int"
|
#define WCHAR_TYPE "int"
|
||||||
|
@@ -69,6 +69,9 @@ Boston, MA 02110-1301, USA. */
|
||||||
#undef WCHAR_TYPE_SIZE
|
#undef WCHAR_TYPE_SIZE
|
||||||
#define WCHAR_TYPE_SIZE 32
|
#define WCHAR_TYPE_SIZE 32
|
||||||
+
|
|
||||||
+#undef WINT_TYPE
|
+#undef WINT_TYPE
|
||||||
+#define WINT_TYPE "int"
|
+#define WINT_TYPE "int"
|
||||||
|
+
|
||||||
/* Controlling the compilation driver. */
|
/* Controlling the compilation driver. */
|
||||||
|
|
||||||
|
/* LINK_SPEC appropriate for OpenBSD: support for GCC options
|
||||||
|
@@ -96,3 +99,5 @@ Boston, MA 02110-1301, USA. */
|
||||||
|
/* Switch into a generic section. */
|
||||||
|
#undef TARGET_ASM_NAMED_SECTION
|
||||||
|
#define TARGET_ASM_NAMED_SECTION default_elf_asm_named_section
|
||||||
|
+
|
||||||
|
+#undef ENABLE_EXECUTE_STACK
|
||||||
|
Loading…
Reference in New Issue
Block a user