From nobody Sat Jun 13 21:03:18 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 3E4DB481FCD; Tue, 5 May 2026 10:56:50 +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=1777978611; cv=none; b=ZZjwBrhkYmfP3ZNdZk7KPo4y+zs9LfKd2NRIsbVU15ZZIcYzw4+GkMQ7yL8ItYZnAjwAgjaQmmsCIjkCgYczMsP/OE7QfoUNGlySYWiTk4SCjesPgXMSzpgZhzPjxvuYGxNlGoRDK3/UxULcZg0qe4c+/CkupSIxrEYw40d3bcc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777978611; c=relaxed/simple; bh=6AoqoZgAEMKY9RFuYHJ/2KPFjTa+s3dcopPdhrItuHM=; h=Date:From:To:Subject:Cc:MIME-Version:Message-ID:Content-Type; b=eW4wYeMJ42bv7tFJZ2rCvLWpJeV6iphU9F/ql+Mzv3Xg/nHvNfypxxz+QQNv3IdNa9UkSclAjZQ3U75jgS64zTIrNHIzVcaEcQmyWJZGDpl192/McqqbxvcohgZRr/yF4H03XpLzBqOaOqY+zsRvZvmZ+pjevu5SkZt9MJf3i0Q= 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=wmJPHd0X; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=VMY55Q2N; 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="wmJPHd0X"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="VMY55Q2N" Date: Tue, 05 May 2026 10:56:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1777978609; 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=Cgfk9ldsWaUa8taFUvbZNnNO0NNtSrbOGhhMaMZamh4=; b=wmJPHd0X+xNLPkO6AY/KvKwiKFXOWY+B6YsINcx3jVlLftGmJL59tKmfm3IbItJrpKXz3D zyOMP6T1BRiXYhh5QLFZCAOrRiKgtxWapAoZQanIGYEezmEHrhibgqIhDVYhW5Vx1YUeL/ OvFx7sWIBNFJ3Vzpryd884ENbrAbnG4h1IHusV94eRHNX8XoGcELRpTF99+HKh4g+HkjIc 2cWZF+J8LNKd5vY6EHtbm9vPU5icwhvkXD/yd6cY0BOf0YzmBEIqmaoFVoBlw+2rFDy2Lg mpjdwj7ruTcObG3sk3YGEBLPUBV1XlKgYs7bQ6msv0EnFZX2EnDlxRfsmtL3zw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1777978609; 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=Cgfk9ldsWaUa8taFUvbZNnNO0NNtSrbOGhhMaMZamh4=; b=VMY55Q2NzXicBsU/KSERWfHPpIwtBAYulN9bJ7mHhhSLj48nUlLSW4Fnkah07Cb5dpCH2E KeidOZcEX2hyarAw== 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 report uncorrelated functions as new Cc: Song Liu , Miroslav Benes , 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: <177797860773.424702.10382597174365481142.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: 76eb0f8639fbc6bcc0e7c1ca649c456bfebc4d5c Gitweb: https://git.kernel.org/tip/76eb0f8639fbc6bcc0e7c1ca649c456bf= ebc4d5c Author: Josh Poimboeuf AuthorDate: Mon, 13 Apr 2026 01:59:31 -07:00 Committer: Josh Poimboeuf CommitterDate: Mon, 04 May 2026 21:16:00 -07:00 objtool/klp: Don't report uncorrelated functions as new Clang LTO uses __UNIQUE_ID() to generate some uniquely named wrapper functions, like initstubs. If they're uncorrelated, prevent them from being reported as new functions and included unnecessarily. Note that dont_correlate() already includes prefix functions, so prefix functions are still being ignored here. Acked-by: Song Liu Reviewed-by: Miroslav Benes Signed-off-by: Josh Poimboeuf --- tools/objtool/klp-diff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/objtool/klp-diff.c b/tools/objtool/klp-diff.c index 4f66811..ccb16a4 100644 --- a/tools/objtool/klp-diff.c +++ b/tools/objtool/klp-diff.c @@ -802,7 +802,7 @@ static int mark_changed_functions(struct elfs *e) =20 /* Find changed functions */ for_each_sym(e->orig, sym_orig) { - if (!is_func_sym(sym_orig) || is_prefix_func(sym_orig)) + if (!is_func_sym(sym_orig) || dont_correlate(sym_orig)) continue; =20 patched_sym =3D sym_orig->twin; @@ -818,7 +818,7 @@ static int mark_changed_functions(struct elfs *e) =20 /* Find added functions and print them */ for_each_sym(e->patched, patched_sym) { - if (!is_func_sym(patched_sym) || is_prefix_func(patched_sym)) + if (!is_func_sym(patched_sym) || dont_correlate(patched_sym)) continue; =20 if (!patched_sym->twin) {