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)
Mon, Jul 27, 5:25 AM
Unknown Object (File)
Mon, Jul 27, 1:01 AM
Unknown Object (File)
Tue, Jul 21, 4:50 AM
Unknown Object (File)
Mon, Jul 20, 11:16 AM
Unknown Object (File)
Wed, Jul 15, 8:46 PM
Unknown Object (File)
Mon, Jul 13, 4:26 AM
Unknown Object (File)
Jun 29 2026, 9:47 AM
Unknown Object (File)
Jun 29 2026, 6:07 AM
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