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)
Wed, Jan 14, 3:04 PM
Unknown Object (File)
Mon, Jan 12, 11:48 PM
Unknown Object (File)
Tue, Jan 6, 6:47 AM
Unknown Object (File)
Wed, Dec 24, 6:52 AM
Unknown Object (File)
Mon, Dec 22, 10:14 PM
Unknown Object (File)
Dec 12 2025, 9:56 PM
Unknown Object (File)
Nov 28 2025, 2:09 AM
Unknown Object (File)
Nov 22 2025, 7:50 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable