diff mbox

Add niagara3 and niagara4 cpu types.

Message ID 20110905.125808.36498937337029570.davem@davemloft.net
State New
Headers show

Commit Message

David Miller Sept. 5, 2011, 4:58 p.m. UTC
From: David Miller <davem@davemloft.net>
Date: Mon, 05 Sep 2011 11:24:10 -0400 (EDT)

> From: Eric Botcazou <ebotcazou@adacore.com>
> Date: Mon, 5 Sep 2011 09:20:35 +0200
> 
>> Great, thanks (superfluous gcc/ in the ChangeLog).  No improvements to the 
>> SPARC port have been documented in http://gcc.gnu.org/gcc-4.7/changes.html 
>> yet, so I'm going to write something down.
> 
> Thanks Eric, and thanks also for finding my changelog thinkos :-)

While testing these changes I found that I forgot to hit config.gcc
so that it recognizes these new processor types.  Fixed as follows:

gcc/

	* config.gcc: Recognize niagara3 and niagara4 in --with-cpu
	and --with-tune options.
diff mbox

Patch

diff --git a/gcc/config.gcc b/gcc/config.gcc
index 81b542c..abc5d99 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -3482,7 +3482,8 @@  case "${target}" in
 			| v8 | supersparc | hypersparc | leon \
 			| sparclite | f930 | f934 | sparclite86x \
 			| sparclet | tsc701 \
-			| v9 | ultrasparc | ultrasparc3 | niagara | niagara2)
+			| v9 | ultrasparc | ultrasparc3 | niagara | niagara2 \
+			| niagara3 | niagara4)
 				# OK
 				;;
 			*)