patchelf
patchelf copied to clipboard
Fixes for static PIE executables
Most notably, this attempts to avoid growing the dynamic section when adding an rpath, since that results in repositioning the section, which means that existing IP-relative references to the _DYNAMIC
symbol will become invalid.
@rcombs could you rebase?
Done.
It seems that PRs with tests are preferred :) https://github.com/NixOS/patchelf/pull/225