From 8ca85ce00a6d7d9d926e3ec174347f9e0802eaa1 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 25 Feb 1998 19:54:59 +0000 Subject: [PATCH] * 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. --- gas/.Sanitize | 26 ++++++++++++++++++++++++++ gas/ChangeLog | 10 ++++++++++ 2 files changed, 36 insertions(+) diff --git a/gas/.Sanitize b/gas/.Sanitize index 6226e7dfe65..5592f21ba91 100644 --- a/gas/.Sanitize +++ b/gas/.Sanitize @@ -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 diff --git a/gas/ChangeLog b/gas/ChangeLog index 2f417078000..778329cea6b 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,13 @@ +start-sanitize-phase2-m32rx +Wed Feb 25 11:43:45 1998 Doug Evans + + * 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 -- 2.30.2