aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/.Sanitize
diff options
context:
space:
mode:
Diffstat (limited to 'ld/scripttempl/.Sanitize')
-rw-r--r--ld/scripttempl/.Sanitize27
1 files changed, 0 insertions, 27 deletions
diff --git a/ld/scripttempl/.Sanitize b/ld/scripttempl/.Sanitize
index 119834a..d29f5e7 100644
--- a/ld/scripttempl/.Sanitize
+++ b/ld/scripttempl/.Sanitize
@@ -98,32 +98,5 @@ Things-to-lose:
Do-last:
-v850_files="v850.sc"
-if ( echo $* | grep keep\-v850e > /dev/null ) ; then
- for i in $v850_files ; do
- if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Keeping v850e stuff in $i
- fi
- fi
- done
-else
- for i in $v850_files ; do
- if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Removing traces of \"v850e\" from $i...
- fi
- cp $i new
- sed '/start\-sanitize\-v850e/,/end-\sanitize\-v850e/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
# eof