From 04b42ec7e874a89aa668212d51d45e0ed15c0758 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 17 Jun 1994 00:51:16 +0000 Subject: [PATCH] unsanitize v9 --- .Sanitize | 30 ------------------------------ config.sub | 6 ------ include/elf/.Sanitize | 30 ------------------------------ 3 files changed, 66 deletions(-) diff --git a/.Sanitize b/.Sanitize index ef647f8..a955c5d 100644 --- a/.Sanitize +++ b/.Sanitize @@ -135,36 +135,6 @@ fi mv new Makefile.in if [ -n "${verbose}" ] ; then - echo Looking for signs of \"v9\"... -fi - -# 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 - if [ -n "${verbose}" ] ; then - echo Keeping v9 stuff in $i - fi - fi - done -else - for i in * ; do - if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Cleaning the \"v9\" out of $i... - fi - cp $i new - sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/d' < $i > new - if [ -n "${safe}" -a ! -f .Recover/$i ] ; then - mv $i .Recover - fi - mv new $i - fi - done -fi - -if [ -n "${verbose}" ] ; then echo Thawing away the \"chill\"... fi diff --git a/config.sub b/config.sub index e955fe3..dbd3639 100755 --- a/config.sub +++ b/config.sub @@ -163,14 +163,12 @@ case $basic_machine in ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. -# start-sanitize-v9 sparc64) # CYGNUS LOCAL basic_machine=sparc64-sun os=-elf ;; sparc64-*) # CYGNUS LOCAL ;; -# end-sanitize-v9 mips3-*) # CYGNUS LOCAL basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` @@ -905,10 +903,6 @@ fi # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in - sparc-sun) - # Strip off Sun's patch-release suffix - os=`echo $os | sed 's/_U1$//'` - ;; *-unknown) case $os in -riscix*) diff --git a/include/elf/.Sanitize b/include/elf/.Sanitize index 725b6b8..9731faa 100644 --- a/include/elf/.Sanitize +++ b/include/elf/.Sanitize @@ -35,36 +35,6 @@ mips.h Things-to-lose: - Do-last: -v9dirty="common.h" - -if ( echo $* | egrep verbose > /dev/null ) ; then - verbose=true -else - verbose= -fi - -if ( echo $* | grep keep\-v9 > /dev/null ) ; then - if [ -n "${verbose}" ] ; then - echo Keeping v9 in ${v9dirty} - fi -else - for i in ${v9dirty} ; do - if [ -n "${verbose}" ] ; then - echo Sanitizing v9 in $i - fi - rm -f new - grep -v v9 $i > new - if [ -n "${safe}" ] ; then - mv $i .Recover - else - rm $i - fi - mv new $i - done -fi - - # End of file. -- 2.7.4