Releases: NixOS/patchelf
0.15.5
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
-
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
This is a backport release made from the simplest fixes from 0.16.0.
- Handle
glibc-hwcaps
onppc64le
on CentOS/RHEL/Rocky 8 fortests/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
-
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 leastSTRIP
is.
0.15.1
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
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
- @cgzones made their first contribution in #456
- @brenoguim made their first contribution in #459
- @cedric84 made their first contribution in #488
- @Freed-Wu made their first contribution in #490
Full Changelog: 0.17.2...0.18.0
0.17.2
0.17.1
What's Changed
- Also pass STRIP to the tests by @heirecka in #443
- Fix Out-of-bounds read in the function modifySoname by @yairKoskas in #451
- Split segment size fix by @otherjason in #447
New Contributors
- @heirecka made their first contribution in #443
- @yairKoskas made their first contribution in #451
- @otherjason made their first contribution in #447
Full Changelog: 0.17.0...0.17.1
0.17.0
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