mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-02 23:04:09 +08:00
remove m32r sanitization
This commit is contained in:
parent
65d7de4fc2
commit
482a7cddc3
@ -89,35 +89,6 @@ else
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
m32r_files="ChangeLog dis-asm.h"
|
||||
if ( echo $* | grep keep\-m32r > /dev/null ) ; then
|
||||
for i in $m32r_files ; do
|
||||
if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Keeping m32r stuff in $i
|
||||
fi
|
||||
fi
|
||||
done
|
||||
else
|
||||
for i in $m32r_files ; do
|
||||
if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Removing traces of \"m32r\" from $i...
|
||||
fi
|
||||
cp $i new
|
||||
sed '/start\-sanitize\-m32r/,/end-\sanitize\-m32r/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 dis-asm.h"
|
||||
if ( echo $* | grep keep\-v850 > /dev/null ) ; then
|
||||
for i in $v850_files ; do
|
||||
|
Loading…
Reference in New Issue
Block a user