Skip to content

Releases: NixOS/patchelf

0.16.0

27 Oct 06:17
af77f12
Compare
Choose a tag to compare

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

Full Changelog: 0.15.0...0.16.0

PatchELF 0.15.0

16 Jul 05:28
Compare
Choose a tag to compare

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

Full Changelog: 0.14.5...0.15.0

PatchELF 0.14.5

21 Feb 13:32
Compare
Choose a tag to compare
  • fix faulty version in 0.14.4

PatchELF 0.14.4

16 Jul 06:34
Compare
Choose a tag to compare

PatchELF 0.14.3

05 Dec 14:45
Compare
Choose a tag to compare
  • this release adds support for static, pre-compiled patchelf binaries

PatchELF 0.14.2

29 Nov 10:03
2ac5798
Compare
Choose a tag to compare
  • make version number in tarball easier to use for packagers

PatchELF 0.14.1

28 Nov 10:51
8f7b4a7
Compare
Choose a tag to compare
  • build fix: add missing include

PatchELF 0.14

27 Nov 17:58
babde50
Compare
Choose a tag to compare
  • 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

27 Nov 23:32
Compare
Choose a tag to compare
  • 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

05 Aug 12:58
a949ff2
Compare
Choose a tag to compare
  • New --add-rpath flag.

  • Bug fixes.