Releases: NixOS/patchelf
Releases · NixOS/patchelf
0.16.0
What's Changed
- Handle glibc-hwcaps on ppc64le on CentOS/RHEL/Rocky 8 for tests/replace-add-needed.sh (fixes #406) by @robert-scheck in #407
- Add --print-os-abi and --set-os-abi options by @dmsck in #381
- Fix Out-of-bounds read in the function modifyRPath by @xiaoxiaoafeifei in #419
- Sync .note.gnu.property to PT_GNU_PROPERTY by @Bo98 in #414
- Fix out of bounds access when increasing program header table by @Bo98 in #411
- Rework file shifting to avoid sections crossing multiple segments by @Bo98 in #415
New Contributors
- @robert-scheck made their first contribution in #407
- @dmsck made their first contribution in #381
- @xiaoxiaoafeifei made their first contribution in #419
- @Bo98 made their first contribution in #414
Full Changelog: 0.15.0...0.16.0
PatchELF 0.15.0
What's Changed
- Add --add-debug option by @Deadw00D in #367
- Add O_BINARY flag when opening files to allow compilation for Windows by @JagoGyselinck in #372
- Document --print-needed by @klemensn in #375
- modifyRPath: return early if new and old rpath are empty by @ehmry in #376
- Add comment explaining calculation for DT_MIPS_RLD_MAP_REL by @amjoseph-nixpkgs in #379
- Add --no-sort option by @amjoseph-nixpkgs in #378
- Handle DT_MIPS_XHASH and .MIPS.xhash by @amjoseph-nixpkgs in #380
New Contributors
- @Deadw00D made their first contribution in #367
- @JagoGyselinck made their first contribution in #372
- @ehmry made their first contribution in #376
Full Changelog: 0.14.5...0.15.0
PatchELF 0.14.5
- fix faulty version in 0.14.4
PatchELF 0.14.4
- Several test fixes to fix patchelf test suite on openbsd by @klemensn
- Allow multiple modifications in same call by @fzakaria in #361
- Add support to build with musl by @fzakaria in #362
- Fix typo: s/folllow/follow/ by @bjornfor in #366
- mips: fix incorrect polarity on dyn_offset; closes #364 by @a-m-joseph in #365
PatchELF 0.14.3
- this release adds support for static, pre-compiled patchelf binaries
PatchELF 0.14.2
- make version number in tarball easier to use for packagers
PatchELF 0.14.1
- build fix: add missing include
PatchELF 0.14
- Bug fixes:
- Fix corrupted library names when using --replace-needed multiple times
- Fix setting an empty rpath
- Don't try to parse .dynamic section of type NOBITS
- Fix use-after-free in normalizeNoteSegments
- Correct EINTR handling in writeFile
- MIPS: Adjust PT_MIPS_ABIFLAGS segment and DT_MIPS_RLD_MAP_REL dynamic section if present
- Fix binaries without .gnu.hash section
- Support loongarch architecture
- Remove limits on output file size for elf files
- Allow reading rpath from file
- Requires now C++17 for building
PatchELF 0.13.1
- Bug fixes:
- fix setting empty rpath
- use memcpy instead of strcpy to set rpath
- Don't try to parse .dynamic section of type NOBITS
- fix use-after-free in normalizeNoteSegments
- correct EINTR handling in writeFile
- Adjust PT_MIPS_ABIFLAGS segment if present
- Adjust DT_MIPS_RLD_MAP_REL dynamic section entry if present
- fix binaries without .gnu.hash section
PatchELF 0.13
-
New
--add-rpath
flag. -
Bug fixes.