HomeFreeBSD

Add ELF macros found in the aaelf64 spec

Description

Add ELF macros found in the aaelf64 spec

The arm64 aaelf64 spec [0] has DT_AARCH64_ that could be used with
dynamic linking. It also adds GNU_PROPERTY_AARCH64_FEATURE_1_AND used
to tell the kernel which CPU features the binary is compatible with,
but does not require to execute correctly.

Add these values so the kernel and elf tools can make use of them.

[0] https://github.com/ARM-software/abi-aa/blob/2021Q1/aaelf64/aaelf64.rst

Sponsored by: The FreeBSD Foundation

(cherry picked from commit b94d360e4aa66d626ad5a0acde683ae9a9c71729)

Details

Provenance
andrewAuthored on Sep 20 2021, 8:55 AM
Parents
rG00c276a25024: Use a 64 bit read to access GICR_TYPER
Branches
Unknown
Tags
Unknown