Abi_riscvSourceabi_riscv contains top-level definition for the RISCV ABI.
val abi_riscv_compute_program_entry_point :
'a ->
Nat_big_num.num ->
Nat_big_num.num Error.errorabi_riscv_compute_program_entry_point segs entry computes the program * entry point using ABI-specific conventions. On RISCV the entry point in * the ELF header (entry here) is the real entry point. On other ABIs, e.g. * PowerPC64, the entry point entry is a pointer into one of the segments * constituting the process image (passed in as segs here for a uniform * interface).
type 'abifeature plt_entry_address_fn0 =
Nat_big_num.num ->
'abifeature Memory_image.annotated_memory_image ->
Nat_big_num.numtype 'abifeature riscv_abi_feature = | GOT2 of (string * Memory_image.symbol_definition option) list| PLT2 of (string
* Memory_image.symbol_definition option
* 'abifeature plt_entry_address_fn0)
listval instance_Abi_classes_AbiFeatureTagEquiv_Abi_riscv_riscv_abi_feature_dict :
'abifeature riscv_abi_feature Abi_classes.abiFeatureTagEquiv_classval instance_Basic_classes_Ord_Abi_riscv_riscv_abi_feature_dict :
'abifeature riscv_abi_feature Lem_basic_classes.ord_class