Skip to content

Releases: NixOS/patchelf

0.15.5

13 Aug 03:38
Compare
Choose a tag to compare

Bugfix backports from 0.18.0:

Bugfix backports from 0.17.{0, 1}:

  • Fix page size constants for Itanium and SPARC.
  • Fix Out-of-bounds read in the function modifySoname by @yairKoskas in #451

0.15.4

13 Aug 02:39
Compare
Choose a tag to compare
  • Update to a later glibc elf.h.

    This should not result in any behavioral changes, except for possibly better architecture-specific support.

0.15.3

13 Aug 02:08
Compare
Choose a tag to compare

This is a backport release made from the simplest fixes from 0.16.0.

  • Handle glibc-hwcaps on ppc64le on CentOS/RHEL/Rocky 8 for tests/replace-add-needed.sh (fixes #406) by @robert-scheck in #407
  • Fix Out-of-bounds read in the function modifyRPath by @xiaoxiaoafeifei in #419
  • Fix out of bounds access when increasing program header table by @Bo98 in #411

0.15.2

12 Aug 21:22
Compare
Choose a tag to compare
  • In the autotools build system for the tests, pass a few more tool env vars in TESTS_ENVIRONMENT.

    Some of them are not used yet (at all, or at least not in this backport to the 0.15-maintenance branch), but at least STRIP is.

0.15.1

12 Aug 20:26
Compare
Choose a tag to compare

The objective is to prepare a very conservative patch release which can be bumped in Nixpkgs immediately.

  • Backport infra changes from later master (August 2025)
  • Backport shellcheck fixes to test suite
  • Backport C++ code quality fixes (all of #464 but the final two commits)

The behavior of this version should be essentially the same as 0.15.0.

0.18.0

23 Apr 11:37
99c2423
Compare
Choose a tag to compare

What's Changed

  • Add options to print, clear and set executable stack state by @cgzones in #456
  • Modernizations and strictness improvements by @cgzones in #464
  • Add feature to rename dynamic symbols by @brenoguim in #459
  • Adjust roundUp for 0 as input by @cgzones in #466
  • Avoid overlapping program header table with section header table #457 by @brenoguim in #460
  • Other switches might set changed as true. Use extraStrings size. #416 by @brenoguim in #473
  • Use the largest segment alignment for libraries requiring non-standard alignments #474 by @brenoguim in #475
  • Add one extra page to avoid overlapping with next page if its rounded… by @brenoguim in #469
  • Add zsh completion by @Freed-Wu in #490
  • Do not let modifyRPath taint shared strings in strtab. Fix #315 by @brenoguim in #481
  • Resize segment mapping rewritten sections if needed #482 by @brenoguim in #485

New Contributors

Full Changelog: 0.17.2...0.18.0

0.17.2

10 Jan 19:40
Compare
Choose a tag to compare
  • fix incorrect version in 0.17.1

0.17.1

10 Jan 18:22
583fd5a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.17.0...0.17.1

0.17.0

07 Nov 10:00
ad02656
Compare
Choose a tag to compare

What's Changed

Thanks to @matoro I was able to test this release on itanium64, mips64 and sparc64. Additionally I run patchelf on powerpc64 and added a binary release for windows.

  • fix pagesize on ia64 by @Mic92 in #428
  • write out replace sections in original order by @Mic92 in #430
  • patchelf: correct page size for sparc64/sparc32 by @Mic92 in #433
  • update vendored elf file by @Mic92 in #434
  • add workaround for readelf from binutils 2.30 by @Mic92 in #435
  • make objdump/objcopy/readelf configurable and respect cross-compiling… by @Mic92 in #437
  • build patchelf on windows by @Mic92 in #439

Full Changelog: 0.16.1...0.17.0

0.16.1

28 Oct 07:44
Compare
Choose a tag to compare

This release only fixes the incorrect reported version by the 0.16.0 release.