From 404f24af6b3d996ad8149cb11ae2218af5fa6173 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 15 Nov 2022 11:20:06 +0800 Subject: [PATCH] compiler: set lld emulation explicitly --- artiq/compiler/targets.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/artiq/compiler/targets.py b/artiq/compiler/targets.py index dcaa823df..df55e6bd8 100644 --- a/artiq/compiler/targets.py +++ b/artiq/compiler/targets.py @@ -269,7 +269,7 @@ class RV32IMATarget(Target): triple = "riscv32-unknown-linux" data_layout = "e-m:e-p:32:32-i64:64-n32-S128" features = ["m", "a"] - additional_linker_options = [] + additional_linker_options = ["-m", "elf32lriscv"] print_function = "core_log" now_pinning = True @@ -282,7 +282,7 @@ class RV32GTarget(Target): triple = "riscv32-unknown-linux" data_layout = "e-m:e-p:32:32-i64:64-n32-S128" features = ["m", "a", "f", "d"] - additional_linker_options = [] + additional_linker_options = ["-m", "elf32lriscv"] print_function = "core_log" now_pinning = True @@ -295,7 +295,7 @@ class CortexA9Target(Target): triple = "armv7-unknown-linux-gnueabihf" data_layout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64" features = ["dsp", "fp16", "neon", "vfp3"] - additional_linker_options = ["--target2=rel"] + additional_linker_options = ["-m", "armelf_linux_eabi", "--target2=rel"] print_function = "core_log" now_pinning = False