lkml.org 
[lkml]   [2023]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [tip: x86/core] x86/retpoline,kprobes: Fix position of thunk sections with CONFIG_LTO_CLANG
On Wed, Aug 02, 2023 at 02:33:16PM -0000, tip-bot2 for Petr Pavlu wrote:
> The following commit has been merged into the x86/core branch of tip:
>
> Commit-ID: 973ab2d61f33dc85212c486e624af348c4eeb5c9
> Gitweb: https://git.kernel.org/tip/973ab2d61f33dc85212c486e624af348c4eeb5c9
> Author: Petr Pavlu <petr.pavlu@suse.com>
> AuthorDate: Tue, 11 Jul 2023 11:19:51 +02:00
> Committer: Peter Zijlstra <peterz@infradead.org>
> CommitterDate: Wed, 02 Aug 2023 16:27:07 +02:00
>
> x86/retpoline,kprobes: Fix position of thunk sections with CONFIG_LTO_CLANG
>

[...]

> --- a/tools/objtool/check.c
> +++ b/tools/objtool/check.c
> @@ -389,7 +389,7 @@ static int decode_instructions(struct objtool_file *file)
> if (!strcmp(sec->name, ".noinstr.text") ||
> !strcmp(sec->name, ".entry.text") ||
> !strcmp(sec->name, ".cpuidle.text") ||
> - !strncmp(sec->name, ".text.__x86.", 12))
> + !strncmp(sec->name, ".text..__x86.", 12))

Andy Cooper reported this should be 13.

--
Josh

\
 
 \ /
  Last update: 2023-08-03 23:57    [W:0.145 / U:2.848 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site