i960xl changes (sanitized); keep ns32k-dis.c
authorKen Raeburn <raeburn@cygnus>
Tue, 26 Jul 1994 23:13:34 +0000 (23:13 +0000)
committerKen Raeburn <raeburn@cygnus>
Tue, 26 Jul 1994 23:13:34 +0000 (23:13 +0000)
opcodes/.Sanitize
opcodes/ChangeLog

index 899e0bf82312b3f287afa3fcf35c91411699edff..3ba1b7be5c83081d080700616a66ef55a42f15c5 100644 (file)
@@ -50,6 +50,7 @@ m68k-dis.c
 m88k-dis.c
 mips-dis.c
 mips-opc.c
+ns32k-dis.c
 ppc-dis.c
 ppc-opc.c
 sh-opc.h
@@ -64,4 +65,25 @@ Things-to-lose:
 
 Do-last:
 
+i960xl_files="ChangeLog i960-dis.c"
+if ( echo $* | grep keep\-i960xl > /dev/null ) ; then
+       if [ -n "${verbose}" ] ; then
+               echo Keeping i960xl stuff in $i960xl_files.
+       fi
+else
+       if [ -n "${verbose}" ]; then
+               echo -n Cleaning i960xl in `pwd`:
+       fi
+       for f in $i960xl_files ; do
+               if [ -n "${verbose}" ] ; then
+                       echo -n " " $f
+               fi
+               sed -e '/start\-sanitize\-i960xl/,/end\-sanitize\-i960xl/d' -e '/ xl /d' < $f > new
+               if [ -n "${safe}" ] ; then
+                       mv $f .Recover
+               fi
+               mv new $f
+       done
+fi
+
 # End of file.
index 7c630a0aa80416ef2b43e19e909627637bfc88c1..c7e81a34b6f99b6ed33c3fa117235dc7648e06cf 100644 (file)
@@ -1,3 +1,23 @@
+Tue Jul 26 16:36:03 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * i960-dis.c (reg_names): Now const.
+       (struct sparse_tabent): New type, copied from array type in mem
+       function.
+       (ctrl): Local static array ctrl_tab now const.
+       (cobr): Local static array cobr_tab now const.
+       (mem): Local variables reg1, reg2, reg3 now point to const.  Local
+       static variable mem_tab no longer explicitly initialized.  Changed
+       mem_init to const array of struct sparse_tabent.
+       (reg): Local static variable reg_tab no longer explicitly
+       initialized.  Changed reg_init to const array of struct
+       sparse_tabent.
+       (ea): Local static array scale_tab now const.
+
+       start-sanitize-i960xl
+       * i960-dis.c (reg): Added i960XL instructions to reg_init table.
+       (REG_MAX): Updated.
+       end-sanitize-i960xl
+
 Tue Jul 19 21:00:00 1994  DJ Delorie (dj@ctron.com)
 
        * configure.bat: the disassember needs to be enabled for