aboutsummaryrefslogtreecommitdiff
path: root/bfd/.Sanitize
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-12-09 04:01:06 +0000
committerAndrew Cagney <cagney@redhat.com>1997-12-09 04:01:06 +0000
commitc02ed6a8a3e3c8bd68f7212c4a5e03f781d4f122 (patch)
tree3a1c99bc2f18fe94cce452ca6fc1ae84375afb78 /bfd/.Sanitize
parent09e4fde23070f6bb86237a4170bec3ea4a486561 (diff)
downloadgdb-c02ed6a8a3e3c8bd68f7212c4a5e03f781d4f122.zip
gdb-c02ed6a8a3e3c8bd68f7212c4a5e03f781d4f122.tar.gz
gdb-c02ed6a8a3e3c8bd68f7212c4a5e03f781d4f122.tar.bz2
For bfd, add vr5400 and vr5000 mips machine variants to list of machines.
For sim/mips, enable multi-sim support when mips64vr5400-elf is target. For sim/igen, allow specification of a default machine (will need more work later).
Diffstat (limited to 'bfd/.Sanitize')
-rw-r--r--bfd/.Sanitize28
1 files changed, 28 insertions, 0 deletions
diff --git a/bfd/.Sanitize b/bfd/.Sanitize
index c6f6745..288fc0b 100644
--- a/bfd/.Sanitize
+++ b/bfd/.Sanitize
@@ -457,6 +457,34 @@ else
done
fi
+vr5400_files="ChangeLog archures.c bfd-in2.h bfd-in.h cpu-mips.c"
+if ( echo $* | grep keep\-vr5400 > /dev/null ) ; then
+ for i in $vr5400_files ; do
+ if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping vr5400 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $vr5400_files ; do
+ if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"vr5400\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-vr5400/,/end-\sanitize\-vr5400/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
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
echo '***' Some mentions of Sanitize are still left in $i! 1>&2