2005-11-21 21:14:49 +01:00
|
|
|
gnuconfig seems intent on only supporting superfluous targets that don't
|
|
|
|
represent any real hardware (such as sh2a LE). GCC in its infinite wisdom is
|
|
|
|
also incapable of supporting tuning for other variants in a sensible fashion.
|
|
|
|
|
|
|
|
As such, we still need to be able to support such useful targets as
|
|
|
|
sh2a_nofpueb in order to not only get the byte order right, but also to
|
|
|
|
support -m2a-nofpu tuning from the kernel (though we tend to do this through
|
|
|
|
-Wa,-isa= instead, as the binutils people do a much better job of not screwing
|
|
|
|
up their config code every other day. Way to go config.gcc..).
|
|
|
|
|
|
|
|
The fact that the sh variant matching is the ugliest out of any of the other
|
|
|
|
architectures doesn't seem to deter GCC folk from their well thought out and
|
|
|
|
brilliantly managed config target list.
|
|
|
|
|
2006-01-04 05:05:05 +01:00
|
|
|
Index: config.sub
|
|
|
|
===================================================================
|
|
|
|
RCS file: /cvsroot/config/config/config.sub,v
|
2007-07-09 19:59:19 +02:00
|
|
|
retrieving revision 1.356
|
|
|
|
diff -u -r1.356 config.sub
|
|
|
|
--- config.sub 28 Jun 2007 06:56:43 -0000 1.356
|
|
|
|
+++ config.sub 9 Jul 2007 17:38:48 -0000
|
|
|
|
@@ -277,7 +277,7 @@
|
2005-11-21 21:14:49 +01:00
|
|
|
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
|
|
|
|
| pyramid \
|
2007-07-09 19:59:19 +02:00
|
|
|
| score \
|
|
|
|
- | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
|
|
|
+ | sh | sh[1234] | sh[24]a | sh[24]a*eb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
2005-11-21 21:14:49 +01:00
|
|
|
| sh64 | sh64le \
|
2006-03-02 07:18:02 +01:00
|
|
|
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
|
|
|
|
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
|
2007-07-09 19:59:19 +02:00
|
|
|
@@ -358,7 +358,7 @@
|
2006-03-02 07:24:19 +01:00
|
|
|
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
|
|
|
|
| pyramid-* \
|
|
|
|
| romp-* | rs6000-* \
|
2007-07-09 19:59:19 +02:00
|
|
|
- | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
|
|
|
|
+ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]a*eb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
|
2006-03-02 07:24:19 +01:00
|
|
|
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
|
|
|
|
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
|
|
|
|
| sparclite-* \
|