From patchwork Sun Aug 1 12:25:24 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [gccgo] s/TARGET_SUPPORTS_SPLIT_STACK/TARGET_CAN_SPLIT_STACK/ Date: Sun, 01 Aug 2010 02:25:24 -0000 From: Ian Taylor X-Patchwork-Id: 60449 Message-Id: To: gcc-patches@gcc.gnu.org, gofrontend-dev@googlegroups.com 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)