Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit d41bc9d9 authored by Cyril SIX's avatar Cyril SIX
Browse files

Add target ELF

parent 94d5da57
...@@ -58,8 +58,9 @@ Supported targets: ...@@ -58,8 +58,9 @@ Supported targets:
x86_64-cygwin (x86 64 bits, Cygwin environment under Windows) x86_64-cygwin (x86 64 bits, Cygwin environment under Windows)
rv32-linux (RISC-V 32 bits, Linux) rv32-linux (RISC-V 32 bits, Linux)
rv64-linux (RISC-V 64 bits, Linux) rv64-linux (RISC-V 64 bits, Linux)
kvx-mbr (Kalray KVX, bare runtime) kvx-mbr (Kalray KV3, bare runtime)
kvx-cos (Kalray KVX, ClusterOS) kvx-elf (Kalray KV3, ELF)
kvx-cos (Kalray KV3, ClusterOS)
aarch64-linux (AArch64, i.e. ARMv8 in 64-bit mode, Linux) aarch64-linux (AArch64, i.e. ARMv8 in 64-bit mode, Linux)
aarch64-macos (AArch64, i.e. Apple silicon, MacOS) aarch64-macos (AArch64, i.e. Apple silicon, MacOS)
manual (edit configuration file by hand) manual (edit configuration file by hand)
......
...@@ -287,6 +287,8 @@ let kvxmbr = ...@@ -287,6 +287,8 @@ let kvxmbr =
{ kvxbase with has_non_trapping_loads = true; { kvxbase with has_non_trapping_loads = true;
} }
let kvxelf = kvxmbr
let aarch64 = let aarch64 =
{ i32lpll64 with name = "aarch64"; { i32lpll64 with name = "aarch64";
struct_passing_style = SP_ref_callee; (* Wrong *) struct_passing_style = SP_ref_callee; (* Wrong *)
......
...@@ -91,6 +91,7 @@ val rv32 : t ...@@ -91,6 +91,7 @@ val rv32 : t
val rv64 : t val rv64 : t
val kvxmbr : t val kvxmbr : t
val kvxcos : t val kvxcos : t
val kvxelf : t
val aarch64 : t val aarch64 : t
val aarch64_apple : t val aarch64_apple : t
......
...@@ -119,6 +119,7 @@ let init () = ...@@ -119,6 +119,7 @@ let init () =
else Machine.rv32 else Machine.rv32
| "kvx" -> if Configuration.os = "cos" then Machine.kvxcos | "kvx" -> if Configuration.os = "cos" then Machine.kvxcos
else if Configuration.os = "mbr" then Machine.kvxmbr else if Configuration.os = "mbr" then Machine.kvxmbr
else if Configuration.os = "elf" then Machine.kvxelf
else (Printf.eprintf "Configuration OS = %s\n" Configuration.os; else (Printf.eprintf "Configuration OS = %s\n" Configuration.os;
failwith "Wrong OS configuration for KVX") failwith "Wrong OS configuration for KVX")
| "aarch64" -> if Configuration.abi = "apple" | "aarch64" -> if Configuration.abi = "apple"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment