From patchwork Sun Aug 1 12:25:24 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Lance Taylor X-Patchwork-Id: 60449 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id E06D7B70AF for ; Sun, 1 Aug 2010 22:25:42 +1000 (EST) Received: (qmail 23075 invoked by alias); 1 Aug 2010 12:25:39 -0000 Received: (qmail 23028 invoked by uid 22791); 1 Aug 2010 12:25:39 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_HELO_PASS, TW_CC, T_RP_MATCHES_RCVD, T_TVD_MIME_NO_HEADERS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (74.125.121.35) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 01 Aug 2010 12:25:32 +0000 Received: from wpaz5.hot.corp.google.com (wpaz5.hot.corp.google.com [172.24.198.69]) by smtp-out.google.com with ESMTP id o71CPTN3030789 for ; Sun, 1 Aug 2010 05:25:30 -0700 Received: from eye27 (eye27.prod.google.com [10.208.5.27]) by wpaz5.hot.corp.google.com with ESMTP id o71CPSOV028851 for ; Sun, 1 Aug 2010 05:25:28 -0700 Received: by eye27 with SMTP id 27so1209659eye.10 for ; Sun, 01 Aug 2010 05:25:27 -0700 (PDT) Received: by 10.213.28.5 with SMTP id k5mr2906050ebc.40.1280665527792; Sun, 01 Aug 2010 05:25:27 -0700 (PDT) Received: from coign.google.com (dhcp-172-28-249-170.lul.corp.google.com [172.28.249.170]) by mx.google.com with ESMTPS id z55sm6886894eeh.9.2010.08.01.05.25.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 01 Aug 2010 05:25:26 -0700 (PDT) From: Ian Lance Taylor To: gcc-patches@gcc.gnu.org, gofrontend-dev@googlegroups.com Subject: [gccgo] s/TARGET_SUPPORTS_SPLIT_STACK/TARGET_CAN_SPLIT_STACK/ Date: Sun, 01 Aug 2010 05:25:24 -0700 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org 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)