summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2024-10-11 19:08:50 +0200
committerPeter Zijlstra <peterz@infradead.org>2024-12-02 12:24:29 +0100
commitc3cb6c158c64dc39838208d51dcd06d1990b371d (patch)
tree9ef9e5ed45de26f53bc839aeaac057ff04ce1b93 /scripts/generate_rust_analyzer.py
parente7e0eb53c2f0f68fe2577472ce2802a4efd9d7ce (diff)
objtool: Allow arch code to discover jump table size
In preparation for adding support for annotated jump tables, where ELF relocations and symbols are used to describe the locations of jump tables in the executable, refactor the jump table discovery logic so the table size can be returned from arch_find_switch_table(). Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20241011170847.334429-12-ardb+git@google.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions