From 9582f9abec54e1396852a3a3afd4f0cfc296df2e Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 1 Apr 1997 04:12:20 +0000 Subject: [PATCH] remove m32r sanitization --- include/elf/.Sanitize | 37 +------------------------------------ 1 file changed, 1 insertion(+), 36 deletions(-) diff --git a/include/elf/.Sanitize b/include/elf/.Sanitize index f7e408a..77942d1 100644 --- a/include/elf/.Sanitize +++ b/include/elf/.Sanitize @@ -33,14 +33,6 @@ else lose_these_too="${v850_files} ${lose_these_too}" fi -m32r_files="m32r.h" - -if ( echo $* | grep keep\-m32r > /dev/null ) ; then - keep_these_too="${m32r_files} ${keep_these_too}" -else - lose_these_too="${m32r_files} ${lose_these_too}" -fi - # All files listed between the "Things-to-keep:" line and the # "Files-to-sed:" line will be kept. All other files will be removed. # Directories listed in this section will have their own Sanitize @@ -57,6 +49,7 @@ dwarf2.h external.h hppa.h internal.h +m32r.h mips.h ppc.h sparc.h @@ -121,34 +114,6 @@ else done fi -m32r_files="ChangeLog common.h" -if ( echo $* | grep keep\-m32r > /dev/null ) ; then - for i in $m32r_files ; do - if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Keeping m32r stuff in $i - fi - fi - done -else - for i in $m32r_files ; do - if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Removing traces of \"m32r\" from $i... - fi - cp $i new - sed '/start\-sanitize\-m32r/,/end-\sanitize\-m32r/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 - v850_files="ChangeLog common.h" if ( echo $* | grep keep\-v850 > /dev/null ) ; then for i in $v850_files ; do -- 2.7.4