diff options
Diffstat (limited to 'tools/objtool/arch/x86/special.c')
| -rw-r--r-- | tools/objtool/arch/x86/special.c | 8 | 
1 files changed, 1 insertions, 7 deletions
diff --git a/tools/objtool/arch/x86/special.c b/tools/objtool/arch/x86/special.c index 7c97b7391279..799ad6bb72e5 100644 --- a/tools/objtool/arch/x86/special.c +++ b/tools/objtool/arch/x86/special.c @@ -42,13 +42,7 @@ bool arch_support_alt_relocation(struct special_alt *special_alt,  				 struct instruction *insn,  				 struct reloc *reloc)  { -	/* -	 * The x86 alternatives code adjusts the offsets only when it -	 * encounters a branch instruction at the very beginning of the -	 * replacement group. -	 */ -	return insn->offset == special_alt->new_off && -	       (insn->type == INSN_CALL || is_jump(insn)); +	return true;  }  /*  | 
