diff mbox

[gccgo] s/TARGET_SUPPORTS_SPLIT_STACK/TARGET_CAN_SPLIT_STACK/

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

Commit Message

Ian Lance Taylor Aug. 1, 2010, 12:25 p.m. UTC
I managed to not notice that TARGET_SUPPORTS_SPLIT_STACK is already
defined, in target-def.h.  This changes the i386 backend to define
TARGET_CAN_SPLIT_STACK instead.  Committed to gccgo branch.

Ian
diff mbox

Patch

Index: gcc/config/i386/linux.h
===================================================================
--- gcc/config/i386/linux.h	(revision 162465)
+++ gcc/config/i386/linux.h	(working copy)
@@ -219,5 +219,5 @@  along with GCC; see the file COPYING3.  
 #endif
 
 /* We steal the last transactional memory word.  */
-#define TARGET_SUPPORTS_SPLIT_STACK
+#define TARGET_CAN_SPLIT_STACK
 #define TARGET_THREAD_SPLIT_STACK_OFFSET 0x30
Index: gcc/config/i386/linux64.h
===================================================================
--- gcc/config/i386/linux64.h	(revision 162465)
+++ gcc/config/i386/linux64.h	(working copy)
@@ -123,5 +123,5 @@  see the files COPYING3 and COPYING.RUNTI
 #endif
 
 /* We steal the last transactional memory word.  */
-#define TARGET_SUPPORTS_SPLIT_STACK
+#define TARGET_CAN_SPLIT_STACK
 #define TARGET_THREAD_SPLIT_STACK_OFFSET (TARGET_64BIT ? 0x70 : 0x30)