Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1510954 > unrolled thread

[GIT PULL] objtool fix

Started byIngo Molnar <mingo@kernel.org>
First post2016-10-28 10:40 +0200
Last post2016-10-28 10:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [GIT PULL] objtool fix Ingo Molnar <mingo@kernel.org> - 2016-10-28 10:40 +0200

#1510954 — [GIT PULL] objtool fix

FromIngo Molnar <mingo@kernel.org>
Date2016-10-28 10:40 +0200
Subject[GIT PULL] objtool fix
Message-ID<sxaRI-5SO-43@gated-at.bofh.it>
Linus,

Please pull the latest core-urgent-for-linus git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus

   # HEAD: 56fb2d6eb63acd48b50437b415b6f7d2fcffe75d objtool: Fix rare switch jump table pattern detection

One more objtool fixlet for GCC6 code generation patterns.

 Thanks,

	Ingo

------------------>
Josh Poimboeuf (1):
      objtool: Fix rare switch jump table pattern detection


 tools/objtool/builtin-check.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/objtool/builtin-check.c b/tools/objtool/builtin-check.c
index 4490601a9235..e8a1f699058a 100644
--- a/tools/objtool/builtin-check.c
+++ b/tools/objtool/builtin-check.c
@@ -754,7 +754,7 @@ static struct rela *find_switch_table(struct objtool_file *file,
 		if (insn->type == INSN_JUMP_UNCONDITIONAL &&
 		    insn->jump_dest &&
 		    (insn->jump_dest->offset <= insn->offset ||
-		     insn->jump_dest->offset >= orig_insn->offset))
+		     insn->jump_dest->offset > orig_insn->offset))
 		    break;
 
 		text_rela = find_rela_by_dest_range(insn->sec, insn->offset,

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web