diff options
author | Doug Evans <dje@google.com> | 1998-02-25 19:54:59 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1998-02-25 19:54:59 +0000 |
commit | 8ca85ce00a6d7d9d926e3ec174347f9e0802eaa1 (patch) | |
tree | e7c00a4dbe44cc7e2c7d24a6bd500a9e59b6145c | |
parent | d22ea5d0012b4067942bb7d9e5cebe95ddd0e5c0 (diff) | |
download | gdb-8ca85ce00a6d7d9d926e3ec174347f9e0802eaa1.zip gdb-8ca85ce00a6d7d9d926e3ec174347f9e0802eaa1.tar.gz gdb-8ca85ce00a6d7d9d926e3ec174347f9e0802eaa1.tar.bz2 |
* 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.
-rw-r--r-- | gas/.Sanitize | 26 | ||||
-rw-r--r-- | gas/ChangeLog | 10 |
2 files changed, 36 insertions, 0 deletions
diff --git a/gas/.Sanitize b/gas/.Sanitize index 6226e7d..5592f21 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 2f41707..778329c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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> |