From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 114565 invoked by alias); 11 Oct 2015 18:29:40 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 114545 invoked by uid 89); 11 Oct 2015 18:29:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail-ob0-f176.google.com Received: from mail-ob0-f176.google.com (HELO mail-ob0-f176.google.com) (209.85.214.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sun, 11 Oct 2015 18:29:38 +0000 Received: by obbda8 with SMTP id da8so94260144obb.1 for ; Sun, 11 Oct 2015 11:29:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=+h4E5Uh6dpnFxOECMT9hBcnlsGOO193AdoIBZdBc+1M=; b=U5QS6bCHdg5AyfPNe3tL7FtqpS9h/7sLCdqNNEYLkAY6Ynv9pPgnnc6TJavAowqy1G obmKgs9rjMvc8a8EoqLJQ7kvbexkYxgjhRsGA5Tn9L89n1BsR0VAgXCk3lCrdyUpfuDi 3ISIhuhOgrCjF0p5cQU0t3dMUw1zmvhB8GCCUw+5SxPcofWwEoBpYxOg9Tt3fc2jrn2j wjad1X7ds6ntdBXym3VFZBlVuYOtV46M0I1UtGXOazf8SRJkStzBt4t3JPOw2Sis6mRg KxpavSRxNGaJjaoJza8949pHwwaN7mGfyu18kkku/xdZIefq12bbGNdTWZy381/jYzT5 X+bg== X-Gm-Message-State: ALoCoQmK2ZaxZT2wZ+OxWQVaHRFpxL/uANAyWbMCDyF1GfrgcU2KXyyOvPPrjkFFT3VWNgejruaL MIME-Version: 1.0 X-Received: by 10.182.120.39 with SMTP id kz7mr6610706obb.82.1444588176201; Sun, 11 Oct 2015 11:29:36 -0700 (PDT) Received: by 10.60.21.136 with HTTP; Sun, 11 Oct 2015 11:29:36 -0700 (PDT) In-Reply-To: <87zizpcvph.fsf@igel.home> References: <55FB10E7.9090607@linux.vnet.ibm.com> <56101F0E.8000003@ubuntu.com> <56153C00.2000209@linux.vnet.ibm.com> <561556F9.8030802@ubuntu.com> <5616BC63.3060307@linux.vnet.ibm.com> <5616D609.2000400@ubuntu.com> <56181AD9.6080501@linux.vnet.ibm.com> <87vbae2z71.fsf@igel.home> <20151011130719.GF4434@bubble.grove.modra.org> <87zizpcvph.fsf@igel.home> Date: Sun, 11 Oct 2015 18:29:00 -0000 Message-ID: Subject: Re: [PATCH] PR66870 PowerPC64 Enable gold linker with split stack From: Ian Lance Taylor To: Andreas Schwab Cc: Alan Modra , David Edelsohn , "Lynn A. Boger" , Matthias Klose , gcc-patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg01078.txt.bz2 On Sun, Oct 11, 2015 at 7:43 AM, Andreas Schwab wrote > > Please remind me why this logic isn't implemented as a target hook. > > supports_split_stack = TARGET_CAN_SPLIT_STACK; > > /* rs6000.h */ > #define TARGET_CAN_SPLIT_STACK TARGET_64BIT There is a target hook for split stack support in gcc/common/common-target.def. The PPC version of it is in gcc/common/config/rs6000/rs6000-common.c. But the issue here is that we need access from the gccgo driver program. Can the driver program call the common target hooks? Ian