From nobody Sat Jun 13 22:15:21 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 711C044A71C; Tue, 5 May 2026 10:56:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777978579; cv=none; b=RkWOGE0xVekrQlPBMdN1RMc0QMRKPnL9BI9eSB3Y/6uYAeWzjCSa1Y3J+5/0dDmf2WbR2T+ud+AeV8QSDML3S4ZeHph5xMWSVjELtMxtmmUQQ4e//n02t4Zei8Mqj/KFl8Pu7JU+9b4ifMkQhQ9POqKJN7yKJmbZtItVtWTpyjk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777978579; c=relaxed/simple; bh=q5oc2FnijoBkycwgrnHvjacWFvWAnVYUniaiwOxszYQ=; h=Date:From:To:Subject:Cc:MIME-Version:Message-ID:Content-Type; b=BTkkuVXuuF7wya713oujAPUnLqmKLBYjHlUHOPQbmaOTb09aJrF8JsMC4zcSu9dtB8czD3se1oY1zizYW5ujg5yAxaQI6/3jlm07jx9I4HBlPn7a2/D42kRGVMiylkkx30YEKTZ3Z6d4Eu9hug6XWypGCcGfle1Ctl9y6a71o+E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=ENEXYS1a; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=4iEaO+7k; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ENEXYS1a"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="4iEaO+7k" Date: Tue, 05 May 2026 10:56:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1777978577; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=z/+8A2ABupr/XqWFXfJRNZXhCI8/UKCrDzLBjspL0ns=; b=ENEXYS1aC1yRwbYdHJoYyOHdOmsYICL+RxYRIi/28HlxTZ6buAKbd82+WWYuEqID7GtHzw fSL51QB/36vmbsammmSrvwVAIOE7l+kXQBPRAULMW7gbrc3C2mzUb2y4NjASI0kg9f5ddu FyWYmaNDciGm3axoItNc3Be6r/XaOMx9X/sqkp4oUI5e/wee/RtePEfwA8DI0Ti2FLDq1g lBkNx1PbkvEG1Ws9zLCCwlGmzOl6LjFOzpCKd+IiCo3PxVFhLI3EAc6WLbpgvrrAT34RMB i/KAh5Nh/+kshjlNWNME3refoU+S3XQgT6NXcHotHMmx4WsL66tHQndccotReQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1777978577; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=z/+8A2ABupr/XqWFXfJRNZXhCI8/UKCrDzLBjspL0ns=; b=4iEaO+7kUxRAxGUigh4CHPfoW5LG2Wtkcy54DHqehMMz3b6JeUJ/SjbZ1T1y0ns/d74ASu YFNwSwneReEiKiDQ== From: "tip-bot2 for Josh Poimboeuf" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: objtool/core] objtool/klp: Don't set sym->file for section symbols Cc: "Peter Zijlstra (Intel)" , Song Liu , Josh Poimboeuf , x86@kernel.org, linux-kernel@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177797857563.424702.14343195589396661825.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the objtool/core branch of tip: Commit-ID: 8d4cbb6d0caf03b0a22be4d6d2198a9edac46517 Gitweb: https://git.kernel.org/tip/8d4cbb6d0caf03b0a22be4d6d2198a9ed= ac46517 Author: Josh Poimboeuf AuthorDate: Sun, 12 Apr 2026 22:40:02 -07:00 Committer: Josh Poimboeuf CommitterDate: Mon, 04 May 2026 21:16:04 -07:00 objtool/klp: Don't set sym->file for section symbols Section symbols aren't grouped after their corresponding FILE symbols. Their sym->file should really be NULL rather than whatever random FILE happened to be last. Acked-by: Peter Zijlstra (Intel) Acked-by: Song Liu Signed-off-by: Josh Poimboeuf --- tools/objtool/elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/objtool/elf.c b/tools/objtool/elf.c index f41280e..d9cee8d 100644 --- a/tools/objtool/elf.c +++ b/tools/objtool/elf.c @@ -649,7 +649,7 @@ static int read_symbols(struct elf *elf) =20 if (is_file_sym(sym)) file =3D sym; - else if (sym->bind =3D=3D STB_LOCAL) + else if (sym->bind =3D=3D STB_LOCAL && !is_sec_sym(sym)) sym->file =3D file; } =20