objtool: Get rid of reloc->idx
Use the array offset to calculate the reloc index. With allyesconfig + CONFIG_DEBUG_INFO: - Before: peak heap memory consumption: 45.56G - After: peak heap memory consumption: 43.83G Link: https://lore.kernel.org/r/7351d2ebad0519027db14a32f6204af84952574a.1685464332.git.jpoimboe@kernel.orgSigned-off-by:Josh Poimboeuf <jpoimboe@kernel.org>
Showing
Please register or sign in to comment