mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
Don't sanitize out SPARC v9 stuff.
This commit is contained in:
parent
5cad5873e0
commit
6beb80b22f
25
ld/.Sanitize
25
ld/.Sanitize
@ -94,31 +94,6 @@ Things-to-lose:
|
||||
|
||||
Do-last:
|
||||
|
||||
echo Looking for signs of \"v9\"...
|
||||
|
||||
# Don't try to clean directories here, as the 'mv' command will fail.
|
||||
# Also, grep fails on NFS mounted directories.
|
||||
if ( echo $* | grep keep\-v9 > /dev/null ) ; then
|
||||
for i in * ; do
|
||||
if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
|
||||
echo Keeping v9 stuff in $i
|
||||
fi
|
||||
done
|
||||
else
|
||||
for i in * ; do
|
||||
if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
|
||||
echo Cleaning the \"v9\" out of $i...
|
||||
cp $i new
|
||||
sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/d' < $i > new
|
||||
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
|
||||
echo Caching $i in .Recover...
|
||||
mv $i .Recover
|
||||
fi
|
||||
mv new $i
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
echo Looking for traces of \"mpw\"...
|
||||
|
||||
# Don't try to clean directories here, as the 'mv' command will fail.
|
||||
|
@ -97,18 +97,3 @@ Things-to-lose:
|
||||
# done.
|
||||
|
||||
Do-last:
|
||||
|
||||
if ( echo $* | grep keep-v9 > /dev/null ) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Keeping `pwd`/sparc64-elf.mt.
|
||||
fi
|
||||
else
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Removing `pwd`/sparc64-elf.mt.
|
||||
fi
|
||||
if [ -n "${safe}" ] ; then
|
||||
mv sparc64-elf.mt .Recover
|
||||
else
|
||||
rm sparc64-elf.mt
|
||||
fi
|
||||
fi
|
||||
|
@ -83,19 +83,3 @@ Things-to-lose:
|
||||
# done.
|
||||
|
||||
Do-last:
|
||||
|
||||
if ( echo $* | grep keep-v9 > /dev/null ) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Keeping `pwd`/elf64_sparc.sh.
|
||||
fi
|
||||
else
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Removing `pwd`/elf64_sparc.sh.
|
||||
fi
|
||||
if [ -n "${safe}" ] ; then
|
||||
mv elf64_sparc.sh .Recover
|
||||
else
|
||||
rm elf64_sparc.sh
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user