From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C7E31C44F2; Wed, 5 Jun 2024 12:03:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717589018; cv=none; b=eDGRkRYuZj1ewjwaIvayeIL8NMZENMDmIuunvRpwSMudYp5j1z0iBSL/RdJjyGOah9Ci40I3PMUxv2MUj919Okk3iy+TiBGbW072vPYkdsaqKwp376qO+8T2MbSsiWaF5iZT3QHOCN9qP8uEAsPb0K0IXsg3e8KXc1jdptUJHmY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717589018; c=relaxed/simple; bh=75mwtd+1CNCKWFDAvfqi5xcQqvMCply+b+85p3C7MM4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FWETmMBohcok8ErchZCymqnJHJfvgXZx24OKzr2xQqrkvMTvAl6ivBAZyKJYLddqs0DfSTuyu/EOq9BM13PNDOgbwCX/k9yv1W0g2Z3nEaVBAj9NXuva4a+gamXwYQ0MsK3fFQohbv9hUEYrJo1oqkhLVwVlTUieKRSN2nfIV2k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CCjHQWFV; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CCjHQWFV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A701C32781; Wed, 5 Jun 2024 12:03:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717589018; bh=75mwtd+1CNCKWFDAvfqi5xcQqvMCply+b+85p3C7MM4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CCjHQWFVwxZmSUtPL0IcFlM0WiyNe4LKrwW6eSA28BPkHozHdLqcDY51BfabspjQS wh5KSyG+1Dn15j1C/6LNM2V238xmOHu9xIQbP18CfbAVVW3evKj203sj2hX1bKYimO 3iLs94kqMP0jGdILcnFn7c0m0SZ/RITIwNp03M84tJxIA5nzxOr83ZemxhiP+rkIUP op5g6m7xWJDUWRQuhteCLtwq//yU+9RXwV4nL9vGC181gSWvCl59/VD8qhQeuvh//U Vo++MclMMj5ekowZsDepvSHiz0eiUmRaiVVjyPtlDMBcJuJm3F9j/2E4Sd28ln1a2X KoHE2vIBqGWcw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Masahiro Yamada , Sasha Levin , linux-kbuild@vger.kernel.org Subject: [PATCH AUTOSEL 6.8 11/18] kbuild: fix short log for AS in link-vmlinux.sh Date: Wed, 5 Jun 2024 08:03:01 -0400 Message-ID: <20240605120319.2966627-11-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240605120319.2966627-1-sashal@kernel.org> References: <20240605120319.2966627-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.8.12 Content-Transfer-Encoding: 8bit From: Masahiro Yamada [ Upstream commit 3430f65d6130ccbc86f0ff45642eeb9e2032a600 ] In convention, short logs print the output file, not the input file. Let's change the suffix for 'AS' since it assembles *.S into *.o. [Before] LD .tmp_vmlinux.kallsyms1 NM .tmp_vmlinux.kallsyms1.syms KSYMS .tmp_vmlinux.kallsyms1.S AS .tmp_vmlinux.kallsyms1.S LD .tmp_vmlinux.kallsyms2 NM .tmp_vmlinux.kallsyms2.syms KSYMS .tmp_vmlinux.kallsyms2.S AS .tmp_vmlinux.kallsyms2.S LD vmlinux [After] LD .tmp_vmlinux.kallsyms1 NM .tmp_vmlinux.kallsyms1.syms KSYMS .tmp_vmlinux.kallsyms1.S AS .tmp_vmlinux.kallsyms1.o LD .tmp_vmlinux.kallsyms2 NM .tmp_vmlinux.kallsyms2.syms KSYMS .tmp_vmlinux.kallsyms2.S AS .tmp_vmlinux.kallsyms2.o LD vmlinux Signed-off-by: Masahiro Yamada Signed-off-by: Sasha Levin --- scripts/link-vmlinux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh index 7862a81017477..a9434a72cac4f 100755 --- a/scripts/link-vmlinux.sh +++ b/scripts/link-vmlinux.sh @@ -182,7 +182,7 @@ kallsyms_step() mksysmap ${kallsyms_vmlinux} ${kallsyms_vmlinux}.syms ${kallsymso_prev} kallsyms ${kallsyms_vmlinux}.syms ${kallsyms_S} - info AS ${kallsyms_S} + info AS ${kallsymso} ${CC} ${NOSTDINC_FLAGS} ${LINUXINCLUDE} ${KBUILD_CPPFLAGS} \ ${KBUILD_AFLAGS} ${KBUILD_AFLAGS_KERNEL} \ -c -o ${kallsymso} ${kallsyms_S} -- 2.43.0