diff --git a/include/elf/.Sanitize b/include/elf/.Sanitize index 77942d1671..7664ab77a2 100644 --- a/include/elf/.Sanitize +++ b/include/elf/.Sanitize @@ -17,14 +17,6 @@ Do-first: -arc_files="arc.h" - -if ( echo $* | grep keep\-arc > /dev/null ) ; then - keep_these_too="${arc_files} ${keep_these_too}" -else - lose_these_too="${arc_files} ${lose_these_too}" -fi - v850_files="v850.h" if ( echo $* | grep keep\-v850 > /dev/null ) ; then @@ -58,34 +50,6 @@ Things-to-lose: Do-last: -arc_files="ChangeLog common.h" -if ( echo $* | grep keep\-arc > /dev/null ) ; then - for i in $arc_files ; do - if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Keeping arc stuff in $i - fi - fi - done -else - for i in $arc_files ; do - if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Removing traces of \"arc\" from $i... - fi - cp $i new - sed '/start\-sanitize\-arc/,/end-\sanitize\-arc/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