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
F132472256: D20548.id.diff
Fri, Oct 17, 5:27 AM
Unknown Object (File)
Wed, Oct 8, 12:45 AM
Unknown Object (File)
Sat, Oct 4, 5:09 AM
Unknown Object (File)
Thu, Oct 2, 6:03 AM
Unknown Object (File)
Thu, Oct 2, 5:30 AM
Unknown Object (File)
Wed, Oct 1, 3:01 AM
Unknown Object (File)
Sun, Sep 28, 7:18 AM
Unknown Object (File)
Wed, Sep 24, 12:57 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