From 8b1785f0fad57281481119b310efd3c427e54c83 Mon Sep 17 00:00:00 2001 From: Daniel Cederman Date: Mon, 28 Sep 2015 05:34:24 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 4 ++++ gcc/config/sparc/driver-sparc.c | 1 + 2 files changed, 5 insertions(+) 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 } }; -- 2.30.2