From nobody Fri Nov 18 20:22:50 2022 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 4NDSrp6FB2z4hBTm; Fri, 18 Nov 2022 20:22:50 +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 4NDSrp5FCQz3nF4; Fri, 18 Nov 2022 20:22:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668802970; 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=FPxESCHUYkW+VUUh4o5UQak6ZPgR7x5LaqUN5N5BWfc=; b=nGZYQwUlBBg+sIqwp+G1Nu+rlsNhFAOzwdUZ85TpEilkLzNKOYm3vz6GPaPTUbd/9J/T9W Yf0yWZotwkcEymX28MxJ1Vun8pdgc2kxM75CJ/dg9V8PWYY0fLpWd9vLDa/YYEkg955Lqm xXgCoQNRzN7e9+8SHaUXrZdqvQyV/T92wbhnM7BnvHrNtj/lhDeUsSJLvEIC2yHGXzCXof DLdGON44hfFmi+lrzpaAnfsm/8tMCjZEc4KzSdnP2cAhJIz5t8GJwFXUQxVCkb+UhMNO3e dk1NzEpo3be3QNTw1BFisvnnksClcNFhnUg2WUO6wrFlT5zK+cGtN8HZttLw1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668802970; 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=FPxESCHUYkW+VUUh4o5UQak6ZPgR7x5LaqUN5N5BWfc=; b=TQfBcCBxIUskb0vny6fFRsh1LJ/YQQFIjI5mEsg5NfrFb6S3Zpvvk5ej6TrOYy9FKyJlXG c2qFzSRSyowA52TLJjNITZ7U8W11nmhG9mn2W0fqz1SRiukc/STomOo7H7x7SwBrDh0Aq/ 8o8ADXhWFQUeshdEwBQHjktdB9ku6w49yhg/Tw4FavESyLl3YuohSrW4ZLJDpxZSkHIhR8 vaxhTftXIhWaAtbv10izhub6aNv/l0B1uVKmPYH+qjxrvtGwfr5tYPb9xwtuZLGzAWOntT uUc3ShjN0511GuPehGttqT86+DwLnNfEZNJa+Pr6W2WgRK8gCn5AeSeF0bE5hw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668802970; a=rsa-sha256; cv=none; b=eKpvnNAO9CsWXwIc5+x/k4kri20Cgws0oK+C32CFYY1TaRdM2kIlZbBK3TUwr1kv76qsIJ ezxwRzWPHQ9TiPOfGnD+Xox2amPSzyxNWFHKncqifdrWiQhkPbVT3jS1flhI3zJ2NJYiBp DAmXXw6Fak2EMuDgIBkKURSVW1dR1rkN2pSZiE8q8lG2JEpR8XhM2k/8jvOxXBxcPks1he uoHn71ZKOs8GVnRs2/zR18FTLByfwZoNZoLTr0pr7I15kAtP8++3b0R1QVZFsSe2g+XrQf b+96xrIuzEP+nGghNwp604SxY0d5DBTBh/ZDSOc0t2zlGXDFQeRdwiLCCqnTyQ== 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 4NDSrp4GyLzKMy; Fri, 18 Nov 2022 20:22:50 +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 2AIKMoRB000850; Fri, 18 Nov 2022 20:22:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AIKMokd000849; Fri, 18 Nov 2022 20:22:50 GMT (envelope-from git) Date: Fri, 18 Nov 2022 20:22:50 GMT Message-Id: <202211182022.2AIKMokd000849@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 74ad8d607ddb - main - 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/main X-Git-Reftype: branch X-Git-Commit: 74ad8d607ddbd530935524d53cc9f6f9d5517609 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=74ad8d607ddbd530935524d53cc9f6f9d5517609 commit 74ad8d607ddbd530935524d53cc9f6f9d5517609 Author: John Baldwin AuthorDate: 2022-11-18 20:20:14 +0000 Commit: John Baldwin CommitDate: 2022-11-18 20:22:23 +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. --- 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