Abi_aarch64_relocationSourceabi_aarch64_relocation contains types and definitions relating to ABI * specific relocation functionality for the AArch64 ABI (little-endian case).
Relocations
Treated as R_AARCH6_NONE
string_of_aarch64_relocation_type m produces a string representation of the * relocation type m.
val aarch64_le_reloc :
Nat_big_num.num ->
bool
* ('abifeature Memory_image.annotated_memory_image ->
Nat_big_num.num ->
Memory_image.symbol_reference_and_reloc_site ->
Nat_big_num.num
* (Nat_big_num.num ->
Nat_big_num.num ->
Nat_big_num.num ->
Nat_big_num.num))val abi_aarch64_apply_relocation :
Elf_relocation.elf64_relocation_a ->
Nat_big_num.num ->
Nat_big_num.num ->
Nat_big_num.num ->
Elf_file.elf64_file ->
(Uint64_wrapper.uint64,
Nat_big_num.num Abi_utilities.relocation_operator_expression
* Abi_utilities.integer_bit_width
* Nat_big_num.num Abi_utilities.can_fail)
Pmap.map
Error.errorabi_aarch64_apply_relocation rel s_val p_val got_val ef produces an AST * of the relocation calculation for relocation type rel using s_val, p_val, * and got_val as primitive components. * * TODO: unclear from ABI spec. whether overflow check on relocations is * supposed to cause relocation to fail if not satisfied or whether there is * wrap-around. Resolve.