Add configurability to d30v
[deliverable/binutils-gdb.git] / ld / .Sanitize
index 13e1e0575f659743a1737e6015514926abd2ee77..217c7ae5e6ae361536222ac2adbeae8da10ddd00 100644 (file)
@@ -91,22 +91,22 @@ Do-last:
 
 v850_files="ChangeLog configure.tgt Makefile.am Makefile.in"
 
-if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
+if ( echo $* | grep keep\-v850e > /dev/null ) ; then
        for i in $v850_files ; do
-               if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping v850eq stuff in $i
+                               echo Keeping v850e stuff in $i
                        fi
                fi
        done
 else
        for i in $v850_files ; do
-               if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"v850eq\" from $i...
+                               echo Removing traces of \"v850e\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-v850eq/,/end-\sanitize\-v850eq/d' < $i > new
+                       sed '/start\-sanitize\-v850e/,/end-\sanitize\-v850e/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
@@ -117,25 +117,25 @@ else
                fi
        done
 fi
-if ( echo $* | grep keep\-v850e > /dev/null ) ; then
-       for i in $v850_files ; do
-               if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
+
+tx49_files="ChangeLog configure.tgt"
+
+if ( echo $* | grep keep\-tx49 > /dev/null ) ; then
+       for i in $tx49_files ; do
+               if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping v850e stuff in $i
+                               echo Keeping tx49 stuff in $i
                        fi
                fi
        done
 else
-  if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
-    true
-  else
-       for i in $v850_files ; do
-               if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
+       for i in $tx49_files ; do
+               if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"v850e\" from $i...
+                               echo Removing traces of \"tx49\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-v850e/,/end-\sanitize\-v850e/d' < $i > new
+                       sed '/start\-sanitize\-tx49/,/end-\sanitize\-tx49/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
@@ -145,7 +145,6 @@ else
                        mv new $i
                fi
        done
-  fi
 fi
 
 r5900_files="ChangeLog configure.tgt"
This page took 0.025097 seconds and 4 git commands to generate.