From 6beb80b22fe2c60bc07f63945ef36398317fcbb8 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 10 Jun 1994 21:22:31 +0000 Subject: [PATCH] Don't sanitize out SPARC v9 stuff. --- ld/.Sanitize | 25 ------------------------- ld/config/.Sanitize | 15 --------------- ld/emulparams/.Sanitize | 16 ---------------- 3 files changed, 56 deletions(-) diff --git a/ld/.Sanitize b/ld/.Sanitize index da8143ea904..1c695537cf7 100644 --- a/ld/.Sanitize +++ b/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. diff --git a/ld/config/.Sanitize b/ld/config/.Sanitize index a5957d12cb1..3d601cb85d7 100644 --- a/ld/config/.Sanitize +++ b/ld/config/.Sanitize @@ -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 diff --git a/ld/emulparams/.Sanitize b/ld/emulparams/.Sanitize index 74c7da515cf..4d703ec98ec 100644 --- a/ld/emulparams/.Sanitize +++ b/ld/emulparams/.Sanitize @@ -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 - -- 2.34.1