Use leon3 target for native LEON on Linux.

2015-09-28  Daniel Cederman  <cederman@gaisler.com>

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
This commit is contained in:
Daniel Cederman 2015-09-28 05:34:24 +00:00 committed by Daniel Hellstrom
parent a01a33a2dd
commit 8b1785f0fa
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2015-09-28 Daniel Cederman <cederman@gaisler.com>
* config/sparc/driver-sparc.c: map LEON to leon3
2015-09-28 Daniel Cederman <cederman@gaisler.com>
* config/sparc/sparc.opt: Rename mask from USER_MODE to SV_MODE

View File

@ -73,6 +73,7 @@ static const struct cpu_names {
{ "UltraSparc T2", "niagara2" },
{ "UltraSparc T3", "niagara3" },
{ "UltraSparc T4", "niagara4" },
{ "LEON", "leon3" },
#endif
{ NULL, NULL }
};