16 Commits

Author SHA1 Message Date
kn
a26bf2b12c Update to patchelf 0.17.0
Relevant changes:
- write out replace sections in original order
- patchelf: correct page size for sparc64
- update vendored elf file
2022-11-08 23:03:43 +00:00
kn
4b9e3df4e9 Update to patchelf 0.16.1
- Add --print-os-abi and --set-os-abi options
- Fix Out-of-bounds read in the function modifyRPath
- Sync .note.gnu.property to PT_GNU_PROPERTY
- Fix out of bounds access when increasing program header table
- Rework file shifting to avoid sections crossing multiple segments
2022-10-29 07:49:51 +00:00
kn
4393880f40 Update to patchelf 0.15.0
* Add --add-debug option
* Add O_BINARY flag when opening files to allow compilation for Windows
* Document --print-needed
* modifyRPath: return early if new and old rpath are empty
* Add comment explaining calculation for DT_MIPS_RLD_MAP_REL
* Add --no-sort option
* Handle DT_MIPS_XHASH and .MIPS.xhash
2022-07-17 11:54:00 +00:00
naddy
2b3700e37e drop RCS Ids 2022-03-11 19:57:10 +00:00
kn
e7411f37c1 Remove RCSIDs from ports I maintain 2022-03-10 12:03:30 +00:00
kn
c0bf5a364b Avoid --build-id on non-clang/ld.bfd(1) arches to enable sparc64 test build 2022-02-23 01:45:10 +00:00
kn
3a8dc6e2ed Use devel/gas for tests on non-clang arches to fix sparc64 test build 2022-02-23 01:43:12 +00:00
kn
bb5d5aacc2 Update to patchelf 0.14.5
All fixes/quirks for tests were merged, amd64 succeeds 44/45 tests while
sparc64/ld.bfd(1) remains a bumpy ride.
2022-02-22 23:21:00 +00:00
kn
e476f519e9 explain build-id test failure 2021-12-06 19:26:45 +00:00
kn
1f42112a68 grow-file.sh test required GNU head(1) 2021-12-06 17:46:41 +00:00
kn
6aeb92b0b2 Update to patchelf 0.14.3 2021-12-06 15:41:11 +00:00
kn
03c78194fe Update to patchelf 0.14.2
Upstream fixed the WRKDIST situation, nothing else.
Avoid bzip2 dependency while here.
2021-11-30 11:29:46 +00:00
kn
aeea911e11 Tests need GNU seq(1) now, update comments 2021-11-28 17:37:30 +00:00
kn
e5dcaab25e Update to patchelf 0.14.1
Requires C++17 now, WRKDIST should be stable across updates now.
2021-11-28 17:34:03 +00:00
kn
a7c88febb4 Update to patchelf 0.13 2021-08-28 11:18:58 +00:00
kn
6aad4dd8da Import patchelf 0.12
PatchELF is a simple utility for modifying existing ELF executables and
libraries.  In particular, it can do the following:

* Change the dynamic loader ("ELF interpreter") of executables
* Change the `RPATH` of executables and libraries
* Shrink the `RPATH` of executables and libraries
* Remove declared dependencies on dynamic libraries (`DT_NEEDED` entries)
* Add a declared dependency on a dynamic library (`DT_NEEDED`)
* Replace a declared dependency on a dynamic library with another one
  (`DT_NEEDED`)
* Change `SONAME` of a dynamic library

OK abieber
2021-05-27 16:12:16 +00:00