]> git.ipfire.org Git - thirdparty/linux.git/commit
objtool: Get rid of reloc->list
authorJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 30 May 2023 17:21:04 +0000 (10:21 -0700)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 7 Jun 2023 17:03:20 +0000 (10:03 -0700)
commitebcef730a19ba7ca446169f391d2e51722d68043
tree970acb1cad172cfd1c44fea5f6c0fe76d2381210
parente0a9349b4c590145c6a83e6c9f7701cec42debbd
objtool: Get rid of reloc->list

Now that all relocs are allocated in an array, the linked list is no
longer needed.

With allyesconfig + CONFIG_DEBUG_INFO:

- Before: peak heap memory consumption: 49.02G
- After:  peak heap memory consumption: 45.56G

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