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 59BB22D2382 for ; Thu, 20 Nov 2025 20:52:31 +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=1763671951; cv=none; b=VlxSjh1t82Bn/QHGgGkKAUN3bXhcaV37JNesIjXd5rGVnCX+FkzCr8OUemuJsdz8Ez9E39huTdF9HJQjVDzHVE7Dc7QYHo62X0uE2QDUftCGw+r4+pwJnaR6zbkuknaLnDjS2MhxVVqLyT1lTySnjoSjv2ZoIra1zpywY8+2o3c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763671951; c=relaxed/simple; bh=+L3IZ/rPilevXaCkwpLBNYKTFVD9oNVEC8afp7V56EY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rkmzeQdb2RUZ1V8OQ8VvXBZiQR3oddCgDDYNkkqBpIoNU3fMK9bMYC74zUb6sS/qo6n+MzKGWlN8RR9ROdpY4Vq2gO5CZEdoWNZBrG1wqYG8J4NC+BuT6wDVnLH+N4D+0j5aY9trXHMQemrSOq2GA/50nQxrO6u/Pb8yDoEdvO8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HapcOvLa; 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="HapcOvLa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A3E94C4CEF1; Thu, 20 Nov 2025 20:52:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1763671950; bh=+L3IZ/rPilevXaCkwpLBNYKTFVD9oNVEC8afp7V56EY=; h=From:To:Cc:Subject:Date:From; b=HapcOvLakyhULqTkljv0AOTLHG+J0ZeZG07rvdLKWE1cl7ph6XbcVhvutJHUMhouW dFtz1SDSenFGUDi8Sg34cKnf2BzfmWNZsJEgN+MXsua5zGDOB27y68GVmZzzfG0O0L NcL5OMwszVfelDeXqqhlVXf9A58DDgSzT6YmWo27XIui4sDtwSi8giuxfd1HjkDEv6 80IyS2qyJFT0LHY2vpPwgQUZaynd2F/94sdyJWC8fs4s/8ifWH4z+Tc+Z/vzng25XT dB6WSCJw1/3TQJXlZulS+40Sag8b+HJ2B9bEU2QATAVwbEN6QWxNNhxk8sCA5NWEfE 4BGL5SlChZGeg== From: Josh Poimboeuf To: x86@kernel.org Cc: linux-kernel@vger.kernel.org, Peter Zijlstra , Rong Xu , Han Shen , Sriraman Tallam , Krzysztof Pszeniczny Subject: [PATCH 0/6] objtool: AUTOFDO fixes + alias improvements Date: Thu, 20 Nov 2025 12:52:14 -0800 Message-ID: X-Mailer: git-send-email 2.51.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit For tip/objtool/core. - Patches 1 and 2 fix some issues which were found when testing with AutoFDO .cold functions. - Patches 3-5 make improvements to the handling of symbol aliases. - Patch 6 uses the alias infrastructure to simplify the .cold parent/child correlation code. Josh Poimboeuf (6): objtool: Support Clang AUTOFDO .cold functions objtool: Fix .cold function detection for duplicate symbols objtool: Don't alias undefined symbols objtool: Return canonical symbol when aliases exist in symbol finding helpers objtool: Skip non-canonical aliased symbols in add_jump_table_alts() objtool: Remove second pass of .cold function correlation tools/objtool/check.c | 25 +--------- tools/objtool/elf.c | 71 +++++++++++++++++++++-------- tools/objtool/include/objtool/elf.h | 2 +- 3 files changed, 55 insertions(+), 43 deletions(-) -- 2.51.1