Add ABFD argument to sim_open call. Pass through to sim_config so
[deliverable/binutils-gdb.git] / sim / v850 / .Sanitize
index 66aa35322e718235fa062b471b2463fc4cd72733..2dc770b590865ffb9aec17656f7c1af6e359320e 100644 (file)
@@ -40,7 +40,7 @@ Do-last:
 v850e_files="interp.c simops.c v850_sim.h"
 if ( echo $* | grep keep\-v850e > /dev/null ) ; then
         for i in $v850e_files ; do
-                if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
+                if test -r $i && (grep sanitize-v850e $i > /dev/null) ; then
                         if [ -n "${verbose}" ] ; then
                                 echo Keeping v850e stuff in $i
                         fi
@@ -48,7 +48,7 @@ if ( echo $* | grep keep\-v850e > /dev/null ) ; then
         done
 else
         for i in $v850e_files ; do
-                if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
+                if test -r $i && (grep sanitize-v850e $i > /dev/null) ; then
                         if [ -n "${verbose}" ] ; then
                                 echo Removing traces of \"v850e\" from $i...
                         fi
@@ -66,7 +66,7 @@ else
 fi
 if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
         for i in $v850e_files ; do
-                if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then
+                if test -r $i && (grep sanitize-v850eq $i > /dev/null) ; then
                         if [ -n "${verbose}" ] ; then
                                 echo Keeping v850eq stuff in $i
                         fi
@@ -74,7 +74,7 @@ if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
         done
 else
         for i in $v850e_files ; do
-                if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then
+                if test -r $i && (grep sanitize-v850eq $i > /dev/null) ; then
                         if [ -n "${verbose}" ] ; then
                                 echo Removing traces of \"v850eq\" from $i...
                         fi
This page took 0.023225 seconds and 4 git commands to generate.