From nobody Wed Mar 22 16:32:49 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PhYt92sT0z412Nk; Wed, 22 Mar 2023 16:32:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PhYt927Ljz3Pvw; Wed, 22 Mar 2023 16:32:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679502769; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ikPBhxpvtMCiKzUsHLVYHhgsFN2aAMCteX8F+rrzqFc=; b=R3JSfkvIZgSbNOTWJ/4oyTP+j/MAOFWLRpqo9bV1/H53/lH3xZhxlrr72d3FSIN+Tgx/Io 7z5cWyRx/2qXQeLYsXyI3SsjnQk21IXiD9uwTDrv4ij03NFxoBIv02Yl5M5RYa3tpJ4tpp 5Hpsj0uLbigQa6H89ktMZ+8VTG9ljxevpAMXCM+SW10JEvfJqQfuJUnuIZS6+jxZKekOrd juHmPL+m312CczlQGFHmpZ1E/a+1TFrvcGmEoPMHch+VaBteIXkoFzLhyJiwAIED8jxfYd bbmiJi2VyzvegvsTDg+jD3FNnPgv2HbOoACcMKNKltfyEYvVdVHq8N7QuwoObA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679502769; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ikPBhxpvtMCiKzUsHLVYHhgsFN2aAMCteX8F+rrzqFc=; b=FYDrLkvjySopPNjTMQ7yjmvI+DefxdMWBcoAHmRiEoqFvomIEV0CFgal9MwTT9CEAl6heT 5/rHskwhqMdsYV/YIdV4iIdF2O8+DfUKJuA2aInnNA9nd9S5tH0rBNSiRSIv1+84gwcR60 hZP4S3DspP/j2KlF5+gc03HJ6wBbMTSgaaoqmo5IkHElp7c9Llnsz7s9CzDXMqTtudHQAd uP/iF0m+2pRBIY43ijke8/vOerPMCa2d1cJPBczWS0YnXLgdreYdrW+JFrj7xnFimvVqw/ EL6m9/SKZE72GvtLCBBe7dT2xx7r5e1D5EYNoaMtK/z7hEnCryQR0KXFeHgXtw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679502769; a=rsa-sha256; cv=none; b=HoQlBw7HbgRAzfFxIhzJebJxF4vIDcVH1MnE89d4ZnTvoXN/Cu3TiWrRatUigEu0CZE8i/ XmtSWOkiylGduAmy9JLac0z2ez9lbR4LyAOUEhdzkR1z4+CtZKuEhVIFSZWd7qf3dhdoc7 f8MHvMQujoS6xFRPJ4wCTBh/2jrEZhFjOLNhjy5u8p5Vtm6gj4hUOHuDhOTi13fXKIgzcb YOMr+89MgoSBL4arFtVuMWasrPTZkpyuVz9fZq0vPuXke/T1wZF1Q9qPAWoQzp1WgWdUwV mpj5KuOYaFToXuw+aHxTGj65oT/GaNpa4sWZpTnl9mYQ6ljLxnhdcKFTkLuViA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PhYt91BFbz11hd; Wed, 22 Mar 2023 16:32:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32MGWnnE023958; Wed, 22 Mar 2023 16:32:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32MGWnGm023957; Wed, 22 Mar 2023 16:32:49 GMT (envelope-from git) Date: Wed, 22 Mar 2023 16:32:49 GMT Message-Id: <202303221632.32MGWnGm023957@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: b4e4d32d8450 - stable/13 - csu: Add missing GNU-stack annotations to note object files. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: b4e4d32d845075221d9d2960d2ca9a237fe1d9c4 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=b4e4d32d845075221d9d2960d2ca9a237fe1d9c4 commit b4e4d32d845075221d9d2960d2ca9a237fe1d9c4 Author: John Baldwin AuthorDate: 2022-11-18 20:20:14 +0000 Commit: John Baldwin CommitDate: 2023-03-22 15:22:06 +0000 csu: Add missing GNU-stack annotations to note object files. ld.bfd marks the stack as executable for the crt objects due to the missing annotations which raises a fatal warning starting with version 2.39. (cherry picked from commit 74ad8d607ddbd530935524d53cc9f6f9d5517609) --- lib/csu/common/crtbrand.S | 2 ++ lib/csu/common/feature_note.S | 2 ++ lib/csu/common/ignore_init_note.S | 2 ++ 3 files changed, 6 insertions(+) diff --git a/lib/csu/common/crtbrand.S b/lib/csu/common/crtbrand.S index bf223d84bc12..142ef56c2785 100644 --- a/lib/csu/common/crtbrand.S +++ b/lib/csu/common/crtbrand.S @@ -47,3 +47,5 @@ __FBSDID("$FreeBSD$"); 2: .p2align 2 3: .4byte __FreeBSD_version 4: + + .section .note.GNU-stack,"",%progbits diff --git a/lib/csu/common/feature_note.S b/lib/csu/common/feature_note.S index 0274ce61debc..c2a6c94d1ee2 100644 --- a/lib/csu/common/feature_note.S +++ b/lib/csu/common/feature_note.S @@ -40,3 +40,5 @@ __FBSDID("$FreeBSD$"); 2: .p2align 2 3: .4byte 0 4: + + .section .note.GNU-stack,"",%progbits diff --git a/lib/csu/common/ignore_init_note.S b/lib/csu/common/ignore_init_note.S index 804cefd47155..9026ba925891 100644 --- a/lib/csu/common/ignore_init_note.S +++ b/lib/csu/common/ignore_init_note.S @@ -41,3 +41,5 @@ __FBSDID("$FreeBSD$"); 2: .p2align 2 3: .4byte 0 4: + + .section .note.GNU-stack,"",%progbits