summaryrefslogtreecommitdiff
path: root/tools/include
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@redhat.com>2018-02-28 07:19:21 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-15 10:56:55 +0100
commit58e0bb003523a46190f5c1399272a391990521ca (patch)
tree8a004881efe6d72334f22ef888d7ea84c202dc35 /tools/include
parentd5f6877f0af8a2feaf7a1e362791adb283cb651d (diff)
objtool: Fix another switch table detection issue
commit 1402fd8ed7e5bda1b3e7613b70780b0db392d1e6 upstream. Continue the switch table detection whack-a-mole. Add a check to distinguish KASAN data reads from switch data reads. The switch jump tables in .rodata have relocations associated with them. This fixes the following warning: crypto/asymmetric_keys/x509_cert_parser.o: warning: objtool: x509_note_pkey_algo()+0xa4: sibling call from callable instruction with modified stack frame Reported-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Arnd Bergmann <arnd@arndb.de> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lkml.kernel.org/r/d7c8853022ad47d158cb81e953a40469fc08a95e.1519784382.git.jpoimboe@redhat.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/include')
0 files changed, 0 insertions, 0 deletions