Skip to content
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

libpkg: fix regressions in ELF arch parsing #2358

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

ifreund
Copy link
Contributor

@ifreund ifreund commented Nov 25, 2024

Since c2fe22b, most non-amd64 architectures are parsed inadequately from ELF files. This commit fixes the regression for architectures supported by FreeBSD 14.x.

It also adds tests for these architectures to prevent possible regressions in the future.

Note that not all regressions in architecture parsing from c2fe22b have been fixed. The mips variants for example remain broken even with this commit due to lack of test binaries.

Sponsored by: The FreeBSD Foundation

Since c2fe22b, most non-amd64 architectures are parsed inadequately
from ELF files. This commit fixes the regression for architectures
supported by FreeBSD 14.x.

It also adds tests for these architectures to prevent possible
regressions in the future.

Note that not all regressions in architecture parsing from c2fe22b have
been fixed. The mips variants for example remain broken even with this
commit due to lack of test binaries.

Sponsored by:	The FreeBSD Foundation
@bapt bapt merged commit 76df8dc into freebsd:main Nov 25, 2024
9 of 12 checks passed
@ifreund ifreund deleted the elf-arch-parse-fixes branch November 25, 2024 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants