aboutsummaryrefslogtreecommitdiff
path: root/ld/.Sanitize
diff options
context:
space:
mode:
Diffstat (limited to 'ld/.Sanitize')
-rw-r--r--ld/.Sanitize28
1 files changed, 28 insertions, 0 deletions
diff --git a/ld/.Sanitize b/ld/.Sanitize
index 12d8486..48c53e4 100644
--- a/ld/.Sanitize
+++ b/ld/.Sanitize
@@ -201,6 +201,34 @@ else
done
fi
+vr4xxx_files="ChangeLog configure.tgt"
+if ( echo $* | grep keep\-vr4xxx > /dev/null ) ; then
+ for i in $vr4xxx_files ; do
+ if test ! -d $i && (grep sanitize-vr4xxx $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping vr4xxx stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $vr4xxx_files ; do
+ if test ! -d $i && (grep sanitize-vr4xxx $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"vr4xxx\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-vr4xxx/,/end-\sanitize\-vr4xxx/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
+
vr4320_files="ChangeLog configure.tgt"
if ( echo $* | grep keep\-vr4320 > /dev/null ) ; then
for i in $vr4320_files ; do