Skip to content

Releases: NixOS/patchelf

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.

PatchELF 0.12

27 Aug 11:58
8d3a16e
Compare
Choose a tag to compare
  • New --clear-symbol-version flag.
  • Better support for relocating NOTE sections/segments.
  • Improved the default section alignment choice.
  • Bug fixes.

PatchELF 0.11

16 Jul 06:38
Compare
Choose a tag to compare
  • New --output flag.
  • Some bug fixes.

PatchELF 0.10

16 Jul 06:41
Compare
Choose a tag to compare

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

Full Changelog: 0.9...0.10

PatchELF 0.9

16 Jul 06:42
Compare
Choose a tag to compare

Full Changelog: 0.8...0.9

PatchELF 0.8

16 Jul 06:43
Compare
Choose a tag to compare

Full Changelog: 0.7...0.8

  • Fix a segfault caused by certain illegal entries in symbol tables.