mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 22:40:24 +00:00
Remove SH4 sanitation.
This commit is contained in:
parent
1e442295a0
commit
1eb85945f5
@ -434,34 +434,6 @@ else
|
||||
done
|
||||
fi
|
||||
|
||||
sh4_files="ChangeLog config.bfd archures.c bfd-in2.h cpu-sh.c"
|
||||
if ( echo $* | grep keep\-sh4 > /dev/null ) ; then
|
||||
for i in $sh4_files ; do
|
||||
if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Keeping sh4 stuff in $i
|
||||
fi
|
||||
fi
|
||||
done
|
||||
else
|
||||
for i in $sh4_files ; do
|
||||
if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Removing traces of \"sh4\" from $i...
|
||||
fi
|
||||
cp $i new
|
||||
sed '/start\-sanitize\-sh4/,/end-\sanitize\-sh4/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
|
||||
|
||||
tic80_files="ChangeLog Makefile.in Makefile.am archures.c bfd-in2.h config.bfd configure configure.in targets.c coffcode.h coffswap.h"
|
||||
if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
|
||||
for i in $tic80_files ; do
|
||||
|
Loading…
Reference in New Issue
Block a user