From patchwork Wed May 14 21:30:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyle McMartin X-Patchwork-Id: 30209 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f197.google.com (mail-ob0-f197.google.com [209.85.214.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BCCF120446 for ; Wed, 14 May 2014 22:23:22 +0000 (UTC) Received: by mail-ob0-f197.google.com with SMTP id vb8sf1149139obc.8 for ; Wed, 14 May 2014 15:23:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mailing-list:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:sender :delivered-to:date:from:to:subject:message-id:mime-version :user-agent:x-original-sender:x-original-authentication-results :content-type:content-disposition; bh=0FdG22uYl7C+wjEn4Wba7QyGiMeZ/vXWzCfeq1UP/S8=; b=BHO4TjJtuKYCGId0O/pQOSTsbeIjMDKd50+xSA5od12XCE+MD9YL4MMJQRr2ovZVBf Tf5pO9i+lYMlma3OiY7pl6jgLixyX07YSGLRvy5l8RhCrDvMhCg+oxFkPYbtBvaGmRQT Qav+G0hlDxs1UFraMSnqykQi2jMbHfecelh4cdjZqj7n1Q8S1toXBJefTXnA8peO74M8 YR7WsIYgAgQ6hacNjX3saRI/0kYTgxfK7+3mWywnmqmpc5Altn6/kMrwykeaBb1BIWaW A7TazZue+Lxq9aBvGUa5EGTt2OXGLlJhpVtH5G7DyXtjjT20HTYY9Atao8x/mzkp1BLC IKmw== X-Gm-Message-State: ALoCoQkvb2A3KsHQsM+OT5B2rSMeKKgvmoCfD7LAdpr36aeyZT2NRTQ0kpsXEUj6KesN1vrgNnYf X-Received: by 10.50.108.47 with SMTP id hh15mr3663905igb.3.1400106202373; Wed, 14 May 2014 15:23:22 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.51.132 with SMTP id u4ls2423615qga.36.gmail; Wed, 14 May 2014 15:23:22 -0700 (PDT) X-Received: by 10.221.4.66 with SMTP id ob2mr5083459vcb.28.1400106202296; Wed, 14 May 2014 15:23:22 -0700 (PDT) Received: from mail-vc0-x229.google.com (mail-vc0-x229.google.com [2607:f8b0:400c:c03::229]) by mx.google.com with ESMTPS id ya4si563618vec.109.2014.05.14.15.23.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 May 2014 15:23:22 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c03::229 as permitted sender) client-ip=2607:f8b0:400c:c03::229; Received: by mail-vc0-f169.google.com with SMTP id ij19so3414452vcb.28 for ; Wed, 14 May 2014 15:23:22 -0700 (PDT) X-Received: by 10.220.184.72 with SMTP id cj8mr5174075vcb.10.1400106202193; Wed, 14 May 2014 15:23:22 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp275287vcb; Wed, 14 May 2014 15:23:21 -0700 (PDT) X-Received: by 10.68.132.42 with SMTP id or10mr7616483pbb.80.1400106201378; Wed, 14 May 2014 15:23:21 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id gm10si3224142pac.220.2014.05.14.15.23.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 May 2014 15:23:21 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-367517-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 10129 invoked by alias); 14 May 2014 22:22:49 -0000 Mailing-List: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org Precedence: list 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 Received: (qmail 9974 invoked by uid 89); 14 May 2014 22:22:47 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 14 May 2014 22:22:47 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s4EMMjCX002055 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 14 May 2014 18:22:45 -0400 Received: from redacted.bos.redhat.com ([10.18.17.143]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s4ELU2db029655 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 14 May 2014 17:30:04 -0400 Date: Wed, 14 May 2014 17:30:02 -0400 From: Kyle McMartin To: gcc-patches@gcc.gnu.org Subject: [PATCH aarch64] aarch64-linux: output .note.GNU-stack Message-ID: <20140514213002.GM26038@redacted.bos.redhat.com> MIME-Version: 1.0 User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-Original-Sender: kmcmarti@redhat.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c03::229 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@gcc.gnu.org X-Google-Group-Id: 836684582541 Content-Disposition: inline The toolchain would like PT_GNU_STACK in our objects for all architectures to make it explicit whether we are requesting an executable stack or not. 2014-05-14 Kyle McMartin * config/aarch64/aarch64-linux.h (TARGET_ASM_FILE_END): define to file_end_indicate_exec_stack for .note.GNU-stack emission. --- a/gcc/config/aarch64/aarch64-linux.h +++ b/gcc/config/aarch64/aarch64-linux.h @@ -44,4 +44,6 @@ } \ while (0) +#define TARGET_ASM_FILE_END file_end_indicate_exec_stack + #endif /* GCC_AARCH64_LINUX_H */