config.guess (alpha-osf, [...]): Detect ev67.
* config.guess (alpha-osf, alpha-linux): Detect ev67. * config.sub: Accept alphaev[78], alphaev8. From-SVN: r30922
This commit is contained in:
parent
223dca6a20
commit
c2f5d0304c
@ -1,3 +1,8 @@
|
|||||||
|
1999-12-14 Richard Henderson <rth@cygnus.com>
|
||||||
|
|
||||||
|
* config.guess (alpha-osf, alpha-linux): Detect ev67.
|
||||||
|
* config.sub: Accept alphaev[78], alphaev8.
|
||||||
|
|
||||||
1999-12-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
|
1999-12-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
|
||||||
|
|
||||||
* config.guess, config.sub: Update from autoconf.
|
* config.guess, config.sub: Update from autoconf.
|
||||||
|
102
config.guess
vendored
102
config.guess
vendored
@ -77,41 +77,51 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|||||||
# A Xn.n version is an unreleased experimental baselevel.
|
# A Xn.n version is an unreleased experimental baselevel.
|
||||||
# 1.2 uses "1.2" for uname -r.
|
# 1.2 uses "1.2" for uname -r.
|
||||||
cat <<EOF >$dummy.s
|
cat <<EOF >$dummy.s
|
||||||
|
.data
|
||||||
|
\$Lformat:
|
||||||
|
.byte 37,100,45,37,120,10,0 # "%d-%x\n"
|
||||||
|
|
||||||
|
.text
|
||||||
.globl main
|
.globl main
|
||||||
|
.align 4
|
||||||
.ent main
|
.ent main
|
||||||
main:
|
main:
|
||||||
.frame \$30,0,\$26,0
|
.frame \$30,16,\$26,0
|
||||||
.prologue 0
|
ldgp \$29,0(\$27)
|
||||||
.long 0x47e03d80 # implver $0
|
.prologue 1
|
||||||
lda \$2,259
|
.long 0x47e03d80 # implver \$0
|
||||||
.long 0x47e20c21 # amask $2,$1
|
lda \$2,-1
|
||||||
srl \$1,8,\$2
|
.long 0x47e20c21 # amask \$2,\$1
|
||||||
sll \$2,2,\$2
|
lda \$16,\$Lformat
|
||||||
sll \$0,3,\$0
|
mov \$0,\$17
|
||||||
addl \$1,\$0,\$0
|
not \$1,\$18
|
||||||
addl \$2,\$0,\$0
|
jsr \$26,printf
|
||||||
ret \$31,(\$26),1
|
ldgp \$29,0(\$26)
|
||||||
|
mov 0,\$16
|
||||||
|
jsr \$26,exit
|
||||||
.end main
|
.end main
|
||||||
EOF
|
EOF
|
||||||
$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
|
$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
|
||||||
if test "$?" = 0 ; then
|
if test "$?" = 0 ; then
|
||||||
./$dummy
|
case `./$dummy` in
|
||||||
case "$?" in
|
0-0)
|
||||||
7)
|
|
||||||
UNAME_MACHINE="alpha"
|
UNAME_MACHINE="alpha"
|
||||||
;;
|
;;
|
||||||
15)
|
1-0)
|
||||||
UNAME_MACHINE="alphaev5"
|
UNAME_MACHINE="alphaev5"
|
||||||
;;
|
;;
|
||||||
14)
|
1-1)
|
||||||
UNAME_MACHINE="alphaev56"
|
UNAME_MACHINE="alphaev56"
|
||||||
;;
|
;;
|
||||||
10)
|
1-101)
|
||||||
UNAME_MACHINE="alphapca56"
|
UNAME_MACHINE="alphapca56"
|
||||||
;;
|
;;
|
||||||
16)
|
2-303)
|
||||||
UNAME_MACHINE="alphaev6"
|
UNAME_MACHINE="alphaev6"
|
||||||
;;
|
;;
|
||||||
|
2-307)
|
||||||
|
UNAME_MACHINE="alphaev67"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
rm -f $dummy.s $dummy
|
rm -f $dummy.s $dummy
|
||||||
@ -703,43 +713,53 @@ EOF
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
if test "${UNAME_MACHINE}" = "alpha" ; then
|
if test "${UNAME_MACHINE}" = "alpha" ; then
|
||||||
sed 's/^ //' <<EOF >$dummy.s
|
cat <<EOF >$dummy.s
|
||||||
.globl main
|
.data
|
||||||
.ent main
|
\$Lformat:
|
||||||
main:
|
.byte 37,100,45,37,120,10,0 # "%d-%x\n"
|
||||||
.frame \$30,0,\$26,0
|
|
||||||
.prologue 0
|
.text
|
||||||
.long 0x47e03d80 # implver $0
|
.globl main
|
||||||
lda \$2,259
|
.align 4
|
||||||
.long 0x47e20c21 # amask $2,$1
|
.ent main
|
||||||
srl \$1,8,\$2
|
main:
|
||||||
sll \$2,2,\$2
|
.frame \$30,16,\$26,0
|
||||||
sll \$0,3,\$0
|
ldgp \$29,0(\$27)
|
||||||
addl \$1,\$0,\$0
|
.prologue 1
|
||||||
addl \$2,\$0,\$0
|
.long 0x47e03d80 # implver \$0
|
||||||
ret \$31,(\$26),1
|
lda \$2,-1
|
||||||
.end main
|
.long 0x47e20c21 # amask \$2,\$1
|
||||||
|
lda \$16,\$Lformat
|
||||||
|
mov \$0,\$17
|
||||||
|
not \$1,\$18
|
||||||
|
jsr \$26,printf
|
||||||
|
ldgp \$29,0(\$26)
|
||||||
|
mov 0,\$16
|
||||||
|
jsr \$26,exit
|
||||||
|
.end main
|
||||||
EOF
|
EOF
|
||||||
LIBC=""
|
LIBC=""
|
||||||
$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
|
$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
|
||||||
if test "$?" = 0 ; then
|
if test "$?" = 0 ; then
|
||||||
./$dummy
|
case `./$dummy` in
|
||||||
case "$?" in
|
0-0)
|
||||||
7)
|
|
||||||
UNAME_MACHINE="alpha"
|
UNAME_MACHINE="alpha"
|
||||||
;;
|
;;
|
||||||
15)
|
1-0)
|
||||||
UNAME_MACHINE="alphaev5"
|
UNAME_MACHINE="alphaev5"
|
||||||
;;
|
;;
|
||||||
14)
|
1-1)
|
||||||
UNAME_MACHINE="alphaev56"
|
UNAME_MACHINE="alphaev56"
|
||||||
;;
|
;;
|
||||||
10)
|
1-101)
|
||||||
UNAME_MACHINE="alphapca56"
|
UNAME_MACHINE="alphapca56"
|
||||||
;;
|
;;
|
||||||
16)
|
2-303)
|
||||||
UNAME_MACHINE="alphaev6"
|
UNAME_MACHINE="alphaev6"
|
||||||
;;
|
;;
|
||||||
|
2-307)
|
||||||
|
UNAME_MACHINE="alphaev67"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
objdump --private-headers $dummy | \
|
objdump --private-headers $dummy | \
|
||||||
|
6
config.sub
vendored
6
config.sub
vendored
@ -170,7 +170,8 @@ case $basic_machine in
|
|||||||
| arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \
|
| arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \
|
||||||
| 580 | i960 | h8300 \
|
| 580 | i960 | h8300 \
|
||||||
| hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \
|
| hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \
|
||||||
| alpha | alphaev[4-7] | alphaev56 | alphapca5[67] \
|
| alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \
|
||||||
|
| alphaev6[78] \
|
||||||
| we32k | ns16k | clipper | i370 | sh | powerpc | powerpcle \
|
| we32k | ns16k | clipper | i370 | sh | powerpc | powerpcle \
|
||||||
| 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \
|
| 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \
|
||||||
| mips64orion | mips64orionel | mipstx39 | mipstx39el \
|
| mips64orion | mips64orionel | mipstx39 | mipstx39el \
|
||||||
@ -202,7 +203,8 @@ case $basic_machine in
|
|||||||
| power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
|
| power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
|
||||||
| xmp-* | ymp-* \
|
| xmp-* | ymp-* \
|
||||||
| hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* | hppa2.0n-* \
|
| hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* | hppa2.0n-* \
|
||||||
| alpha-* | alphaev[4-7]-* | alphaev56-* | alphapca5[67]-* \
|
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \
|
||||||
|
| alphaev6[78]-* \
|
||||||
| we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
|
| we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
|
||||||
| clipper-* | orion-* \
|
| clipper-* | orion-* \
|
||||||
| sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
|
| sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
|
||||||
|
Loading…
Reference in New Issue
Block a user