Patchwork [SPARC] sysdeps/sparc/preconfigure cleanup

login
register
mail settings
Submitter Jose E. Marchesi
Date Oct. 28, 2015, 8:20 p.m.
Message ID <87wpu6kamx.fsf@oracle.com>
Download mbox | patch
Permalink /patch/9433/
State New
Headers show

Comments

Jose E. Marchesi - Oct. 28, 2015, 8:20 p.m.
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}.

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