diff mbox

[gccgo] Check TARGET_CAN_SPLIT_STACK

Message ID mcrvd7ujz3p.fsf@google.com
State New
Headers show

Commit Message

Ian Lance Taylor Aug. 1, 2010, 12:28 p.m. UTC
This fixes the gccgo frontend to check TARGET_CAN_SPLIT_STACK rather
than TARGET_SUPPORTS_SPLIT_STACK, since the latter is always defined.
Committed to gccgo branch.

Ian
diff mbox

Patch

diff -r af76b9432c9e go/gospec.c
--- a/go/gospec.c	Sun Aug 01 03:23:56 2010 -0700
+++ b/go/gospec.c	Sun Aug 01 05:26:29 2010 -0700
@@ -226,7 +226,7 @@ 
   arglist[j++] = "-combine";
 
   /* If we are linking, pass -fsplit-stack if it is supported.  */
-#ifdef TARGET_SUPPORTS_SPLIT_STACK
+#ifdef TARGET_CAN_SPLIT_STACK
   if (library >= 0)
     arglist[j++] = "-fsplit-stack";
 #endif