From patchwork Sat Dec 3 18:44:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 29299 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1481423wrr; Sat, 3 Dec 2022 10:44:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf4tKdVDOqhZVtWOm6v5+3cDaHZcmow3qfd66g+poHLCHc73F+q3pgA//DKzd09ZXum5emb5 X-Received: by 2002:a05:6402:e04:b0:469:e6ef:9164 with SMTP id h4-20020a0564020e0400b00469e6ef9164mr19985783edh.185.1670093064718; Sat, 03 Dec 2022 10:44:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670093064; cv=none; d=google.com; s=arc-20160816; b=tjjc9gfw0WBmrIOwEed+YDHJpY1ltvB/2PxkzVjuISlsYmjPeK9fWUnvXj+jmMJCbv jxsbovsnf9J1mZ/wTcQWvMURTDc1EADOqOJqyVGN4tdgooDMFRTrf8tLaS1TBDXEUhiO mC1g26uvX/67wYaP78BmXwCM9M3WrxIFd9Y+YKYYUC1s0CVFahB0UPnpEonbVdp+YpYh 7zj4c3fHwikxGQ5lk6cT1vCA+1u9/yCnC+DcjDqU7kY/OjEdEWQ/VptcuetQZZdDNdNs 5Dijw6tAGjTqH1JBSz/cB6taNACxEWvGScU5+uuvhLUTYMOi3LZ7kTdMl5A2U2bIPUwX IEBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:to :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=Vcvy45Sb+99BsLN2sy/ckpjOiqxUy3EgUhcNEizUs3k=; b=e1TG7RyF7q/BdiEft3OiIgtbeYLEo5LAGqgxkIzvV/QBrE0qB/u2o6ICk4eWoXmpwm nyLNs6dKD7wfz08C4ycmDZl+luq7j+sjStCUsyz7ELumxJ2TUJIcPEvM6jCHGvwisiRW EpeLak6duRxMrljhvVrBj6HH3WTtnihi31BM+jwuxxpi61PuzurqpaoT63bGK/xkGSQd YMW0S01wuoZVKcWRAR34j02SuU34i4h4+QqJTWxGbJ2dEx6E+2cnbUv/fgRFEnStNI+p UFx4+anOXNgynfGNrNSC6MdNWj1d3mrB1jOWzPz8u0/6JRgeZ62mDvqS9l/fi6tmCdQS pC5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=BFxuLPwF; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id ds18-20020a170907725200b0078da414a7cesi9759277ejc.149.2022.12.03.10.44.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Dec 2022 10:44:24 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.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; dkim=pass header.i=@sourceware.org header.s=default header.b=BFxuLPwF; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 78AB6385841C for ; Sat, 3 Dec 2022 18:44:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 78AB6385841C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1670093063; bh=Vcvy45Sb+99BsLN2sy/ckpjOiqxUy3EgUhcNEizUs3k=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=BFxuLPwFmwExCc/aj6DPxcM/jm0mRbm8DnuS4W2lZMhhVtonE0ROOMD3SM6PmfQCr aKnbYfzg3K1cqPQemjNiBxGjpgWIeSDbw1qD6Vg6QX5CjOtqZB/6su5BwVr74Ba4dG /rsuoAJo22t8zfrYcpA8XX4yefcC+ElzRZfcE+6A= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by sourceware.org (Postfix) with ESMTPS id 8AE173858D20 for ; Sat, 3 Dec 2022 18:44:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8AE173858D20 Received: by mail-pj1-x102d.google.com with SMTP id l22-20020a17090a3f1600b00212fbbcfb78so11208068pjc.3 for ; Sat, 03 Dec 2022 10:44:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Vcvy45Sb+99BsLN2sy/ckpjOiqxUy3EgUhcNEizUs3k=; b=d38A0w3BbJgaFfNZ1Xd0ieWUk3r/CZjj+9j/s/59huOe2zBs3CCZk1bgs+pNCuMmDa NQ3lF+Y0BtUSq/r7qwD7FqE4ymeScvD14ykgTCXFICELekeUpP9hpM/Sb6QuSGv7i873 4VXtVpHJ6beI0c0SpAVrmvyt4rj3/rwcYROnkDqExaYuMprfuXF/fXyGKoTkM92pcgQw BbeO2SXPwWlVmxjJz37oM38R6ZYPgEVLP54N8AwXL+Hnfe4bY6+ozG4nrfZGyg0zDRUA kziHiqibnCF5VqB3/trXoNypYS4fc5zwYg78sBnena9/3/JDQRogUgNQ/IsLKTyWLB8D L/bQ== X-Gm-Message-State: ANoB5pnhXTqE2eluayxhV3CzgB1tZz42P5nWQR/HfWRz82SPZC9bFEqY E7dBTK0HXtJSDVOApX1wTA/VIzmMlSw= X-Received: by 2002:a05:6a21:2d0a:b0:a5:abeb:4d18 with SMTP id tw10-20020a056a212d0a00b000a5abeb4d18mr124300pzb.6.1670093051105; Sat, 03 Dec 2022 10:44:11 -0800 (PST) Received: from gnu-cfl-3.localdomain ([172.56.30.207]) by smtp.gmail.com with ESMTPSA id 72-20020a62154b000000b0056283e2bdbdsm1583774pfv.138.2022.12.03.10.44.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Dec 2022 10:44:10 -0800 (PST) Received: from gnu-cfl-3.. (localhost [IPv6:::1]) by gnu-cfl-3.localdomain (Postfix) with ESMTP id CAACB74016F for ; Sat, 3 Dec 2022 10:44:08 -0800 (PST) To: binutils@sourceware.org Subject: [PATCH] Revert "ld: Add .note.GNU-stack to ld-plugin/dummy.s" Date: Sat, 3 Dec 2022 10:44:08 -0800 Message-Id: <20221203184408.866763-1-hjl.tools@gmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-Spam-Status: No, score=-3023.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP 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: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: "H.J. Lu via Binutils" From: "H.J. Lu" Reply-To: "H.J. Lu" Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751219505793729768?= X-GMAIL-MSGID: =?utf-8?q?1751219505793729768?= This reverts commit 44e59b5a7d8a874f6546a1471b8a003911853aa0. It works only for ELF targets. --- ld/testsuite/ld-plugin/dummy.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ld/testsuite/ld-plugin/dummy.s b/ld/testsuite/ld-plugin/dummy.s index 39ecd9f0209..8b137891791 100644 --- a/ld/testsuite/ld-plugin/dummy.s +++ b/ld/testsuite/ld-plugin/dummy.s @@ -1 +1 @@ - .section .note.GNU-stack,"",%progbits +