From 374bdac737b34eb8d4ab46dbd34046e659897051 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Sat, 5 Apr 1997 00:21:26 +0000 Subject: * config/tc-m32r.[ch]: New files. * cgen.c: New file. * Makefile.in (CPU_TYPES): Add m32r. (CFILES): Add cgen.c. (TARGET_CPU_CFILES): Add tc-m32r.c. (TARGET_CPU_HFILES): Add tc-m32r.h. (OBJS): Add cgen.o. (DISTCLEAN_HERE): Add cgen-opc.h. (.dep1,.tcdep): Create empty cgen-opc.h. (cgen.o): Add dependencies. (dependencies): Regenerate. * as.h (struct frag): New member fr_targ. (fr_pcrel_adjust,fr_bsr): Move into union fr_targ.ns32k. * conf.in (USING_CGEN): New macro. * configure.in (m32r-*-*): Add entry for. * configure: Regenerate. * write.c (relax_frag): fr_pcrel_adjust renamed to fr_targ.ns32k.pcrel_adjust. * config/tc-ns32k.c (*): Likewise. fr_bsr renamed to fr_targ.ns32k.bsr. --- gas/configure.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'gas/configure.in') diff --git a/gas/configure.in b/gas/configure.in index a3ea10a..cf72d5c 100644 --- a/gas/configure.in +++ b/gas/configure.in @@ -189,6 +189,8 @@ changequote([,])dnl i960-*-vxworks5.*) fmt=coff em=ic960 targ=ic960coff ;; i960-*-vxworks*) fmt=bout ;; + m32r-*-*) fmt=elf bfd_gas=yes ;; + m68k-*-vxworks* | m68k-ericsson-ose | m68k-*-sunos*) fmt=aout em=sun3 ;; m68k-motorola-sysv*) fmt=coff targ=m68kcoff em=delta ;; @@ -365,6 +367,17 @@ changequote([,])dnl esac case ${cpu_type} in + m32r) + case ${extra_objects} in + *cgen.o*) ;; + *) extra_objects="$extra_objects cgen.o" + extra_files=../opcodes/${cpu_type}-opc.h + extra_links=cgen-opc.h + AC_DEFINE(USING_CGEN) + ;; + esac + ;; + m68k) case ${extra_objects} in *m68k-parse.o*) ;; -- cgit v1.1