- Add --print-os-abi and --set-os-abi options
- Fix Out-of-bounds read in the function modifyRPath
- Sync .note.gnu.property to PT_GNU_PROPERTY
- Fix out of bounds access when increasing program header table
- Rework file shifting to avoid sections crossing multiple segments
* Add --add-debug option
* Add O_BINARY flag when opening files to allow compilation for Windows
* Document --print-needed
* modifyRPath: return early if new and old rpath are empty
* Add comment explaining calculation for DT_MIPS_RLD_MAP_REL
* Add --no-sort option
* Handle DT_MIPS_XHASH and .MIPS.xhash
PatchELF is a simple utility for modifying existing ELF executables and
libraries. In particular, it can do the following:
* Change the dynamic loader ("ELF interpreter") of executables
* Change the `RPATH` of executables and libraries
* Shrink the `RPATH` of executables and libraries
* Remove declared dependencies on dynamic libraries (`DT_NEEDED` entries)
* Add a declared dependency on a dynamic library (`DT_NEEDED`)
* Replace a declared dependency on a dynamic library with another one
(`DT_NEEDED`)
* Change `SONAME` of a dynamic library
OK abieber