On Thu, 10 Oct 2024 at 21:52, Josh Poimboeuf wrote:
>
> On Thu, Oct 10, 2024 at 02:28:04PM +0200, Ard Biesheuvel wrote:
> > @@ -,7 +2234,6 @@ static void mark_func_jump_tables(struct objtool_file
> > *file,
> > struct symbol *func)
> > {
> > struct ins
On Thu, Oct 10, 2024 at 02:28:04PM +0200, Ard Biesheuvel wrote:
> @@ -,7 +2234,6 @@ static void mark_func_jump_tables(struct objtool_file
> *file,
> struct symbol *func)
> {
> struct instruction *insn, *last = NULL;
> - struct reloc *reloc;
>
>
From: Ard Biesheuvel
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