Re: [RFC][PATCH 05/16] objtool: Optimize find_symbol_by_index()

From: Josh Poimboeuf
Date: Sun Mar 15 2020 - 12:10:37 EST


On Thu, Mar 12, 2020 at 02:41:12PM +0100, Peter Zijlstra wrote:
> @@ -289,7 +286,8 @@ static int read_symbols(struct elf *elf)
> }
> sym->alias = alias;
> list_add(&sym->list, entry);
> - hash_add(sym->sec->symbol_hash, &sym->hash, sym->idx);
> +
> + hash_add(elf->symbol_hash, &sym->hash, sym->idx);

Unnecessary added whitespace.

--
Josh