Add txvu support.
This commit is contained in:
parent
4ed4a2c54f
commit
c361a5c0ac
2 changed files with 44 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
# .Sanitize for deja-gnu.
|
# .Sanitize for devo/binutils/testsuite/binutils-all.
|
||||||
|
|
||||||
# Each directory to survive it's way into a release will need a file
|
# Each directory to survive it's way into a release will need a file
|
||||||
# like this one called "./.Sanitize". All keyword lines must exist,
|
# like this one called "./.Sanitize". All keyword lines must exist,
|
||||||
|
@ -76,6 +76,35 @@ else
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
sky_files="objdump.exp"
|
||||||
|
|
||||||
|
if ( echo $* | grep keep\-sky > /dev/null ) ; then
|
||||||
|
for i in $sky_files ; do
|
||||||
|
if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then
|
||||||
|
if [ -n "${verbose}" ] ; then
|
||||||
|
echo Keeping sky stuff in $i
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
else
|
||||||
|
for i in * ; do
|
||||||
|
if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then
|
||||||
|
if [ -n "${verbose}" ] ; then
|
||||||
|
echo Removing traces of \"sky\" from $i...
|
||||||
|
fi
|
||||||
|
cp $i new
|
||||||
|
sed '/start\-sanitize\-sky/,/end-\sanitize\-sky/d' < $i > new
|
||||||
|
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
|
||||||
|
if [ -n "${verbose}" ] ; then
|
||||||
|
echo Caching $i in .Recover...
|
||||||
|
fi
|
||||||
|
mv $i .Recover
|
||||||
|
fi
|
||||||
|
mv new $i
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
for i in * ; do
|
for i in * ; do
|
||||||
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
|
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
|
||||||
echo '***' Some mentions of Sanitize are still left in $i! 1>&2
|
echo '***' Some mentions of Sanitize are still left in $i! 1>&2
|
||||||
|
|
|
@ -20,9 +20,11 @@
|
||||||
# This file was written by Rob Savoye <rob@cygnus.com>
|
# This file was written by Rob Savoye <rob@cygnus.com>
|
||||||
# and rewritten by Ian Lance Taylor <ian@cygnus.com>
|
# and rewritten by Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
if {[which $OBJDUMP] == 0} then {
|
if ![is_remote host] {
|
||||||
perror "$OBJDUMP does not exist"
|
if {[which $OBJDUMP] == 0} then {
|
||||||
return
|
perror "$OBJDUMP does not exist"
|
||||||
|
return
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
send_user "Version [binutil_version $OBJDUMP]"
|
send_user "Version [binutil_version $OBJDUMP]"
|
||||||
|
@ -33,8 +35,16 @@ set got [binutils_run $OBJDUMP "$OBJDUMPFLAGS -i"]
|
||||||
|
|
||||||
set cpus_expected "(a29k|alliant|alpha|arc|arm|convex|d10v|h8|hppa|i386|i860|i960|m32r|m68k|m88k|mips|mn10200|mn10300|ns32k|powerpc|pyramid|romp|rs6000|sh|sparc|tahoe|vax|we32k|z8k|z8001|z8002)"
|
set cpus_expected "(a29k|alliant|alpha|arc|arm|convex|d10v|h8|hppa|i386|i860|i960|m32r|m68k|m88k|mips|mn10200|mn10300|ns32k|powerpc|pyramid|romp|rs6000|sh|sparc|tahoe|vax|we32k|z8k|z8001|z8002)"
|
||||||
# start-sanitize-d30v
|
# start-sanitize-d30v
|
||||||
set cpus_expected "(a29k|alliant|alpha|arm|convex|d10v|h8|hppa|i386|i860|i960|d30v|m32r|m68k|m88k|mips|mn10200|mn10300|ns32k|powerpc|pyramid|romp|rs6000|sh|sparc|tahoe|vax|we32k|z8k|z8001|z8002)"
|
set cpus_expected "(a29k|alliant|alpha|arc|arm|convex|d10v|h8|hppa|i386|i860|i960|d30v|m32r|m68k|m88k|mips|mn10200|mn10300|ns32k|powerpc|pyramid|romp|rs6000|sh|sparc|tahoe|vax|we32k|z8k|z8001|z8002)"
|
||||||
# end-sanitize-d30v
|
# end-sanitize-d30v
|
||||||
|
# start-sanitize-sky
|
||||||
|
set cpus_expected "(a29k|alliant|alpha|arc|arm|convex|d10v|h8|hppa|i386|i860|i960|m32r|m68k|m88k|mips|mn10200|mn10300|ns32k|powerpc|pyramid|romp|rs6000|sh|sparc|tahoe|txvu|vax|we32k|z8k|z8001|z8002)"
|
||||||
|
# end-sanitize-sky
|
||||||
|
|
||||||
|
# Make sure the target CPU shows up in the list.
|
||||||
|
if ![regexp $cpus_expected $target_cpu] {
|
||||||
|
regsub "^\[(\]" "$cpus_expected" "(${target_cpu}|" cpus_expected;
|
||||||
|
}
|
||||||
|
|
||||||
set want "BFD header file version.*srec.*header .* endian.*, data .* endian.*$cpus_expected"
|
set want "BFD header file version.*srec.*header .* endian.*, data .* endian.*$cpus_expected"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue