* mn10300.h: New file.
authorJeff Law <law@redhat.com>
Fri, 26 Jun 1998 16:50:13 +0000 (16:50 +0000)
committerJeff Law <law@redhat.com>
Fri, 26 Jun 1998 16:50:13 +0000 (16:50 +0000)
include/elf/.Sanitize

index a0845bce1f5b781d54b2b82b3d8fc2b50245f757..9f8e9e5b0b4b466e3732354dc00dcddf69fc7695 100644 (file)
@@ -34,6 +34,7 @@ hppa.h
 internal.h
 m32r.h
 mips.h
+mn10300.h
 ppc.h
 sparc.h
 v850.h
@@ -42,6 +43,34 @@ Things-to-lose:
 
 Do-last:
 
+am33_files="mn10300.h"
+if ( echo $* | grep keep\-am33 > /dev/null ) ; then
+       for i in $am33_files ; do
+               if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping am33 stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $am33_files ; do
+               if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"am33\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-am33/,/end-\sanitize\-am33/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
+
 d30v_files="ChangeLog common.h"
 if ( echo $* | grep keep\-d30v > /dev/null ) ; then
        for i in $d30v_files ; do