From nobody Sat Jun 13 22:03:23 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 DD2B038423F; Tue, 5 May 2026 10:56:14 +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=1777978576; cv=none; b=X6NJmhf4bnul0uUDcp7BsYYg6QDQapqU0SZrcIfobDCbtd1nD9VcoePCqACowX2xFULoiZvWxR86tFTS22VvR3hOcdOQE+LHP+hK/xVfFtMUVRWtWtwkobUurE7px/Y/U49hamVbaIq2MyhKSU3bRtGHoAmp+JvgA0Z0l3iYxZc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777978576; c=relaxed/simple; bh=YsGQRpzielkt97xTa9SCC/AbaxtW02h1BSFYI7nyoOA=; h=Date:From:To:Subject:Cc:MIME-Version:Message-ID:Content-Type; b=urh4X8ACkfVz3QRAmp8v3OIpPnCRqcR5dwZ0HruP5+fedZjARy0fyHSJo3EBIL1nLYlQQYEbheQOrFrL+u/4/PczltWfofh38ESBlNkX16sPGjmAHcmKCE9KuO7EOZY/xddnxZaSl9eVyVl4u92JwYmZLvlZbYEBmpmclMeZcAA= 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=sFJJiIEi; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=ddcFktU1; 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="sFJJiIEi"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ddcFktU1" Date: Tue, 05 May 2026 10:56:12 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1777978573; 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=NkhL6dj+r4ll9vBAQ64ZG/4q6plwQVCtcxjHcaA1yoQ=; b=sFJJiIEisIrTNAOt1pO3kPUAig0IfACUPXB6JGvFqZUQ/1h2IJS+s0spYn5Z+ZLHjQzS3r 7y3Qc5FwVRcOmalm/gqZQcGG5u300cvvVECPdIWygPKcdWft0DNHbEa+kh1UXsdChCyiyj 1FzWk6X5GShUYZm6bpK6hpxPf3TqmNkwuQbl0br+N9HkSpGt+aUbd0te6xEGevpKBhkhTS U92ou/vBHdeesERUOeF/xT6N8R5Y2BRRUSYLzIMVVVXrGUW8guRtSSc9i9CYwSsosgiJki KpnrNuOr346AITj23i8lAhafK1jHeM8zjg1LRCw2EIEz9d5eIEQSSlo6ooph4Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1777978573; 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=NkhL6dj+r4ll9vBAQ64ZG/4q6plwQVCtcxjHcaA1yoQ=; b=ddcFktU1cMRcqtD70nYK9CpXmwurGz1yPoIrruq7d4G/xgaDBHBtr6v877t41Rs87UyHbG up/svzAbukvdN9Dw== 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: Handle Clang .data..Lanon anonymous data sections Cc: 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: <177797857214.424702.6447349732094446272.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: ff0cf5efef40e3b60e7bb27a6072f9a0c6e4c5ce Gitweb: https://git.kernel.org/tip/ff0cf5efef40e3b60e7bb27a6072f9a0c= 6e4c5ce Author: Josh Poimboeuf AuthorDate: Thu, 09 Apr 2026 20:50:35 -07:00 Committer: Josh Poimboeuf CommitterDate: Mon, 04 May 2026 21:16:04 -07:00 objtool/klp: Handle Clang .data..Lanon anonymous data sections Clang generates anonymous data sections named .data..Lanon.. These need section-symbol references in the same way as .data..Lubsan (GCC) and .data..L__unnamed_ (Clang UBSAN) sections. Without this, convert_reloc_sym() fails when processing relocations that reference these sections. Acked-by: Song Liu Signed-off-by: Josh Poimboeuf --- tools/objtool/klp-diff.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/objtool/klp-diff.c b/tools/objtool/klp-diff.c index 463b6da..7e58ef3 100644 --- a/tools/objtool/klp-diff.c +++ b/tools/objtool/klp-diff.c @@ -1030,14 +1030,15 @@ found_sym: } =20 /* - * Sections with anonymous or uncorrelated data (strings, UBSAN data) - * need section symbol references. + * Sections with anonymous or uncorrelated data (strings, UBSAN data, Clang + * anonymous constants) need section symbol references. */ static bool is_uncorrelated_section(struct section *sec) { return is_string_sec(sec) || strstarts(sec->name, ".data..Lubsan") || /* GCC */ - strstarts(sec->name, ".data..L__unnamed_"); /* Clang */ + strstarts(sec->name, ".data..L__unnamed_") || /* Clang */ + strstarts(sec->name, ".data..Lanon."); /* Clang */ } =20 /*