From a79d0193ecec8fb0032d2511233cd04ee805b326 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Sun, 29 Dec 1996 18:01:29 +0000 Subject: [PATCH] * Makefile.in (ALL_MACHINES): Add tic80-dis.o and tic80-opc.o. * disassemble.c (ARCH_tic80): Define if ARCH_all is defined. (disassembler): Add bfd_arch_tic80 support to set disassemble to print_insn_tic80. * tic80-dis.c (print_insn_tic80): Add stub. --- opcodes/.Sanitize | 2 +- opcodes/ChangeLog | 8 ++++++++ opcodes/Makefile.in | 15 +++++++++++++-- opcodes/tic80-dis.c | 14 ++++++++++++++ 4 files changed, 36 insertions(+), 3 deletions(-) diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize index 1de8cfeeddb..ed1a58a4e2e 100644 --- a/opcodes/.Sanitize +++ b/opcodes/.Sanitize @@ -191,7 +191,7 @@ else done fi -tic80_files="ChangeLog configure.in configure" +tic80_files="ChangeLog Makefile.in configure.in configure disassemble.c" if ( echo $* | grep keep\-tic80 > /dev/null ) ; then for i in $tic80_files ; do if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 1865253f095..dee454c1ead 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,4 +1,12 @@ start-sanitize-tic80 +Sun Dec 29 10:58:22 1996 Fred Fish + + * Makefile.in (ALL_MACHINES): Add tic80-dis.o and tic80-opc.o. + * disassemble.c (ARCH_tic80): Define if ARCH_all is defined. + (disassembler): Add bfd_arch_tic80 support to set disassemble + to print_insn_tic80. + * tic80-dis.c (print_insn_tic80): Add stub. + Fri Dec 27 22:30:57 1996 Fred Fish * configure.in (arch in $selarchs): Add bfd_tic80_arch entry. diff --git a/opcodes/Makefile.in b/opcodes/Makefile.in index b2cf0184c9c..4cd8a2c3da7 100644 --- a/opcodes/Makefile.in +++ b/opcodes/Makefile.in @@ -80,9 +80,19 @@ ALL_MACHINES = a29k-dis.o alpha-dis.o alpha-opc.o h8300-dis.o h8500-dis.o \ $(start-sanitize-arc) \ arc-dis.o arc-opc.o \ $(end-sanitize-arc) \ + $(start-sanitize-d10v) \ + d10v-dis.o d10v-opc.o \ + $(end-sanitize-d10v) \ hppa-dis.o i386-dis.o i960-dis.o m68k-dis.o m68k-opc.o \ - m88k-dis.o mips-dis.o mips-opc.o sh-dis.o sparc-dis.o \ - sparc-opc.o z8k-dis.o ns32k-dis.o ppc-dis.o ppc-opc.o \ + m88k-dis.o mn10200-dis.o mn10200-opc.o mn10300-dis.o \ + mn10300-opc.o mips-dis.o mips-opc.o mips16-opc.o sh-dis.o \ + sparc-dis.o sparc-opc.o z8k-dis.o ns32k-dis.o ppc-dis.o ppc-opc.o \ + $(start-sanitize-v850) \ + v850-dis.o v850-opc.o \ + $(end-sanitize-v850) \ + $(start-sanitize-tic80) \ + tic80-dis.o tic80-opc.o \ + $(end-sanitize-tic80) \ arm-dis.o w65-dis.o OFILES = @BFD_MACHINES@ dis-buf.o disassemble.o @@ -209,6 +219,7 @@ m68k-dis.o: m68k-dis.c $(INCDIR)/dis-asm.h $(INCDIR)/floatformat.h \ m68k-opc.o: m68k-opc.c $(INCDIR)/dis-asm.h $(INCDIR)/opcode/m68k.h mips-dis.o: mips-dis.c $(INCDIR)/dis-asm.h $(INCDIR)/opcode/mips.h mips-opc.o: mips-opc.c $(INCDIR)/opcode/mips.h +mips16-opc.o: mips16-opc.c $(INCDIR)/opcode/mips.h ppc-dis.o: ppc-dis.c $(INCDIR)/dis-asm.h $(INCDIR)/opcode/ppc.h ppc-opc.o: ppc-opc.c $(INCDIR)/opcode/ppc.h sparc-dis.o: sparc-dis.c $(INCDIR)/dis-asm.h $(INCDIR)/opcode/sparc.h diff --git a/opcodes/tic80-dis.c b/opcodes/tic80-dis.c index 6aad5b72aae..d78d6763e23 100644 --- a/opcodes/tic80-dis.c +++ b/opcodes/tic80-dis.c @@ -14,3 +14,17 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + +#include + +#include "ansidecl.h" +#include "opcode/tic80.h" +#include "dis-asm.h" + +int +print_insn_tic80 (memaddr, info) + bfd_vma memaddr; + struct disassemble_info *info; +{ + abort (); +} -- 2.30.2