From nobody Tue Dec 21 18:35:09 2021 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 375CE18F32AD; Tue, 21 Dec 2021 18:35:10 +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 4JJQ9n6690z4mrw; Tue, 21 Dec 2021 18:35:09 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 B177969A4; Tue, 21 Dec 2021 18:35:09 +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 1BLIZ90K028141; Tue, 21 Dec 2021 18:35:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BLIZ9c0028140; Tue, 21 Dec 2021 18:35:09 GMT (envelope-from git) Date: Tue, 21 Dec 2021 18:35:09 GMT Message-Id: <202112211835.1BLIZ9c0028140@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: cb2d1350154a - main - csu: define STRIP_FBSDID 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: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cb2d1350154aab1d649ca70d45ebc7a88708491c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640111709; 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=D2REImrH40hGzKyPX5CcsggQAUmSeC6KzMspjqYtGlI=; b=Lqby1i1OqEigtiMPV/O745+pfEPafTtFTlNEkXYoPMcZ+BD+JX86oJMPIp27xW0DPCTB0A 5qTDPPRZjWzVENyP3MTpMwWqoaueyzVvJ3bEMMKcmdkGjqRK2PNSJthermYOn26396R5n+ +7jg8ODEEEXyikRxCWUdUqrPf4q3DY0vcoJS833YWOciyRNqfflpG+cse1wACttVcs/nHW mByQMc2KG6EN3XvtEDhkJntv1kznXs2di82HNn+euVJHIT361Ary4CCaxclmSHLMb5aC1h KJbqCDXjypyBOlHBn1SrXFeG0rPshWDdQntpDAhiBKqMmec6ZKToNTeu4Q1WYA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640111709; a=rsa-sha256; cv=none; b=wbDz71zaq9dRqft7UaHmGr2FjbOuOCAPDmxxIIan17NjyNRi26i97UbvVE9f8pagSBkwSG H2a/Hm/U7FU/gmmw8INxHGyZlRqMwvXzu00qkP5QOHuC9rs127yWWJ6t4VAZTnzhRRkmt+ rjt3KY4iPVJwSQ9b3pwUnpLTSF7/nPrucoKFuWP52jhTxFdDm/qnFUoDPgQCHMmBdEDFNF dH89HZOcCuoyAmP+i2m5boymoaxKKqOiePUA/yxgnwEKFg6JWPiNC8H2pxqdrQh5Ef74Vm 1YfGyySBgABmC8hXEFYecECcJ7oCZwQ/yLbxMRRTpyBW7d1as70ztJXv1e4/fw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=cb2d1350154aab1d649ca70d45ebc7a88708491c commit cb2d1350154aab1d649ca70d45ebc7a88708491c Author: Ed Maste AuthorDate: 2021-12-20 21:30:09 +0000 Commit: Ed Maste CommitDate: 2021-12-21 18:34:42 +0000 csu: define STRIP_FBSDID __FBSDID() places the provided string in the output object's .comment section. However, with the transition to Git $FreeBSD$ is no longer expanded and so we emitted a literal $FreeBSD$. $FreeBSD$ will be addressed in a holistic manner in the future, but at least avoid embedding it into everything linked on FreeBSD (via csu). Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33594 --- lib/csu/Makefile.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/csu/Makefile.inc b/lib/csu/Makefile.inc index 31c1bcbd7278..1633fa3dc3ea 100644 --- a/lib/csu/Makefile.inc +++ b/lib/csu/Makefile.inc @@ -19,6 +19,7 @@ CRT1OBJS+= crtbrand.o feature_note.o ignore_init_note.o ACFLAGS+= -DLOCORE +CFLAGS+= -DSTRIP_FBSDID CFLAGS+= -fno-asynchronous-unwind-tables CFLAGS+= -fno-omit-frame-pointer CFLAGS+= -I${.CURDIR:H}/common \