From a3106935913b18140fdf3b85ce802a2e7566f49b Mon Sep 17 00:00:00 2001 From: Las Safin Date: Sun, 19 Sep 2021 16:16:35 +0000 Subject: [PATCH] Add more supported GCC triples --- libresoc/core.py | 2 +- microwatt/core.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libresoc/core.py b/libresoc/core.py index 4ec36b0..f22925b 100644 --- a/libresoc/core.py +++ b/libresoc/core.py @@ -157,7 +157,7 @@ class LibreSoC(CPU): human_name = "Libre-SoC" variants = CPU_VARIANTS endianness = "little" - gcc_triple = ("powerpc64le-linux", "powerpc64le-linux-gnu") + gcc_triple = ("powerpc64le-linux", "powerpc64le-linux-gnu", "powerpc64le-unknown-linux-gnu") linker_output_format = "elf64-powerpcle" nop = "nop" io_regions = {0xc0000000: 0x10000000} # origin, length diff --git a/microwatt/core.py b/microwatt/core.py index 1dbeb34..65a87e9 100644 --- a/microwatt/core.py +++ b/microwatt/core.py @@ -19,7 +19,7 @@ class Microwatt(CPU): variants = CPU_VARIANTS data_width = 64 endianness = "little" - gcc_triple = ("powerpc64le-linux", "powerpc64le-linux-gnu") + gcc_triple = ("powerpc64le-linux", "powerpc64le-linux-gnu", "powerpc64le-unknown-linux-gnu") linker_output_format = "elf64-powerpcle" nop = "nop" io_regions = {0xc0000000: 0x10000000} # origin, length -- 2.30.2