From: Daniel Cederman Date: Mon, 28 Sep 2015 05:34:24 +0000 (+0000) Subject: Use leon3 target for native LEON on Linux. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8b1785f0fad57281481119b310efd3c427e54c83;p=gcc.git Use leon3 target for native LEON on Linux. 2015-09-28 Daniel Cederman Use leon3 target for native LEON on Linux. Linux requires LEON version 3 or above with CASA support. gcc/ * config/sparc/driver-sparc.c: map LEON to leon3 From-SVN: r228185 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7fb87ea2cb9..d1e293a1f11 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-09-28 Daniel Cederman + + * config/sparc/driver-sparc.c: map LEON to leon3 + 2015-09-28 Daniel Cederman * config/sparc/sparc.opt: Rename mask from USER_MODE to SV_MODE diff --git a/gcc/config/sparc/driver-sparc.c b/gcc/config/sparc/driver-sparc.c index 778de2ccde3..5969735c411 100644 --- a/gcc/config/sparc/driver-sparc.c +++ b/gcc/config/sparc/driver-sparc.c @@ -73,6 +73,7 @@ static const struct cpu_names { { "UltraSparc T2", "niagara2" }, { "UltraSparc T3", "niagara3" }, { "UltraSparc T4", "niagara4" }, + { "LEON", "leon3" }, #endif { NULL, NULL } };