unsanitizing v9

This commit is contained in:
Ken Raeburn 1994-06-15 22:41:46 +00:00
parent 7faa6d38bb
commit 66599384bb

View File

@ -15,12 +15,6 @@
Do-first:
if ( echo $* | grep keep\-v9 > /dev/null ) ; then
keep_these_too="elf64-sparc.c"
else
lose_these_too="elf64-sparc.c"
fi
if ( echo $* | grep keep\-mpw > /dev/null ) ; then
keep_these_too="mpw-make.in mpw-config.in ChangeLog.mpw ${keep_these_too}"
else
@ -132,6 +126,7 @@ elf32-sparc.c
elf32-target.h
elf32.c
elf64-gen.c
elf64-sparc.c
elf64-target.h
elf64.c
elfcode.h
@ -209,29 +204,6 @@ Things-to-lose:
Do-last:
v9files="configure.in elfcode.h reloc.c bfd-in2.h targets.c config.bfd"
if ( echo $* | grep keep\-v9 > /dev/null ) ; then
if [ -n "${verbose}" ] ; then
echo Keeping v9 stuff in $v9files.
fi
else
if [ -n "${verbose}" ]; then
echo -n Cleaning v9 in `pwd`:
fi
for f in $v9files ; do
if [ -n "${verbose}" ] ; then
echo -n " " $f
fi
sed '/start\-sanitize\-v9/,/end\-sanitize\-v9/d' < $f > new
if [ -n "${safe}" ] ; then
mv $f .Recover
fi
mv new $f
done
chmod a+x config.bfd
fi
mpwfiles="coffswap.h"
if ( echo $* | grep keep\-mpw > /dev/null ) ; then
if [ -n "${verbose}" ] ; then