This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[gccgo] s/TARGET_SUPPORTS_SPLIT_STACK/TARGET_CAN_SPLIT_STACK/
- From: Ian Lance Taylor <iant at google dot com>
- To: gcc-patches at gcc dot gnu dot org, gofrontend-dev at googlegroups dot com
- Date: Sun, 01 Aug 2010 05:25:24 -0700
- Subject: [gccgo] s/TARGET_SUPPORTS_SPLIT_STACK/TARGET_CAN_SPLIT_STACK/
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
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)