makeelf icon indicating copy to clipboard operation
makeelf copied to clipboard

sh_info is set improperly on sym table section header

Open MNGoldenEagle opened this issue 2 years ago • 0 comments

According to the ELF spec, sh_info is supposed to be set to the total number of local-bound symbols + 1. However, the current implementation sets this to the total number of all symbols + 1. This causes issues with the ld linker, as any global symbols will not be discoverable.

MNGoldenEagle avatar Jun 24 '22 05:06 MNGoldenEagle