summaryrefslogtreecommitdiff
path: root/tools/objtool/special.h
diff options
context:
space:
mode:
authorJulien Thierry <jthierry@redhat.com>2020-03-27 18:28:42 +0300
committerPeter Zijlstra <peterz@infradead.org>2020-04-30 21:14:31 +0300
commit9e98d62aa7ea1375052895650f3e6d362336c5c9 (patch)
tree1a4ee6266ff4f2f579a6d9cfa69cc1ce4cfca5f1 /tools/objtool/special.h
parent0c98be8118221a8d3de572740f29dd02ed9686a5 (diff)
downloadlinux-9e98d62aa7ea1375052895650f3e6d362336c5c9.tar.xz
objtool: Remove check preventing branches within alternative
While jumping from outside an alternative region to the middle of an alternative region is very likely wrong, jumping from an alternative region into the same region is valid. It is a common pattern on arm64. The first pattern is unlikely to happen in practice and checking only for this adds a lot of complexity. Just remove the current check. Suggested-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Julien Thierry <jthierry@redhat.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Miroslav Benes <mbenes@suse.cz> Link: https://lkml.kernel.org/r/20200327152847.15294-6-jthierry@redhat.com
Diffstat (limited to 'tools/objtool/special.h')
0 files changed, 0 insertions, 0 deletions