Page MenuHomeFreeBSD

Teach readelf about some OpenBSD ELF program headers
ClosedPublic

Authored by csjp on Jun 7 2019, 2:44 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Feb 12, 2:35 AM
Unknown Object (File)
Wed, Feb 11, 7:45 AM
Unknown Object (File)
Wed, Feb 11, 6:24 AM
Unknown Object (File)
Jan 14 2026, 3:04 PM
Unknown Object (File)
Jan 12 2026, 11:48 PM
Unknown Object (File)
Jan 6 2026, 6:47 AM
Unknown Object (File)
Dec 24 2025, 6:52 AM
Unknown Object (File)
Dec 22 2025, 10:14 PM
Subscribers
None

Details

Summary
  • Add constants for OpenBSD wxneeded, bootdata and randomize to the FreeBSD elf_common.h file. This is the file that gets used by the elftoolchain library.
  • Update readelf and elfdump utilities to decode these program headers if they are encountered.

Note: FreeBSD has it's own version of elfdump, which will be updated in
a subsequent commit. I am adding it here anyway because this diff is
going to be submitted upstream.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 24742
Build 23503: arc lint + arc unit