Releases: NixOS/patchelf
Releases · NixOS/patchelf
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.
PatchELF 0.12
- New
--clear-symbol-version
flag. - Better support for relocating NOTE sections/segments.
- Improved the default section alignment choice.
- Bug fixes.
PatchELF 0.11
- New
--output
flag. - Some bug fixes.
PatchELF 0.10
What's Changed
- Teach --replace-needed to update .gnu.version_r table by @njsmith in #85
- Fix bug in walking .gnu.version_r linked list by @njsmith in #86
- no-rpath-prebuild: force pagesize to 4096 on prebuilt binaries by @fsateler in #81
- Add '--allowed-rpath-prefixes' option to '--shrink-rpath' … by @dezgeg in #98
- Avoid inflating file sizes needlessly and allow binaries to be stripped by @rpurdie in #117
- configure.ac: use "command -v" instead of "type -p" by @bjornfor in #129
- Better error messages when run on statically-linked (or otherwise weird) binaries by @dezgeg in #121
- Bugfix for CompPhdr::operator() that could cause sort to fail. by @kmillar in #139
- Allow multiple filenames to patch by @lheckemann in #123
- fix reading and writing big files (e.g. > 2Gb) by @stmarkevich in #148
- Fix issue #66: ignore 0th section header when sorting, don't overwrite NOBITS by @ezquat in #149
New Contributors
- @njsmith made their first contribution in #85
- @chewi made their first contribution in #83
- @dezgeg made their first contribution in #98
- @jwilk made their first contribution in #119
- @kroggen made their first contribution in #125
- @bhipple made their first contribution in #140
- @adam-trhon made their first contribution in #141
- @kmillar made their first contribution in #139
- @stmarkevich made their first contribution in #148
- @ezquat made their first contribution in #149
Full Changelog: 0.9...0.10
PatchELF 0.9
Full Changelog: 0.8...0.9
PatchELF 0.8
Full Changelog: 0.7...0.8
- Fix a segfault caused by certain illegal entries in symbol tables.