remove m32r sanitization
authorIan Lance Taylor <ian@airs.com>
Tue, 1 Apr 1997 04:12:20 +0000 (04:12 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 1 Apr 1997 04:12:20 +0000 (04:12 +0000)
include/elf/.Sanitize

index f7e408ad3d51a4cfdf662a6aeb5973c376f50725..77942d1671f63d3bddcb02b5806320e4bd0077ab 100644 (file)
@@ -33,14 +33,6 @@ else
        lose_these_too="${v850_files} ${lose_these_too}"
 fi
 
-m32r_files="m32r.h"
-
-if ( echo $* | grep keep\-m32r > /dev/null ) ; then
-       keep_these_too="${m32r_files} ${keep_these_too}"
-else
-       lose_these_too="${m32r_files} ${lose_these_too}"
-fi
-
 # All files listed between the "Things-to-keep:" line and the
 # "Files-to-sed:" line will be kept.  All other files will be removed.
 # Directories listed in this section will have their own Sanitize
@@ -57,6 +49,7 @@ dwarf2.h
 external.h
 hppa.h
 internal.h
+m32r.h
 mips.h
 ppc.h
 sparc.h
@@ -121,34 +114,6 @@ else
        done
 fi
 
-m32r_files="ChangeLog common.h"
-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 $m32r_files ; 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
-
 v850_files="ChangeLog common.h"
 if ( echo $* | grep keep\-v850 > /dev/null ) ; then
        for i in $v850_files ; do