lkml.org 
[lkml]   [2021]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 05/14] objtool: Per arch retpoline naming
On Thu, Mar 18, 2021 at 09:38:14PM -0500, Josh Poimboeuf wrote:
> On Thu, Mar 18, 2021 at 06:11:08PM +0100, Peter Zijlstra wrote:
> > @@ -872,7 +877,7 @@ static int add_jump_destinations(struct
> > } else if (reloc->sym->type == STT_SECTION) {
> > dest_sec = reloc->sym->sec;
> > dest_off = arch_dest_reloc_offset(reloc->addend);
> > - } else if (!strncmp(reloc->sym->name, "__x86_indirect_thunk_", 21)) {
> > + } else if (arch_is_retpoline(reloc->sym)) {
> > /*
> > * Retpoline jumps are really dynamic jumps in
> > * disguise, so convert them accordingly.
>
> There's another one in add_call_destinations().

Bah, I'm sure I converted all of them at some point, must've lost a hunk
somewhere along the way. Fixed!

\
 
 \ /
  Last update: 2021-03-19 10:08    [W:0.106 / U:1.992 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site