diff options
Diffstat (limited to 'bfd/.Sanitize')
-rw-r--r-- | bfd/.Sanitize | 38 |
1 files changed, 2 insertions, 36 deletions
diff --git a/bfd/.Sanitize b/bfd/.Sanitize index ca24fbe..c79b784 100644 --- a/bfd/.Sanitize +++ b/bfd/.Sanitize @@ -15,14 +15,6 @@ Do-first: -d30v_files="cpu-d30v.c elf32-d30v.c" - -if ( echo $* | grep keep\-d30v > /dev/null ) ; then - keep_these_too="${d30v_files} ${keep_these_too}" -else - lose_these_too="${d30v_files} ${lose_these_too}" -fi - tic80_files="cpu-tic80.c coff-tic80.c" if ( echo $* | grep keep\-tic80 > /dev/null ) ; then @@ -120,6 +112,7 @@ cpu-alpha.c cpu-arc.c cpu-arm.c cpu-d10v.c +cpu-d30v.c cpu-h8300.c cpu-h8500.c cpu-hppa.c @@ -156,6 +149,7 @@ elf-m10300.c elf.c elf32-arc.c elf32-d10v.c +elf32-d30v.c elf32-gen.c elf32-hppa.c elf32-hppa.h @@ -328,34 +322,6 @@ else done fi -d30v_files="ChangeLog ChangeLog-9697 Makefile.in Makefile.am archures.c reloc.c targets.c config.bfd configure.in configure bfd-in2.h elf.c libbfd.h" -if ( echo $* | grep keep\-d30v > /dev/null ) ; then - for i in $d30v_files ; do - if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Keeping d30v stuff in $i - fi - fi - done -else - for i in $d30v_files ; do - if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Removing traces of \"d30v\" from $i... - fi - cp $i new - sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/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 ChangeLog-9697 Makefile.in Makefile.am archures.c reloc.c targets.c config.bfd configure.in configure bfd-in2.h elf.c libbfd.h elf32-v850.c cpu-v850.c" if ( echo $* | grep keep\-v850e > /dev/null ) ; then for i in $v850_files ; do |