]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add ELF macros found in the aaelf64 spec
authorAndrew Turner <andrew@FreeBSD.org>
Mon, 20 Sep 2021 08:55:44 +0000 (08:55 +0000)
committerAndrew Turner <andrew@FreeBSD.org>
Mon, 20 Sep 2021 10:34:04 +0000 (10:34 +0000)
commitb94d360e4aa66d626ad5a0acde683ae9a9c71729
treedb90ccbbb27b501827423f0a9358d41671f8f551
parentb831f9ce7079b040b5f319b9c0f60daba4c6151a
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
sys/sys/elf_common.h