diff options
author | Martin Hunt <hunt@redhat.com> | 1996-07-23 18:00:39 +0000 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 1996-07-23 18:00:39 +0000 |
commit | e9525d967335a937c596bca942590c9794daaec1 (patch) | |
tree | 73d1a7da506b4ed66476403705ed1739591c8e46 /ld/.Sanitize | |
parent | 9305039104d98456e975a675e65d791fa0a3e80b (diff) | |
download | gdb-e9525d967335a937c596bca942590c9794daaec1.zip gdb-e9525d967335a937c596bca942590c9794daaec1.tar.gz gdb-e9525d967335a937c596bca942590c9794daaec1.tar.bz2 |
start-sanitize-d10v
Tue Jul 23 10:36:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* Makefile.in (ed10velf.c): New target.
* configure.tgt (d10v-*-elf*): New target.
* emulparams/d10velf.sh: New file.
end-sanitize-d10v
Diffstat (limited to 'ld/.Sanitize')
-rw-r--r-- | ld/.Sanitize | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ld/.Sanitize b/ld/.Sanitize index 3d6589c..a68cbf9 100644 --- a/ld/.Sanitize +++ b/ld/.Sanitize @@ -114,6 +114,35 @@ else done fi +d10v_files="ChangeLog configure.in configure.tgt Makefile.in" + +if ( echo $* | grep keep\-d10v > /dev/null ) ; then + for i in $d10v_files ; do + if test ! -d $i && (grep sanitize-d10v $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping d10v stuff in $i + fi + fi + done +else + for i in $d10v_files ; do + if test ! -d $i && (grep sanitize-d10v $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"d10v\" from $i... + fi + cp $i new + sed '/start\-sanitize\-d10v/,/end-\sanitize\-d10v/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 + for i in * ; do if test ! -d $i && (grep sanitize $i > /dev/null) ; then echo '***' Some mentions of Sanitize are still left in $i! 1>&2 |