diff mbox

[Darwin] Enable target stack checking for Darwin >= 9.

Message ID DA7DD513-FF6A-46D0-BB42-BE1DCE78D86B@sandoe-acoustics.co.uk
State New
Headers show

Commit Message

Iain Sandoe Sept. 25, 2011, 11:01 a.m. UTC
Following Eric's fix to the stack-check output for rs6000/Darwin, I  
think we can enable this function for the port.

bootstrapped/tested (including Java, Ada), on *-darwin9, x86-64- 
darwin10.

OK for trunk?
Iain

gcc:

	* config/darwin9.h (STACK_CHECK_STATIC_BUILTIN): Enable for
	Darwin >= 9.

Comments

Mike Stump Sept. 26, 2011, 6:02 p.m. UTC | #1
On Sep 25, 2011, at 4:01 AM, Iain Sandoe wrote:
> Following Eric's fix to the stack-check output for rs6000/Darwin, I think we can enable this function for the port.
> 
> bootstrapped/tested (including Java, Ada), on *-darwin9, x86-64-darwin10.
> 
> OK for trunk?

Ok.
diff mbox

Patch

Index: gcc/config/darwin9.h
===================================================================
--- gcc/config/darwin9.h	(revision 179154)
+++ gcc/config/darwin9.h	(working copy)
@@ -55,3 +55,6 @@  along with GCC; see the file COPYING3.  If not see
  #undef DEF_MIN_OSX_VERSION
  #define DEF_MIN_OSX_VERSION "10.5"

+#undef STACK_CHECK_STATIC_BUILTIN
+#define STACK_CHECK_STATIC_BUILTIN 1
+