Re: [PATCH v5 05/10] objtool/LoongArch: Add support for switch table
From: Josh Poimboeuf
Date: Mon Dec 09 2024 - 15:39:39 EST
On Sat, Dec 07, 2024 at 09:59:10AM +0800, Tiezhu Yang wrote:
> struct reloc *arch_find_switch_table(struct objtool_file *file,
> struct instruction *insn,
> unsigned long *table_size)
> {
This seems to be a partial implementation as it doesn't set
'table_size', resulting in undefined behavior when the size gets used by
objtool later. I suppose this patch should be squashed with the next
one?
--
Josh