mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-29 02:26:36 +12:00
* config.sub (basic_machine): Move up manufacturer-defaulting
patterns. Signed-off-by: Ben Elliston <bje@gnu.org>
This commit is contained in:
parent
ad274839e2
commit
1eb41eb778
@ -1,3 +1,8 @@
|
|||||||
|
2018-08-12 John Ericson <john.ericson@obsidian.systems>
|
||||||
|
|
||||||
|
* config.sub (basic_machine): Move up manufacturer-defaulting
|
||||||
|
patterns.
|
||||||
|
|
||||||
2018-08-08 John Ericson <john.ericson@obsidian.systems>
|
2018-08-08 John Ericson <john.ericson@obsidian.systems>
|
||||||
|
|
||||||
* config.sub: Eliminate some dead code for SH targets.
|
* config.sub: Eliminate some dead code for SH targets.
|
||||||
|
103
config.sub
vendored
103
config.sub
vendored
@ -564,6 +564,57 @@ esac
|
|||||||
|
|
||||||
# Decode aliases for certain CPU-COMPANY combinations.
|
# Decode aliases for certain CPU-COMPANY combinations.
|
||||||
case $basic_machine in
|
case $basic_machine in
|
||||||
|
# Here we handle the default manufacturer of certain CPU types. It is in
|
||||||
|
# some cases the only manufacturer, in others, it is the most popular.
|
||||||
|
w89k)
|
||||||
|
basic_machine=hppa1.1-winbond
|
||||||
|
;;
|
||||||
|
op50n)
|
||||||
|
basic_machine=hppa1.1-oki
|
||||||
|
;;
|
||||||
|
op60c)
|
||||||
|
basic_machine=hppa1.1-oki
|
||||||
|
;;
|
||||||
|
romp)
|
||||||
|
basic_machine=romp-ibm
|
||||||
|
;;
|
||||||
|
mmix)
|
||||||
|
basic_machine=mmix-knuth
|
||||||
|
;;
|
||||||
|
rs6000)
|
||||||
|
basic_machine=rs6000-ibm
|
||||||
|
;;
|
||||||
|
vax)
|
||||||
|
basic_machine=vax-dec
|
||||||
|
;;
|
||||||
|
pdp11)
|
||||||
|
basic_machine=pdp11-dec
|
||||||
|
;;
|
||||||
|
we32k)
|
||||||
|
basic_machine=we32k-att
|
||||||
|
;;
|
||||||
|
cydra)
|
||||||
|
basic_machine=cydra-cydrome
|
||||||
|
;;
|
||||||
|
i370-ibm* | ibm*)
|
||||||
|
basic_machine=i370-ibm
|
||||||
|
;;
|
||||||
|
orion)
|
||||||
|
basic_machine=orion-highlevel
|
||||||
|
;;
|
||||||
|
orion105)
|
||||||
|
basic_machine=clipper-highlevel
|
||||||
|
;;
|
||||||
|
mac | mpw | mac-mpw)
|
||||||
|
basic_machine=m68k-apple
|
||||||
|
;;
|
||||||
|
pmac | pmac-mpw)
|
||||||
|
basic_machine=powerpc-apple
|
||||||
|
;;
|
||||||
|
xps | xps100)
|
||||||
|
basic_machine=xps100-honeywell
|
||||||
|
;;
|
||||||
|
|
||||||
# Recognize the basic CPU types without company name.
|
# Recognize the basic CPU types without company name.
|
||||||
# Some are omitted here because they have special meanings below.
|
# Some are omitted here because they have special meanings below.
|
||||||
1750a | 580 \
|
1750a | 580 \
|
||||||
@ -718,7 +769,7 @@ case $basic_machine in
|
|||||||
| h8300-* | h8500-* \
|
| h8300-* | h8500-* \
|
||||||
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
|
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
|
||||||
| hexagon-* \
|
| hexagon-* \
|
||||||
| i*86-* | i860-* | i960-* | ia16-* | ia64-* \
|
| i370-* | i*86-* | i860-* | i960-* | ia16-* | ia64-* \
|
||||||
| ip2k-* | iq2000-* \
|
| ip2k-* | iq2000-* \
|
||||||
| k1om-* \
|
| k1om-* \
|
||||||
| le32-* | le64-* \
|
| le32-* | le64-* \
|
||||||
@ -956,9 +1007,6 @@ case $basic_machine in
|
|||||||
hp9k8[0-9][0-9] | hp8[0-9][0-9])
|
hp9k8[0-9][0-9] | hp8[0-9][0-9])
|
||||||
basic_machine=hppa1.0-hp
|
basic_machine=hppa1.0-hp
|
||||||
;;
|
;;
|
||||||
i370-ibm* | ibm*)
|
|
||||||
basic_machine=i370-ibm
|
|
||||||
;;
|
|
||||||
i*86v32)
|
i*86v32)
|
||||||
basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
|
basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
|
||||||
os=sysv32
|
os=sysv32
|
||||||
@ -1218,9 +1266,6 @@ case $basic_machine in
|
|||||||
x64)
|
x64)
|
||||||
basic_machine=x86_64-pc
|
basic_machine=x86_64-pc
|
||||||
;;
|
;;
|
||||||
xps | xps100)
|
|
||||||
basic_machine=xps100-honeywell
|
|
||||||
;;
|
|
||||||
xscale-* | xscalee[bl]-*)
|
xscale-* | xscalee[bl]-*)
|
||||||
basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'`
|
basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'`
|
||||||
;;
|
;;
|
||||||
@ -1228,50 +1273,6 @@ case $basic_machine in
|
|||||||
basic_machine=none-none
|
basic_machine=none-none
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# Here we handle the default manufacturer of certain CPU types. It is in
|
|
||||||
# some cases the only manufacturer, in others, it is the most popular.
|
|
||||||
w89k)
|
|
||||||
basic_machine=hppa1.1-winbond
|
|
||||||
;;
|
|
||||||
op50n)
|
|
||||||
basic_machine=hppa1.1-oki
|
|
||||||
;;
|
|
||||||
op60c)
|
|
||||||
basic_machine=hppa1.1-oki
|
|
||||||
;;
|
|
||||||
romp)
|
|
||||||
basic_machine=romp-ibm
|
|
||||||
;;
|
|
||||||
mmix)
|
|
||||||
basic_machine=mmix-knuth
|
|
||||||
;;
|
|
||||||
rs6000)
|
|
||||||
basic_machine=rs6000-ibm
|
|
||||||
;;
|
|
||||||
vax)
|
|
||||||
basic_machine=vax-dec
|
|
||||||
;;
|
|
||||||
pdp11)
|
|
||||||
basic_machine=pdp11-dec
|
|
||||||
;;
|
|
||||||
we32k)
|
|
||||||
basic_machine=we32k-att
|
|
||||||
;;
|
|
||||||
cydra)
|
|
||||||
basic_machine=cydra-cydrome
|
|
||||||
;;
|
|
||||||
orion)
|
|
||||||
basic_machine=orion-highlevel
|
|
||||||
;;
|
|
||||||
orion105)
|
|
||||||
basic_machine=clipper-highlevel
|
|
||||||
;;
|
|
||||||
mac | mpw | mac-mpw)
|
|
||||||
basic_machine=m68k-apple
|
|
||||||
;;
|
|
||||||
pmac | pmac-mpw)
|
|
||||||
basic_machine=powerpc-apple
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
|
echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user