diff options
author | Nick Clifton <nickc@redhat.com> | 1998-01-26 20:42:15 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1998-01-26 20:42:15 +0000 |
commit | b6930bdf46d243e4e2690524bc802fb0085f99d2 (patch) | |
tree | 72afe9f45b269cf62fecafa7a213623c81207048 /gas/config/.Sanitize | |
parent | d001edb7ba5b54ffc5f2dd73c62eb959a9ca4ec4 (diff) | |
download | gdb-b6930bdf46d243e4e2690524bc802fb0085f99d2.zip gdb-b6930bdf46d243e4e2690524bc802fb0085f99d2.tar.gz gdb-b6930bdf46d243e4e2690524bc802fb0085f99d2.tar.bz2 |
Fixed infinite loop bug in can_make_parallel().
Added second level of sanization to remove phase 2 work.
Diffstat (limited to 'gas/config/.Sanitize')
-rw-r--r-- | gas/config/.Sanitize | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/gas/config/.Sanitize b/gas/config/.Sanitize index 49078b5..9c57e0c 100644 --- a/gas/config/.Sanitize +++ b/gas/config/.Sanitize @@ -387,7 +387,7 @@ fi m32rx_files="tc-m32r.c tc-m32r.h" 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 test ! -d $i && (grep sanitize\-m32rx $i > /dev/null) ; then if [ -n "${verbose}" ] ; then echo Keeping m32rx stuff in $i fi @@ -395,7 +395,7 @@ if ( echo $* | grep keep\-m32rx > /dev/null ) ; then done else for i in $m32rx_files ; do - if test -r $i && (grep sanitize-m32rx $i > /dev/null) ; then + if test -r $i && (grep sanitize\-m32rx $i > /dev/null) ; then if [ -n "${verbose}" ] ; then echo Removing traces of \"m32rx\" from $i... fi @@ -411,6 +411,32 @@ else fi done fi +if ( echo $* | grep keep\-phase2\-m32rx > /dev/null ) ; then + for i in $m32rx_files ; do + if test ! -d $i && (grep sanitize\-phase2\-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 -r $i && (grep sanitize\-phase2\-m32rx $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"m32rx\" from $i... + fi + cp $i new + sed '/start\-sanitize\-phase2\-m32rx/,/end\-sanitize\-phase2\-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 vr4111_files="tc-mips.c" if ( echo $* | grep keep\-vr4111 > /dev/null ) ; then |