diff mbox

[SPARC] sysdeps/sparc/preconfigure cleanup

Message ID 87wpu6kamx.fsf@oracle.com
State New, archived
Headers show

Commit Message

Jose E. Marchesi Oct. 28, 2015, 8:20 p.m. UTC
The machine directories:

   sysdeps/sparc/sparc32/sparcv9/{sparcv9b,sparcv9v,sparcv9v2}
   sparc/sparc64/{sparcv9b,sparcv9v,sparcv9v2}

were removed time ago when the multiarch support was introduced for both
sparc32 and sparc64 machines.  This small patch updates the SPARC
preconfigure fragment to avoid adding nonexistent directories to the
sysdep list.

Tested in both sparcv9-*-linux-gnu and sparc64-*-linux-gnu targets.  No
regressions detected.

2015-10-28  Jose E. Marchesi  <jose.marchesi@oracle.com>

	* sysdeps/sparc/preconfigure: Do not set the obsolete sysdep
	directories sparc/sparc32/sparcv9/{sparcv9b,sparcv9v,sparcv9v2}
	and sparc/sparc64/{sparcv9b,sparcv9v,sparcv9v2}.
diff mbox

Patch

diff --git a/sysdeps/sparc/preconfigure b/sysdeps/sparc/preconfigure
index de86749..8562d09 100644
--- a/sysdeps/sparc/preconfigure
+++ b/sysdeps/sparc/preconfigure
@@ -5,20 +5,8 @@  sparc | sparcv[67])
 		base_machine=sparc machine=sparc/sparc32 ;;
 sparcv8 | supersparc | hypersparc)
 		base_machine=sparc machine=sparc/sparc32/sparcv8 ;;
-sparcv8plus | sparcv8plusa | sparcv9)
+sparcv8plus | sparcv8plus[ab] | sparcv9 | sparcv9b | sparcv9v | sparcv9v2)
 		base_machine=sparc machine=sparc/sparc32/sparcv9 ;;
-sparcv8plusb | sparcv9b)
-		base_machine=sparc machine=sparc/sparc32/sparcv9/sparcv9b ;;
-sparcv9v)
-		base_machine=sparc machine=sparc/sparc32/sparcv9/sparcv9v ;;
-sparcv9v2)
-		base_machine=sparc machine=sparc/sparc32/sparcv9/sparcv9v2 ;;
-sparc64)
+sparc64 | sparc64b | sparc64v | sparc64v2)
 		base_machine=sparc machine=sparc/sparc64 ;;
-sparc64b)
-		base_machine=sparc machine=sparc/sparc64/sparcv9b ;;
-sparc64v)
-		base_machine=sparc machine=sparc/sparc64/sparcv9v ;;
-sparc64v2)
-		base_machine=sparc machine=sparc/sparc64/sparcv9v2 ;;
 esac