X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=.Sanitize;h=37641beca4a5fd85b0b0e2f7059ee691aa7c1de9;hb=fbcfacb75d38128a151e8fe5291c833d028f29f0;hp=ddfd927964bedebc51d6fd948c4a198d9d490c74;hpb=3f5d1c2c1e10dc3f3362320d2a29a1aa6c9668a3;p=deliverable%2Fbinutils-gdb.git diff --git a/.Sanitize b/.Sanitize index ddfd927964..37641beca4 100644 --- a/.Sanitize +++ b/.Sanitize @@ -47,18 +47,18 @@ Do-first: keep_these_too="${keep_these_too} .cvsignore CYGNUS autoconf - apache + apache bash bfd binutils byacc cvs deja-gnu dejagnu diff dosrel dvips emacs emacs19 - examples expect fileutils flex - gas gcc gdb gdbm gdbtest glob gprof grep grez groff guile + examples expect fileutils findutils flex + gas gawk gcc gdb gdbm gdbtest glob gprof grep grez groff guile gzip include inet install.sh ispell - ld libg++ libgcc libgloss libiberty libio librx libstdc++ - m4 make mmalloc move-if-change newlib opcodes + ld less libg++ libgcc libgloss libiberty libio librx libstdc++ + m4 make mmalloc move-if-change newlib ncurses opcodes pagas patch perl prms - rcs readline sed send-pr shellutils sim textutils + rcs readline sed send-pr shellutils sim tar textutils time texinfo tgas utils uudecode wdiff xiberty configure.bat makeall.bat setup.com make-all.com winsup - mpw-README mpw-configure mpw-config.in mpw-build.in" + mpw-README mpw-configure mpw-config.in mpw-build.in mpw-install" lose_these_too="${lose_these_too} testsuite" @@ -270,6 +270,39 @@ else done fi +if [ -n "${verbose}" ] ; then + echo Processing \"m32r\"... +fi + +m32r_files="config.sub configure.in ChangeLog" + +if ( echo $* | grep keep\-m32r > /dev/null ) ; then + for i in $m32r_files ; do + if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping m32r stuff in $i + fi + fi + done +else + for i in * ; do + if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"m32r\" from $i... + fi + cp $i new + sed '/start\-sanitize\-m32r/,/end-\sanitize\-m32r/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 + rce_files="config.sub" if ( echo $* | grep keep\-rce > /dev/null ) ; then