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

Josh Poimboeuf
2020-03-15T16:10:38Z

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