Reserving specified size of RUNPATH entry in the dynamic section during linking
Jacob Kroon
jacob.kroon@gmail.com
Sat Nov 27 22:05:38 GMT 2021
Hi,
As part of an effort to make binaries reproducible regardless of their
build path, I need to enforce the same size of the RUNPATH entry in the
dynamic section during linking, even though I don't fill it completely.
Is it possible to give some flag to gnu ld that allows me to set it to a
specific size ? Or is there a way to patch the elf file after linking,
so that the entry has a specified size ?
Regards
Jacob
More information about the Gcc-help
mailing list