]> git.ipfire.org Git - thirdparty/linux.git/commit
objtool: Fix reloc_hash size
authorJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 30 May 2023 17:20:57 +0000 (10:20 -0700)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 7 Jun 2023 17:03:16 +0000 (10:03 -0700)
commiteb0481bbc4ce386e73e28ad8590b4f12c8aded56
tree45ddec66591071900378c3aeef5bc9a7b5ea5add
parent53257a977a69b5eabbaafb64dcd767d2a4fef2b3
objtool: Fix reloc_hash size

With CONFIG_DEBUG_INFO, DWARF creates a lot of relocations and
reloc_hash is woefully undersized, which can affect performance
significantly.  Fix that.

Link: https://lore.kernel.org/r/38ef60dc8043270bf3b9dfd139ae2a30ca3f75cc.1685464332.git.jpoimboe@kernel.org
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
tools/objtool/elf.c
tools/objtool/include/objtool/elf.h