diff options
author | Martin Hunt <hunt@redhat.com> | 1997-02-19 01:29:29 +0000 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 1997-02-19 01:29:29 +0000 |
commit | fd8d7c31c0b9b4fc9fa7ca9e6d38e4843cf2ff65 (patch) | |
tree | abe5703a9b0967debc0e86ec178bd56ba9242a01 /bfd/.Sanitize | |
parent | 49d1bbbef2a319214b111acb0090703061e4a702 (diff) | |
download | gdb-fd8d7c31c0b9b4fc9fa7ca9e6d38e4843cf2ff65.zip gdb-fd8d7c31c0b9b4fc9fa7ca9e6d38e4843cf2ff65.tar.gz gdb-fd8d7c31c0b9b4fc9fa7ca9e6d38e4843cf2ff65.tar.bz2 |
Tue Feb 18 17:22:59 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* Makefile.in, archures.c, config.bfd, configure.in, elf.c,
reloc.c, targets.c: New target, elf-*-D30V.
* bfd-in2.h, configure, libbfd.h: Rebuilt.
* cpu-d30v.c, elf32-d30v.c: New files.
Diffstat (limited to 'bfd/.Sanitize')
-rw-r--r-- | bfd/.Sanitize | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/bfd/.Sanitize b/bfd/.Sanitize index 0324b84..619acca 100644 --- a/bfd/.Sanitize +++ b/bfd/.Sanitize @@ -31,6 +31,14 @@ else lose_these_too="${d10v_files} ${lose_these_too}" fi +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 + m32r_files="cpu-m32r.c elf32-m32r.c" if ( echo $* | grep keep\-m32r > /dev/null ) ; then @@ -355,6 +363,34 @@ else done fi +d30v_files="ChangeLog ChangeLog.2 Makefile.in 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 + m32r_files="ChangeLog Makefile.in config.bfd configure.in configure elf.c archures.c reloc.c targets.c bfd-in2.h libbfd.h" if ( echo $* | grep keep\-m32r > /dev/null ) ; then for i in $m32r_files ; do |