HomeFreeBSD

Use the in-tree sys/elf_common.h to build libelftc.

Description

Use the in-tree sys/elf_common.h to build libelftc.

This fixes build failures on older releases that lack various
definitions such as EM_AARCH64 (which was unfixed before this).

Revert all of the recent compatibility changes that worked around this
problem.

This uses the same method of using the in-tree header as lib/libelf,
lib/libdwarf and usr.bin/readelf.

Reviewed by: emaste
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D6734

Details

Provenance
bdreweryAuthored on
Reviewer
emaste
Differential Revision
D6734: Use the in-tree sys/elf_common.h to build libelftc.
Parents
rS301470: Add a MINIMUM_SUPPORTED_OSREL and bump it to 900044.
Branches
Unknown
Tags
Unknown