* config/tc-mn10300.c (r_registers): New register table.
authorJeff Law <law@redhat.com>
Thu, 18 Jun 1998 00:12:44 +0000 (00:12 +0000)
committerJeff Law <law@redhat.com>
Thu, 18 Jun 1998 00:12:44 +0000 (00:12 +0000)
        (r_register_name): New function.
        (md_assemble): Handle new am33 operand types.

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

index 344d4b7fd3fdd664e7c6401a996f529b41ce7fc3..236bc9f8badd11395acf4c9b6cf70930b439df96 100644 (file)
@@ -297,6 +297,34 @@ else
        done
 fi
 
+am33_files="ChangeLog"
+if ( echo $* | grep keep\-am33 > /dev/null ) ; then
+       for i in $am33_files ; do
+               if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping am33 stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $am33_files ; do
+               if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"am33\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-am33/,/end-\sanitize\-am33/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
+
 d30v_files="ChangeLog configure configure.in"
 if ( echo $* | grep keep\-d30v > /dev/null ) ; then
        for i in $d30v_files ; do
index 56e48001e155b7b2efaa83056188ea3407b5456a..97eeb455aaeebcfbd9e28c95f42433fc23b3fb3c 100644 (file)
@@ -1,3 +1,11 @@
+start-sanitize-am33
+Wed Jun 17 18:09:03 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * config/tc-mn10300.c (r_registers): New register table.
+       (r_register_name): New function.
+       (md_assemble): Handle new am33 operand types.
+
+end-sanitize-am33
 Wed Jun 17 13:07:05 1998  Ian Lance Taylor  <ian@cygnus.com>
 
        * config/tc-mips.c (md_show_usage): Fix -mipsN usage.
index 79ba312d1505fb6f91df3d6bc30028a96a1460a1..66927aa56bbe247fb7b58f1bc113b0f43f50c627 100644 (file)
@@ -188,6 +188,34 @@ Things-to-lose:
 
 Do-last:
 
+am33_files="tc-mn10300.c"
+if ( echo $* | grep keep\-am33 > /dev/null ) ; then
+       for i in $am33_files ; do
+               if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping am33 stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $am33_files ; do
+               if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"am33\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-am33/,/end-\sanitize\-am33/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
+
 r5900_files="tc-mips.c"
 if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
        for i in $r5900_files ; do