diff options
author | Martin Hunt <hunt@redhat.com> | 1997-02-27 01:55:05 +0000 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 1997-02-27 01:55:05 +0000 |
commit | 9a18fe60f78aa17cddb9ff2fe7b84eb062be3184 (patch) | |
tree | 161299956e3912525e8ef5935e7e619e4657fb8f /gas | |
parent | 713495a9e6dcc1649dd009fee85983c197dfc022 (diff) | |
download | gdb-9a18fe60f78aa17cddb9ff2fe7b84eb062be3184.zip gdb-9a18fe60f78aa17cddb9ff2fe7b84eb062be3184.tar.gz gdb-9a18fe60f78aa17cddb9ff2fe7b84eb062be3184.tar.bz2 |
Sanitize out D30V stuff.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/.Sanitize | 28 | ||||
-rw-r--r-- | gas/testsuite/gas/.Sanitize | 6 |
2 files changed, 34 insertions, 0 deletions
diff --git a/gas/testsuite/.Sanitize b/gas/testsuite/.Sanitize index ccaf1a0..55ffdbe 100644 --- a/gas/testsuite/.Sanitize +++ b/gas/testsuite/.Sanitize @@ -132,4 +132,32 @@ else done fi +d30v_files="ChangeLog" +if ( echo $* | grep keep\-d30v > /dev/null ) ; then + for i in $d30v_files ; do + if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping d30v stuff in $i + fi + fi + done +else + for i in $d30v_files ; do + if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"d30v\" from $i... + fi + cp $i new + sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/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 + # End of file. diff --git a/gas/testsuite/gas/.Sanitize b/gas/testsuite/gas/.Sanitize index 13c2adb..8a87e27 100644 --- a/gas/testsuite/gas/.Sanitize +++ b/gas/testsuite/gas/.Sanitize @@ -35,6 +35,12 @@ else lose_these_too="v850 ${lose_these_too}" fi +if ( echo $* | grep keep\-d30v > /dev/null ) ; then + keep_these_too="d30v ${keep_these_too}" +else + lose_these_too="d30v ${lose_these_too}" +fi + # All files listed between the "Things-to-keep:" line and the # "Files-to-sed:" line will be kept. All other files will be removed. # Directories listed in this section will have their own Sanitize |