forked from NixOS/patchelf
-
Notifications
You must be signed in to change notification settings - Fork 0
Merge pull request NixOS#441 from NixOS/ci #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This commit adds an ability to print and change the EI_OSABI field of the ELF header. Signed-off-by: Dmitry Moskalchuk <[email protected]>
Signed-off-by: Dmitry Moskalchuk <[email protected]>
Signed-off-by: Dmitry Moskalchuk <[email protected]>
Signed-off-by: Dmitry Moskalchuk <[email protected]>
Signed-off-by: Dmitry Moskalchuk <[email protected]>
…ce-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
Handle glibc-hwcaps on ppc64le on CentOS/RHEL/Rocky 8 for tests/replace-add-needed.sh (fixes #406)
Add --print-os-abi and --set-os-abi options
#393 Appearantly there are compilers that support -std=c++17 but do not really support c++17.
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](cachix/install-nix-action@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] <[email protected]>
…nstall-nix-action-18 Bump cachix/install-nix-action from 17 to 18
fix c++17 check
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
tests/contiguous-note-sections.sh: use scratch directory
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.
Flake update
ci: add riscv64 support
Rework file shifting to avoid sections crossing multiple segments
fix pagesize on ia64
Libc and other programs sometimes make assumption in which order sections. i.e. glibc expects that the strtab is after the symtab section: https://github.com/bminor/glibc/blob/9cc9d61ee12f2f8620d8e0ea3c42af02bf07fe1e/elf/dl-fptr.c#L179 To decrease the likelyhood of breakages we keep the relative order the same when replacing section.
write out replace sections in original order
switch to nixpkgs-unstable in flake
patchelf: correct page size for sparc64/sparc32
update vendored elf file
add workaround for readelf from binutils 2.30
… related prefixes
Refactor flake.nix
make objdump/objcopy/readelf configurable and respect cross-compiling…
build patchelf on windows
build patchelf on window
fix checkPhase for cross builds
build patchelf on windows
bump version 0.17.0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thank you!
Please do your best to include a regression test
so that the quality of future releases can be preserved.