From patchwork Mon Nov 6 21:02:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 162181 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp2925076vqu; Mon, 6 Nov 2023 13:02:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IF0SPNZ7vDblF8qUccw7lsHLNFpFFesEvgPXmqJYksKt9peuVpcIPsVl0ynlxHH5SJGnyB7 X-Received: by 2002:a05:6214:3007:b0:653:5bed:83d4 with SMTP id ke7-20020a056214300700b006535bed83d4mr38527567qvb.30.1699304570209; Mon, 06 Nov 2023 13:02:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1699304570; cv=pass; d=google.com; s=arc-20160816; b=u1KkWnYm3d4oiu12xjYF3TGVRaxYzjj3UIh0RurJVtJNk/45ojBoqZt2ZtFvSWbIAp mghQg91ZVCV488FhJ9nnB9L8L8TbjEWbGhEvdMIgTM3q16Vr/M5cF4jr/VbrtPWK+lGo 57ek2okGA253dq9sPCVumIwio6la5oBJ+51G9uarkCRw20SICiTesGuWSGl9HSRxoimF gCVnq77TC2GT/EEGRpsvqiZ8Z1i8CFzMhFlSQUo863a0RXBR/9sbTDt09C+e36s0hRyT ZWCeR2LQ7hpaZjC8RmiaBV+wrhoKrIKhJgO93EdJDE8CjnM2oVrgrib+hsaZhFrddfFE GFBg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-disposition :mime-version:message-id:subject:cc:to:from:date:arc-filter :dmarc-filter:delivered-to; bh=3IXAYcyGPzfV/jg6o0LdAHoqHtmbN6K81FIKcoCRMQc=; fh=d1tmvtyZ82GbchdTWWx9XRXLTiLScL+QaKcJuQGBQXs=; b=RTKry8kin7m2sivJ9K5WuWvWGdf7UnQL/HadniJWxoqY2QbN/XhOthpUuOUjelkm76 Sw3gxe+4wXnRJHAy340pExdrizWWVfjN5vCGCIT4qLoMh+Fh7mrt23lxI6rcgn2pneiU RTDsq9uwPy3BxMYy6UIEYucOS6ukgniFkDtLjoUt+eaY58NibiOeNSAajZjBahiHcKzl 4TU8QbyShm91htlz4F3K1PbQTjCT/qn9yCxBGj1qWPh7Fy1p6vk0vAIgZxHxtP0glcBT cUNsuJZkdYZNdaVgTlG6qv1zv+AKcJWA5/d/bTfseq0ZjbwsVAzx92Q5Lc6BTMKJ0QKE jQzA== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id o8-20020a0cecc8000000b0065cffde415bsi6160637qvq.542.2023.11.06.13.02.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 13:02:50 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id F0E563858281 for ; Mon, 6 Nov 2023 21:02:49 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from dellerweb.de (unknown [IPv6:2a02:c207:3003:236::1]) by sourceware.org (Postfix) with ESMTPS id 7F2AF3858D33 for ; Mon, 6 Nov 2023 21:02:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7F2AF3858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=parisc-linux.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=parisc-linux.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7F2AF3858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a02:c207:3003:236::1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699304547; cv=none; b=YqZ2FKFu+MS0EytzH+znqZm9VoiMg2IYx+XyVLpgeEZAp6ynZXe2UcOYnpFf7Bii17nOYvEBSpkd/1SCR/nsuFIFnlRWiMrwFted+EzwPJhiQVY5eVSj4hT5bO0yAsx0k04LcncZR/iPXIDgPaAh2y9p0X8cYEuevK/3LaDCeXk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699304547; c=relaxed/simple; bh=Y3cN9GmI2vgqvIbT0yaOHHygKqtC2jNCRCDSWgClb/E=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=WtEubi/wyX4z8FnQxNUTH1RI1gwzXVfTzA/XT9EyaYo+HWGsAyAJqxV4RK5riay1INazpOr0Ky/A9G2y1igy1tojE4+UkC0mvr/qgisEuUscKCzwhSeW3DLarMWlI6opTec1V68wSuvWjXtMPMSvyTSX4jkYPpAiDNB9h1SfiYQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from mx3210.localdomain (unknown [142.126.114.79]) by dellerweb.de (Postfix) with ESMTPSA id C18D11600074; Mon, 6 Nov 2023 22:02:15 +0100 (CET) Received: by mx3210.localdomain (Postfix, from userid 1000) id C570422011C; Mon, 6 Nov 2023 21:02:13 +0000 (UTC) Date: Mon, 6 Nov 2023 21:02:13 +0000 From: John David Anglin To: GCC Patches Cc: Helge Deller , Sam James Subject: [committed] hppa: Enable generation of GNU stack notes on Linux Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-8.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781849988766633521 X-GMAIL-MSGID: 1781849988766633521 I think we have waited long enough for everone to switch to a kernel build with VDSO support. Committed to trunk. Dave --- Enable generation of GNU stack notes on Linux 2023-11-06 John David Anglin * config/pa/pa-linux.h (NEED_INDICATE_EXEC_STACK): Define to 1. diff --git a/gcc/config/pa/pa-linux.h b/gcc/config/pa/pa-linux.h index d38f68b1fa5..96c54765ddb 100644 --- a/gcc/config/pa/pa-linux.h +++ b/gcc/config/pa/pa-linux.h @@ -144,8 +144,7 @@ along with GCC; see the file COPYING3. If not see #define HAVE_sync_compare_and_swapsi 1 #define HAVE_sync_compare_and_swapdi 1 -/* It's not possible to enable GNU_stack notes since the kernel needs - an executable stack for signal returns and syscall restarts. */ +/* Enable GNU stack notes. */ #undef NEED_INDICATE_EXEC_STACK -#define NEED_INDICATE_EXEC_STACK 0 +#define NEED_INDICATE_EXEC_STACK 1