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/doc | |
parent | 9a8ea169a6e9622c76c418c9058c5da2e83e82b3 (diff) | |
download | gdb-d745e6d93de391b1ba281b29dea76a22acfbe48a.zip gdb-d745e6d93de391b1ba281b29dea76a22acfbe48a.tar.gz gdb-d745e6d93de391b1ba281b29dea76a22acfbe48a.tar.bz2 |
Added m32rx sanitization.
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/.Sanitize | 28 | ||||
-rw-r--r-- | gas/doc/as.texinfo | 4 |
2 files changed, 32 insertions, 0 deletions
diff --git a/gas/doc/.Sanitize b/gas/doc/.Sanitize index c7bf5e3..f4798da 100644 --- a/gas/doc/.Sanitize +++ b/gas/doc/.Sanitize @@ -82,6 +82,34 @@ else done fi +m32rx_files="c-m32rx.texi as.texinfo" +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 + # Don't try to clean directories here, as the 'mv' command will fail. # Also, grep fails on NFS mounted directories. diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index 8432f55..2788d0a 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -240,9 +240,11 @@ Here is a brief summary of how to invoke @code{@value{AS}}. For details, [ -ACA | -ACA_A | -ACB | -ACC | -AKA | -AKB | -AKC | -AMC ] [ -b ] [ -no-relax ] @end ifset +@c start-sanitize-m32rx @ifset M32R [ --m32rx ] @end ifset +@c start-sanitize-m32rx @ifset M680X0 [ -l ] [ -m68000 | -m68010 | -m68020 | ... ] @end ifset @@ -426,6 +428,7 @@ error if necessary. @end table @end ifset +@c start-sanitize-m32rx @ifset M32R The following options are available when @value{AS} is configured for the Mitsubishi M32R series. @@ -438,6 +441,7 @@ is normally the M32R, but this option changes it to the M32RX. @end table @end ifset +@c end-sanitize-m32rx @ifset M680X0 The following options are available when @value{AS} is configured for the |