Jörg Thalheim
2cb863fb75
update vendored elf file
2022-11-06 10:26:41 +01:00
Jörg Thalheim
90fb373b58
Merge pull request #433 from NixOS/ci
...
patchelf: correct page size for sparc64/sparc32
2022-11-06 10:11:44 +01:00
Jörg Thalheim
da968fb849
patchelf: correct page size for sparc64/sparc32
2022-11-06 10:07:02 +01:00
Jörg Thalheim
337b8dd141
Merge pull request #432 from NixOS/flake-deps
...
switch to nixpkgs-unstable in flake
2022-11-06 09:00:54 +01:00
Jörg Thalheim
c3682eb555
switch to nixpkgs-unstable in flake
2022-11-06 08:56:49 +01:00
Jörg Thalheim
26559397d9
Merge pull request #430 from NixOS/ia64-fixes
...
write out replace sections in original order
2022-11-05 14:30:01 +01:00
Jörg Thalheim
42394e880b
write out replace sections in original order
...
Libc and other programs sometimes make assumption in which order
sections.
i.e. glibc expects that the strtab is after the symtab section: 9cc9d61ee1/elf/dl-fptr.c (L179)
To decrease the likelyhood of breakages we keep the relative order the
same when replacing section.
2022-11-05 14:12:11 +01:00
Jörg Thalheim
7c18779e85
Merge pull request #428 from NixOS/ia64-fixes
...
fix pagesize on ia64
2022-11-04 17:07:53 +01:00
Jörg Thalheim
b21526c11a
fix pagesize on ia64
2022-11-04 17:03:08 +01:00
Jörg Thalheim
a6ca31778b
Merge pull request #427 from NixOS/ci
...
Set dev version suffix in master branch
2022-11-04 16:32:41 +01:00
Jörg Thalheim
f9801198bf
Set dev version suffix in master branch
2022-11-04 16:31:09 +01:00
Jörg Thalheim
438d23e29c
no newline in version file
2022-10-28 09:41:27 +02:00
Jörg Thalheim
c6d9c49f24
patchelf: bump version
2022-10-28 09:39:02 +02:00
Jörg Thalheim
af77f12554
Merge pull request #415 from Bo98/load-overlap-fix
...
Rework file shifting to avoid sections crossing multiple segments
2022-10-26 08:47:39 +02:00
Jörg Thalheim
ec72eeb4dd
Merge pull request #421 from NixOS/riscv64
...
ci: add riscv64 support
2022-10-26 08:46:23 +02:00
Jörg Thalheim
7b9def4069
ci: add riscv64 support
2022-10-26 08:41:36 +02:00
Jörg Thalheim
2d6e7cf421
Merge pull request #420 from NixOS/flake-update
...
Flake update
2022-10-26 08:27:53 +02:00
Jörg Thalheim
582a96a2e3
update nixpkgs
2022-10-26 08:22:00 +02:00
Bo Anderson
15f02b0f7a
Skip empty PT_NOTE sections
...
Previous versions of patchelf prior to 0.12 could create empty PT_NOTE sections. For backwards compatibility reasons, we should not error on such binaries.
Fixes #400 .
2022-10-26 08:20:56 +02:00
Jörg Thalheim
0582e4d9c2
Merge pull request #412 from Bo98/scratch-fix
...
tests/contiguous-note-sections.sh: use scratch directory
2022-10-26 08:18:51 +02:00
Jörg Thalheim
55d5db9dde
Merge pull request #411 from Bo98/notes-bounds
...
Fix out of bounds access when increasing program header table
2022-10-26 08:18:40 +02:00
Jörg Thalheim
80329739f3
Merge pull request #414 from Bo98/gnu-property
...
Sync .note.gnu.property to PT_GNU_PROPERTY
2022-10-26 08:17:51 +02:00
Jörg Thalheim
b751eeb137
Merge pull request #419 from xiaoxiaoafeifei/master
...
Fix Out-of-bounds read in the function modifyRPath
2022-10-26 08:11:17 +02:00
Jörg Thalheim
ea989aeee2
Merge pull request #409 from NixOS/cxx-17
...
fix c++17 check
2022-10-26 08:10:42 +02:00
zhailiangliang
96c8422e37
Out-of-bounds read exists in the function modifyRPath
2022-10-26 10:48:04 +08:00
Jörg Thalheim
75f25a3b59
Merge pull request #418 from NixOS/dependabot/github_actions/cachix/install-nix-action-18
...
Bump cachix/install-nix-action from 17 to 18
2022-10-17 08:27:14 +02:00
dependabot[bot]
dd391aa751
Bump cachix/install-nix-action from 17 to 18
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 17 to 18.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v17...v18 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 01:46:41 +00:00
Bo Anderson
109b771f53
Rework file shifting to avoid sections crossing multiple segments
...
Fixes #403 .
2022-10-13 18:25:04 +01:00
Bo Anderson
de79f1a144
Sync .note.gnu.property to PT_GNU_PROPERTY
2022-10-10 16:43:48 +01:00
Bo Anderson
a93de9d4ce
tests/contiguous-note-sections.sh: use scratch directory
2022-10-10 15:14:31 +01:00
Bo Anderson
fc21d139a4
Fix out of bounds access when increasing program header table
2022-10-10 15:13:11 +01:00
Jörg Thalheim
9921136529
fix c++17 check
...
https://github.com/NixOS/patchelf/issues/393
Appearantly there are compilers that support -std=c++17 but do not
really support c++17.
2022-10-09 14:30:03 +02:00
Jörg Thalheim
683e41d340
Merge pull request #381 from crystax/master
...
Add --print-os-abi and --set-os-abi options
2022-09-28 11:44:58 +02:00
Jörg Thalheim
7281d999e9
Merge pull request #407 from robert-scheck/glibc-hwcaps
...
Handle glibc-hwcaps on ppc64le on CentOS/RHEL/Rocky 8 for tests/replace-add-needed.sh (fixes #406 )
2022-09-27 21:52:14 +02:00
Robert Scheck
f7053d0237
Handle glibc-hwcaps on ppc64le on CentOS/RHEL/Rocky 8 for tests/replace-add-needed.sh ( fixes #406 )
...
ldd(1) usually returns for ELF binaries output like this:
libc.so.6 => /lib64/libc.so.6 (0x00007fbacd6ca000)
But with glibc-hwcaps, the output could also be like this:
libc.so.6 => /lib64/glibc-hwcaps/power9/libc-2.28.so (0x00007fffb5800000)
See also: https://sourceware.org/pipermail/libc-alpha/2020-June/115250.html
2022-09-27 00:41:51 +02:00
Dmitry Moskalchuk
5faf453436
Add documentation and test case for --print-os-abi and --set-os-abi
...
Signed-off-by: Dmitry Moskalchuk <dm@crystax.net>
2022-09-17 16:20:49 +03:00
Dmitry Moskalchuk
a37476da03
Merge remote-tracking branch 'upstream/master'
...
Signed-off-by: Dmitry Moskalchuk <dm@crystax.net>
2022-09-17 15:06:13 +03:00
Jörg Thalheim
c2b419dc2a
Merge pull request #392 from NixOS/docs
...
man/patchelf: bump date
2022-07-16 08:52:49 +02:00
Jörg Thalheim
1bb2824171
man/patchelf: bump date
2022-07-16 08:52:07 +02:00
Jörg Thalheim
9de88c4ea1
Merge pull request #391 from NixOS/docs
...
README: move release history to github release page
2022-07-16 08:49:30 +02:00
Jörg Thalheim
4d67024677
README: move release history to github release page
2022-07-16 08:48:47 +02:00
Jörg Thalheim
1bc502f1c3
Merge pull request #384 from NixOS/riscv64
...
ci: bump alpine
2022-07-16 08:29:01 +02:00
Jörg Thalheim
d816091264
Merge pull request #387 from NixOS/dependabot/github_actions/actions/checkout-3
...
Bump actions/checkout from 2 to 3
2022-07-16 08:27:44 +02:00
dependabot[bot]
bd3fef9b49
Bump actions/checkout from 2 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-16 06:27:09 +00:00
Jörg Thalheim
42973912c7
Merge pull request #390 from NixOS/dependabot/github_actions/actions/upload-artifact-3
...
Bump actions/upload-artifact from 2 to 3
2022-07-16 08:26:58 +02:00
Jörg Thalheim
8e9aaef2a0
Merge pull request #388 from NixOS/dependabot/github_actions/actions/download-artifact-3
...
Bump actions/download-artifact from 2 to 3
2022-07-16 08:26:36 +02:00
Jörg Thalheim
8f2b8c3476
Merge pull request #389 from NixOS/dependabot/github_actions/cachix/install-nix-action-17
...
Bump cachix/install-nix-action from 13 to 17
2022-07-16 08:26:27 +02:00
Jörg Thalheim
b4aca9842f
Merge pull request #386 from NixOS/dependabot/github_actions/docker/setup-qemu-action-2
...
Bump docker/setup-qemu-action from 1 to 2
2022-07-16 08:26:14 +02:00
Jörg Thalheim
3d96500b80
ci: bump alpine
2022-07-16 08:24:23 +02:00
dependabot[bot]
c3eac3ba91
Bump actions/upload-artifact from 2 to 3
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-16 06:21:42 +00:00