From nobody Sat Dec 25 11:55:56 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 9648718F35AB; Sat, 25 Dec 2021 11:56:00 +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 4JLj7K3wl9z4lDN; Sat, 25 Dec 2021 11:55:56 +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 515DE16C59; Sat, 25 Dec 2021 11:55:56 +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 1BPBtupF007002; Sat, 25 Dec 2021 11:55:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BPBtubL007001; Sat, 25 Dec 2021 11:55:56 GMT (envelope-from git) Date: Sat, 25 Dec 2021 11:55:56 GMT Message-Id: <202112251155.1BPBtubL007001@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: 4f4cb8f16f55 - stable/12 - llvm-objcopy: Install llvm-strip, and optionally strip, links 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: dim X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: 4f4cb8f16f550d7f32da1615bf6ec181c103a79f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640433358; 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=lQWkZFgE6Xy54NgiAt03jlFKTpViY9Rp6yjGD0YFAWw=; b=u0/Qv/3vh4nvYUxmobcxYXmmxsp0WEFa0tE53jvgiYeB9OKPo4tlnA5VT0F0jlc/ZAz68B zXEpKYaAlAtZ2/m/PsggEHtM0B9tt7XqX9pWT+aWkKee+TYH5eWK5ovp3OfoZOsAzZLV3T kcIpUex4NzTyw0nk8TSSwGJ26zWlM+mmPeIuA2sRAhGNXWYd233LSBOkvNZLtptRqd3syW uBTjJpm5X282sUIrSgXkvztMBs/LqzzfIuyToWVBGLOg8piR97YivGJ0JMnJQypqTGJH7p YIPE0thonceunaCRucLXbZcEfgoTge4brjcLAD4gIrs6n64VsXeio92IAgcB9g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640433358; a=rsa-sha256; cv=none; b=DSSHnLwL0nDoub/6BVNEwi9A8iBimL+zBc/CXGTAYOogZdsytk9SPYe59QSamhCdDOhdt2 UnnL88HUKkY9RbljgCkykKvhWyskBnbuRhkxzxPpbj0WH+l/mBsJW54zRKFhoX0uTat1Sl ccRft6POq+aS/1+nQwHmIRyt5Ok4PvDGLjhiIRDbmh8JuhqVCBi3919sT3hl7KylYVyZgY NS+knuTTll4NUY2qKOkXdQuLYVUGeeyd/LLO3Li4wNJGOkt6ICeO+McJIi2i9z0jjdSr8t V3G6xra+b0PmBeB3KkcTKNcTKGD/DtwStbUpDTdZtEzLydwRlOsfwkxoR6Hq4Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=4f4cb8f16f550d7f32da1615bf6ec181c103a79f commit 4f4cb8f16f550d7f32da1615bf6ec181c103a79f Author: Jessica Clarke AuthorDate: 2021-09-13 20:52:40 +0000 Commit: Dimitry Andric CommitDate: 2021-12-25 11:51:26 +0000 llvm-objcopy: Install llvm-strip, and optionally strip, links Just as elftoolchain's objcopy doubles as strip, so does LLVM's. This ensures that a strip binary is still present for WITH_LLVM_BINUTILS builds. Note that we do not currently have a committed copy of the manpage generated from the rST source so no manpage is installed for (llvm-)strip. Reported by: Shawn Webb Tested by: Shawn Webb MFC after: 1 week (cherry picked from commit f28c1d0c5c6c6532df0dfa38eaf804343988d163) --- usr.bin/clang/llvm-objcopy/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr.bin/clang/llvm-objcopy/Makefile b/usr.bin/clang/llvm-objcopy/Makefile index 2e6fc8aba356..afd03b848b19 100644 --- a/usr.bin/clang/llvm-objcopy/Makefile +++ b/usr.bin/clang/llvm-objcopy/Makefile @@ -44,8 +44,11 @@ CLEANFILES+= ${TGHDRS} ${TGHDRS:C/$/.d/} LIBADD+= z +LINKS= ${BINDIR}/llvm-objcopy ${BINDIR}/llvm-strip + .if ${MK_LLVM_BINUTILS} != "no" -LINKS= ${BINDIR}/llvm-objcopy ${BINDIR}/objcopy +LINKS+= ${BINDIR}/llvm-objcopy ${BINDIR}/objcopy \ + ${BINDIR}/llvm-strip ${BINDIR}/strip MLINKS= llvm-objcopy.1 objcopy.1 .endif