From: Nick Clifton Date: Sun, 21 Sep 1997 19:36:06 +0000 (+0000) Subject: Fixed v850eq sanitization X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2c778bc53aafc06ac2b7705314efcebb5940ebab;p=binutils-gdb.git Fixed v850eq sanitization --- diff --git a/ld/.Sanitize b/ld/.Sanitize index 13e1e0575f6..9099f2a2624 100644 --- a/ld/.Sanitize +++ b/ld/.Sanitize @@ -91,32 +91,6 @@ Do-last: v850_files="ChangeLog configure.tgt Makefile.am Makefile.in" -if ( echo $* | grep keep\-v850eq > /dev/null ) ; then - for i in $v850_files ; do - if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Keeping v850eq 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 [ -n "${verbose}" ] ; then - echo Removing traces of \"v850eq\" from $i... - fi - cp $i new - sed '/start\-sanitize\-v850eq/,/end-\sanitize\-v850eq/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 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 @@ -126,9 +100,6 @@ if ( echo $* | grep keep\-v850e > /dev/null ) ; then 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 if [ -n "${verbose}" ] ; then @@ -145,7 +116,6 @@ else mv new $i fi done - fi fi r5900_files="ChangeLog configure.tgt"