diff options
author | Nick Clifton <nickc@redhat.com> | 1997-12-16 14:54:08 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1997-12-16 14:54:08 +0000 |
commit | d745e6d93de391b1ba281b29dea76a22acfbe48a (patch) | |
tree | e1568aa167793856d46bc427e8049deb5b64aaa3 /gas/.Sanitize | |
parent | 9a8ea169a6e9622c76c418c9058c5da2e83e82b3 (diff) | |
download | gdb-d745e6d93de391b1ba281b29dea76a22acfbe48a.zip gdb-d745e6d93de391b1ba281b29dea76a22acfbe48a.tar.gz gdb-d745e6d93de391b1ba281b29dea76a22acfbe48a.tar.bz2 |
Added m32rx sanitization.
Diffstat (limited to 'gas/.Sanitize')
-rw-r--r-- | gas/.Sanitize | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gas/.Sanitize b/gas/.Sanitize index 1bf1dd5..0c8d0f7 100644 --- a/gas/.Sanitize +++ b/gas/.Sanitize @@ -347,6 +347,34 @@ else done fi +m32rx_files="ChangeLog configure.in configure" +if ( echo $* | grep keep\-m32rx > /dev/null ) ; then + for i in $m32rx_files ; do + if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping m32rx stuff in $i + fi + fi + done +else + for i in $m32rx_files ; do + if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"m32rx\" from $i... + fi + cp $i new + sed '/start\-sanitize\-m32rx/,/end-\sanitize\-m32rx/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 + for i in * ; do if test ! -d $i && (grep sanitize $i > /dev/null) ; then echo '***' Some mentions of Sanitize are still left in $i! 1>&2 |