]> www.infradead.org Git - users/jedix/linux-maple.git/commit
objtool: Get rid of reloc->rel[a]
authorJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 30 May 2023 17:21:12 +0000 (10:21 -0700)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 7 Jun 2023 17:03:26 +0000 (10:03 -0700)
commitec24b927c1fbfc91cf7a48276d9fd92072b17d3b
treee8db701fb40cd41929765aa257e72b6311d3120a
parent02b54001066364aee72bc4c802b42a96c6e0dc1f
objtool: Get rid of reloc->rel[a]

Get the relocation entry info from the underlying rsec->data.

With allyesconfig + CONFIG_DEBUG_INFO:

- Before: peak heap memory consumption: 35.12G
- After:  peak heap memory consumption: 29.93G

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