forked from M-Labs/artiq
1
0
Fork 0

compiler: set lld emulation explicitly

This commit is contained in:
Sebastien Bourdeauducq 2022-11-15 11:20:06 +08:00
parent 3d25092cbd
commit 404f24af6b
1 changed files with 3 additions and 3 deletions

View File

@ -269,7 +269,7 @@ class RV32IMATarget(Target):
triple = "riscv32-unknown-linux" triple = "riscv32-unknown-linux"
data_layout = "e-m:e-p:32:32-i64:64-n32-S128" data_layout = "e-m:e-p:32:32-i64:64-n32-S128"
features = ["m", "a"] features = ["m", "a"]
additional_linker_options = [] additional_linker_options = ["-m", "elf32lriscv"]
print_function = "core_log" print_function = "core_log"
now_pinning = True now_pinning = True
@ -282,7 +282,7 @@ class RV32GTarget(Target):
triple = "riscv32-unknown-linux" triple = "riscv32-unknown-linux"
data_layout = "e-m:e-p:32:32-i64:64-n32-S128" data_layout = "e-m:e-p:32:32-i64:64-n32-S128"
features = ["m", "a", "f", "d"] features = ["m", "a", "f", "d"]
additional_linker_options = [] additional_linker_options = ["-m", "elf32lriscv"]
print_function = "core_log" print_function = "core_log"
now_pinning = True now_pinning = True
@ -295,7 +295,7 @@ class CortexA9Target(Target):
triple = "armv7-unknown-linux-gnueabihf" triple = "armv7-unknown-linux-gnueabihf"
data_layout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64" data_layout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
features = ["dsp", "fp16", "neon", "vfp3"] features = ["dsp", "fp16", "neon", "vfp3"]
additional_linker_options = ["--target2=rel"] additional_linker_options = ["-m", "armelf_linux_eabi", "--target2=rel"]
print_function = "core_log" print_function = "core_log"
now_pinning = False now_pinning = False