D10V memory map changed. Update.
[deliverable/binutils-gdb.git] / .Sanitize
index 8bf6ed4da3b084d739a262bd8f1652a55542ec17..f170bb474b3923591d2433ea4d2829e7882ae441 100644 (file)
--- a/.Sanitize
+++ b/.Sanitize
@@ -46,7 +46,7 @@
 
 Do-first:
 
-keep_these_too="${keep_these_too} .cvsignore CYGNUS autoconf
+keep_these_too="${keep_these_too} .cvsignore autoconf automake
        apache bash 
        bfd binutils bison byacc cvs deja-gnu dejagnu diff dosrel dvips
        emacs emacs19 examples expect fileutils findutils flex
@@ -54,7 +54,7 @@ keep_these_too="${keep_these_too} .cvsignore CYGNUS autoconf
        guile gzip
        include inet install-sh ispell
        ld less libg++ libgcc libgloss libiberty libio
-       librx libstdc++
+       librx libstdc++ libtool
        m4 make mkinstalldirs mmalloc move-if-change newlib ncurses opcodes
        pagas patch perl prms
        rcs readline sed send-pr shellutils sim tar textutils time
@@ -65,7 +65,7 @@ keep_these_too="${keep_these_too} .cvsignore CYGNUS autoconf
 
 lose_these_too="${lose_these_too} testsuite"
 
-cygnus_files="release release-info build-all.mk test-build.mk COPYING.NEWLIB"
+cygnus_files="release release-info build-all.mk test-build.mk CYGNUS COPYING.NEWLIB"
 
 if ( echo $* | grep keep\-cygnus > /dev/null) ; then
        keep_these_too="${keep_these_too} ${cygnus_files}"
@@ -537,6 +537,48 @@ else
        done
 fi
 
+if ( echo $* | grep lose\-mswin > /dev/null ) ; then
+       if [ -n "${verbose}" ] ; then
+               echo Removing traces of \"mswin\"...
+       fi
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-mswin $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"mswin\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-mswin/,/end-\sanitize\-mswin/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
+else
+       if [ -n "${verbose}" ] ; then
+               echo Leaving \"mswin\" in the sources...
+       fi
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-mswin $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping \"mswin\" stuff in $i, but editing out sanitize lines...
+                       fi
+                       cp $i new
+                       sed -e '/start\-sanitize\-mswin/d' -e '/end\-sanitize\-mswin/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
+
 vr5400_files="ChangeLog config.sub"
 
 if ( echo $* | grep keep\-vr5400 > /dev/null ) ; then
This page took 0.023423 seconds and 4 git commands to generate.