diff options
author | David Edelsohn <dje.gcc@gmail.com> | 1997-04-05 00:21:26 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 1997-04-05 00:21:26 +0000 |
commit | 374bdac737b34eb8d4ab46dbd34046e659897051 (patch) | |
tree | e6f6fc3218bbcca676fe5bea0d08ccb15ce1cfb3 /gas/configure.in | |
parent | 9f719a56521e5bdbf46e1a3471e8841643f4d74d (diff) | |
download | gdb-374bdac737b34eb8d4ab46dbd34046e659897051.zip gdb-374bdac737b34eb8d4ab46dbd34046e659897051.tar.gz gdb-374bdac737b34eb8d4ab46dbd34046e659897051.tar.bz2 |
* 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.
Diffstat (limited to 'gas/configure.in')
-rw-r--r-- | gas/configure.in | 13 |
1 files changed, 13 insertions, 0 deletions
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*) ;; |