From c840244e232b52120ceff2ba44f291897b82a706 Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Fri, 19 Mar 1993 00:11:02 +0000 Subject: [PATCH] * mips-dis.c, z8k-dis.c: Converted to use interface defined in ../include/dis-asm.h. * m68k-dis.c: New file (merge of ../binutils/m68k-pinsn.c and ../gdb/m68k-pinsn.c). * i386-dis.c: New file (merge of ../binutils/i386-pinsn.c and ../gdb/i386-pinsn.c). * m68881-ext.c: New file. Moved definition of ext_format ext_format_68881 from ../gdb/m68k-tdep.c. * Makefile.in: Adjust for new files. * i386-dis.c: Patches from John Hassey (hassey@dg-rtp.dg.com). * m68k-dis.c: Recognize '9' placement code, so (say) pflush can be dis-assembled. --- opcodes/.Sanitize | 3 +++ opcodes/ChangeLog | 54 ++++++++++++++++++++++++++++++++++++++++++++ opcodes/Makefile.in | 23 +++++++++++-------- opcodes/m68881-ext.c | 6 +++++ 4 files changed, 77 insertions(+), 9 deletions(-) create mode 100644 opcodes/m68881-ext.c diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize index 81b1cb89b54..b627a21c783 100644 --- a/opcodes/.Sanitize +++ b/opcodes/.Sanitize @@ -25,6 +25,9 @@ Things-to-keep: ChangeLog Makefile.in configure.in +i386-dis.c +m68881-ext.c +m68k-dis.c mips-dis.c sparc-opc.c z8k-dis.c diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 7d198ecda1d..f03c1e73767 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,57 @@ +Thu Mar 18 14:12:37 1993 Per Bothner (bothner@rtl.cygnus.com) + + * mips-dis.c, z8k-dis.c: Converted to use interface defined in + ../include/dis-asm.h. + * m68k-dis.c: New file (merge of ../binutils/m68k-pinsn.c + and ../gdb/m68k-pinsn.c). + * i386-dis.c: New file (merge of ../binutils/i386-pinsn.c + and ../gdb/i386-pinsn.c). + * m68881-ext.c: New file. Moved definition of + ext_format ext_format_68881 from ../gdb/m68k-tdep.c. + * Makefile.in: Adjust for new files. + * i386-dis.c: Patches from John Hassey (hassey@dg-rtp.dg.com). + * m68k-dis.c: Recognize '9' placement code, so (say) pflush + can be dis-assembled. + +Wed Feb 17 09:19:47 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * mips-dis.c (print_insn_arg): Now returns void. + +Mon Jan 11 16:09:16 1993 Fred Fish (fnf@cygnus.com) + + * mips-dis.c (ansidecl.h): Include for benefit of sysdep.h + files that use the macros. + +Thu Jan 7 13:15:17 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips-dis.c: New file, from gdb/mips-pinsn.c. + * Makefile.in (DIS_LIBS): Added mips-dis.o. + (CFILES): Added mips-dis.c. + +Thu Jan 7 07:36:33 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * z8k-dis.c (print_insn_z8001, print_insn_z8002): new routines + * z8kgen.c, z8k-opc.h: fix sizes of some shifts. + +Tue Dec 22 15:42:44 1992 Per Bothner (bothner@rtl.cygnus.com) + + * Makefile.in: Improve *clean rules. + * configure.in: Allow a default host. + +Tue Nov 17 19:53:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * Makefile.in: also use -I$(srcdir)/../bfd, since some sysdep + files include other sysdep files + +Thu Nov 12 16:10:37 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * z8k-dis.c z8k-opc.h z8kgen.c: checkpoint + +Fri Oct 9 04:56:05 1992 John Gilmore (gnu@cygnus.com) + + * configure.in: For host support, use ../bfd/configure.host + so it stays in sync with the ../bfd/hosts database. + Thu Oct 1 23:38:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) * configure.in: use cpu-vendor-os triple instead of nested cases diff --git a/opcodes/Makefile.in b/opcodes/Makefile.in index 8e4eb759cd8..1dfe0049197 100644 --- a/opcodes/Makefile.in +++ b/opcodes/Makefile.in @@ -53,17 +53,18 @@ BISON = bison MAKEINFO = makeinfo RANLIB = ranlib -INCDIR = $(srcdir)/../include $(srcdir)/../bfd -CSEARCH = -I. -I$(srcdir) -I$(INCDIR) +INCDIR = $(srcdir)/../include +BFDDIR = $(srcdir)/../bfd +CSEARCH = -I. -I$(srcdir) -I$(INCDIR) -I$(BFDDIR) DEP = mkdep TARGETLIB = libopcodes.a -DIS_LIBS = z8k-dis.o +DIS_LIBS = i386-dis.o z8k-dis.o m68k-dis.o mips-dis.o -OFILES = $(DIS_LIBS) sparc-opc.o +OFILES = $(DIS_LIBS) sparc-opc.o m68881-ext.o #### host and target dependent Makefile fragments come in here. ### @@ -85,7 +86,7 @@ FLAGS_TO_PASS = \ # C source files that correspond to .o's. -CFILES = z8k-dis.c +CFILES = i386-dis.c z8k-dis.c m68k-dis.c mips-dis.c STAGESTUFF = $(TARGETLIB) $(OFILES) @@ -110,17 +111,21 @@ $(TARGETLIB): $(OFILES) # Circumvent Sun Make bug with VPATH. sparc-opc.o: sparc-opc.c +m68881-ext.o: m68881-ext.c tags etags: TAGS TAGS: force etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c +MOSTLYCLEAN = *.o core *.E *.p *.ip +mostyclean: + rm -rf $(MOSTLYCLEAN) clean: - rm -f *.[oa] *~ core *.E *.p *.ip aout-params.h gen-aout - -clobber realclean: clean - rm -f libbfd.a TAGS + rm -f *.a $(MOSTLYCLEAN) +distclean: clean + rm -rf Makefile config.status sysdep.h TAGS +clobber realclean: distclean # Mark everything as depending on config.status, since the timestamp on # sysdep.h might actually move backwards if we reconfig and relink it diff --git a/opcodes/m68881-ext.c b/opcodes/m68881-ext.c new file mode 100644 index 00000000000..ca3109fc643 --- /dev/null +++ b/opcodes/m68881-ext.c @@ -0,0 +1,6 @@ +#include "ieee-float.h" + +CONST struct ext_format ext_format_68881 = { +/* tot sbyte smask expbyte manbyte */ + 12, 0, 0x80, 0,1, 4,8 /* mc68881 */ +}; -- 2.30.2