* config/tc-m32r.c (optimize): New static local.
authorDoug Evans <dje@google.com>
Wed, 25 Feb 1998 19:54:59 +0000 (19:54 +0000)
committerDoug Evans <dje@google.com>
Wed, 25 Feb 1998 19:54:59 +0000 (19:54 +0000)
(md_shortopts): Add -O.
(md_parse_option): Recognize it.
(md_show_usage): Document it.
(md_assemble): Don't try to combine insns in parallel if !optimize.

gas/.Sanitize
gas/ChangeLog

index 6226e7dfe65f07dbb519f2eef180189b70739808..5592f21ba91a25ec9da6e27bcad1710893dc843e 100644 (file)
@@ -375,6 +375,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
 
 sky_files="ChangeLog configure.in configure"
 if ( echo $* | grep keep\-sky > /dev/null ) ; then
index 2f417078000fc36e71863f6db5fe55cfe9826c06..778329cea6bed2690067e8ba88c791000a038adc 100644 (file)
@@ -1,3 +1,13 @@
+start-sanitize-phase2-m32rx
+Wed Feb 25 11:43:45 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * config/tc-m32r.c (optimize): New static local.
+       (md_shortopts): Add -O.
+       (md_parse_option): Recognize it.
+       (md_show_usage): Document it.
+       (md_assemble): Don't try to combine insns in parallel if !optimize.
+
+end-sanitize-phase2-m32rx
 start-sanitize-m32rx
 Tue Feb 24 18:03:25 1998  Nick Clifton  <nickc@cygnus.com>