aboutsummaryrefslogtreecommitdiffstats
path: root/tools/objtool/elf.h
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@redhat.com>2019-07-17 20:36:53 -0500
committerThomas Gleixner <tglx@linutronix.de>2019-07-18 21:01:09 +0200
commite7c2bc37bfae120bce3e7cc8c8abf9d110af0757 (patch)
tree77c8be2e0d5b99e7219d0222128f1bc1a6579711 /tools/objtool/elf.h
parentobjtool: Refactor sibling call detection logic (diff)
downloadlinux-dev-e7c2bc37bfae120bce3e7cc8c8abf9d110af0757.tar.xz
linux-dev-e7c2bc37bfae120bce3e7cc8c8abf9d110af0757.zip
objtool: Refactor jump table code
Now that C jump tables are supported, call them "jump tables" instead of "switch tables". Also rename some other variables, add comments, and simplify the code flow a bit. Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Nick Desaulniers <ndesaulniers@google.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/cf951b0c0641628e0b9b81f7ceccd9bcabcb4bd8.1563413318.git.jpoimboe@redhat.com
Diffstat (limited to '')
-rw-r--r--tools/objtool/elf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/objtool/elf.h b/tools/objtool/elf.h
index 2fe0b0aa741d..d4d3e0528d4a 100644
--- a/tools/objtool/elf.h
+++ b/tools/objtool/elf.h
@@ -57,7 +57,7 @@ struct rela {
struct list_head list;
struct hlist_node hash;
GElf_Rela rela;
- struct section *rela_sec;
+ struct section *sec;
struct symbol *sym;
unsigned int type;
unsigned long offset;