* config/tc-h8300.c (parse_reg): Tweak error messages.
authorJeff Law <law@redhat.com>
Tue, 18 Jun 1996 20:28:20 +0000 (20:28 +0000)
committerJeff Law <law@redhat.com>
Tue, 18 Jun 1996 20:28:20 +0000 (20:28 +0000)
        (build_bytes): Likewise.
        (skip_colonthing): Handle :32 suffix.
        (get_specific): Promote L_24 to L_32 if it makes a match.
        Don't always promote L_8 to L_16.
        (do_a_fix_imm): Clean up L_32 and L_24 handling.
H8/S related stuff that doesn't need to be sanitized.

start-sanitize-h8s
        * config/tc-h8300.c (Smode): New variable.
        (h8300hmode): Turn off Hmode.
        (h8300smode): New function.  Turn on Smode and Hmode.
        (md_pseudo_table): New ".h8300s" pseudo-op.
        (parse_reg): Handle "exr" register.
        (get_operand): Handle bizarre syntax for "stm.l" and "ldm.l".
        Handle "mach" and "machl" operands for ldmac.
        (get_specific): Handle "stm.l" and "ldm.l".
        (build_bytes): Handle "stm.l" and "ldm.l"; handle MACREG operands.
        * config/tc-h8300.h (COFF_MAGIC): Handle H8/S magic number.
        (Smode): Declare.
end-sanitize-h8s
Sanitized H8/S stuff until we know its status.

gas/.Sanitize
gas/ChangeLog
gas/config/.Sanitize

index d77f7cfca05787f83a4cb34c72bfa218d1575b68..17cc3e9641e12bdc375659cba64d44f1cc2e9c7f 100644 (file)
@@ -162,6 +162,35 @@ else
        done
 fi
 
+
+h8s_files="ChangeLog"
+if ( echo $* | grep keep\-h8s > /dev/null ) ; then
+       for i in $h8s_files ; do
+               if test ! -d $i && (grep sanitize-h8s $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping h8s stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $h8s_files ; do
+               if test ! -d $i && (grep sanitize-h8s $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"h8s\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-h8s/,/end-\sanitize\-h8s/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
+
 for i in * ; do
        if test ! -d $i && (grep sanitize $i > /dev/null) ; then
                echo '***' Some mentions of Sanitize are still left in $i! 1>&2
index 38e4777f1db21f7ca4d1919f7d83717a50838f99..0ec9a5832c48281a7a450fb90565e55f6df731e4 100644 (file)
@@ -1,3 +1,26 @@
+Tue Jun 18 13:19:51 1996  Jeffrey A. Law  <law@rtl.cygnus.com>
+
+       * config/tc-h8300.c (parse_reg): Tweak error messages.
+       (build_bytes): Likewise.
+       (skip_colonthing): Handle :32 suffix.
+       (get_specific): Promote L_24 to L_32 if it makes a match.
+       Don't always promote L_8 to L_16.
+       (do_a_fix_imm): Clean up L_32 and L_24 handling.
+
+start-sanitize-h8s
+       * config/tc-h8300.c (Smode): New variable.
+       (h8300hmode): Turn off Hmode.
+       (h8300smode): New function.  Turn on Smode and Hmode.
+       (md_pseudo_table): New ".h8300s" pseudo-op.
+       (parse_reg): Handle "exr" register.
+       (get_operand): Handle bizarre syntax for "stm.l" and "ldm.l".
+       Handle "mach" and "machl" operands for ldmac.
+       (get_specific): Handle "stm.l" and "ldm.l".
+       (build_bytes): Handle "stm.l" and "ldm.l"; handle MACREG operands.
+       * config/tc-h8300.h (COFF_MAGIC): Handle H8/S magic number.
+       (Smode): Declare.
+
+end-sanitize-h8s
 Mon Jun 17 15:50:53 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
 
        * doc/as.texinfo: Reorder chapter of machine dependent options so
index 269b1a644bbc16ff70fa66c3204b9e4018e3807a..72aa71bfb516271a6781491505d32f023cb1fd2f 100644 (file)
@@ -150,4 +150,36 @@ Things-to-lose:
 
 Do-last:
 
+if [ -n "${verbose}" ] ; then
+       echo Processing \"h8s\"...
+fi
+
+h8s_files="tc-h8300.c tc-h8300.h"
+if ( echo $* | grep keep\-h8s > /dev/null ) ; then
+       for i in $h8s_files ; do
+               if test ! -d $i && (grep sanitize-h8s $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping h8s stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $h8s_files ; do
+               if test ! -d $i && (grep sanitize-h8s $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"h8s\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-h8s/,/end-\sanitize\-h8s/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
+
 # End of file.