[gccgo] Check TARGET_CAN_SPLIT_STACK

Submitted by Ian Taylor on Aug. 1, 2010, 12:28 p.m.

Details

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

Commit Message

Ian Taylor Aug. 1, 2010, 12:28 p.m.
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

Patch hide | download patch | download mbox

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