diff options
author | Nick Clifton <nickc@redhat.com> | 2004-04-22 10:33:16 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2004-04-22 10:33:16 +0000 |
commit | fd99574ba57795ede14cf8644ab4180facff4f17 (patch) | |
tree | f2d469228e9243e7d35a13b96290eb890898d271 /bfd | |
parent | 69b975477d1abc861452d7cb2c82190e44c47a94 (diff) | |
download | gdb-fd99574ba57795ede14cf8644ab4180facff4f17.zip gdb-fd99574ba57795ede14cf8644ab4180facff4f17.tar.gz gdb-fd99574ba57795ede14cf8644ab4180facff4f17.tar.bz2 |
Add support for ColdFire MAC instructions and tidy up support for other m68k
variants.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/archures.c | 1 | ||||
-rw-r--r-- | bfd/bfd-in2.h | 1 | ||||
-rw-r--r-- | bfd/cpu-m68k.c | 5 |
4 files changed, 11 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 5b715d6..5c43097 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2004-04-22 Peter Barada <peter@the-baradas.com> + + * archures.c: Add bfd_mach_mcfv4e to bfd_architecture. + * bfd2-in.h: Regenerate. + * cpu-m68k.c: Add 'm68k:mcfv4e' to arch_info_struct[]. + 2004-04-21 Chris Demetriou <cgd@broadcom.com> * coff-mips.c (bfd_mips_ecoff_create_embedded_relocs): Remove. diff --git a/bfd/archures.c b/bfd/archures.c index f75be84..027ac6a 100644 --- a/bfd/archures.c +++ b/bfd/archures.c @@ -85,6 +85,7 @@ DESCRIPTION .#define bfd_mach_mcf5307 11 .#define bfd_mach_mcf5407 12 .#define bfd_mach_mcf528x 13 +.#define bfd_mach_mcfv4e 14 . bfd_arch_vax, {* DEC Vax *} . bfd_arch_i960, {* Intel 960 *} . {* The order of the following is important. diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 2e83341..4907f11 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -1491,6 +1491,7 @@ enum bfd_architecture #define bfd_mach_mcf5307 11 #define bfd_mach_mcf5407 12 #define bfd_mach_mcf528x 13 +#define bfd_mach_mcfv4e 14 bfd_arch_vax, /* DEC Vax */ bfd_arch_i960, /* Intel 960 */ /* The order of the following is important. diff --git a/bfd/cpu-m68k.c b/bfd/cpu-m68k.c index 71c7029..426f583 100644 --- a/bfd/cpu-m68k.c +++ b/bfd/cpu-m68k.c @@ -1,6 +1,6 @@ /* BFD library support routines for architectures. Copyright 1990, 1991, 1992, 1993, 1994, 1997, 1998, 2000, 2001, 2002, - 2003 Free Software Foundation, Inc. + 2003, 2004 Free Software Foundation, Inc. Hacked by Steve Chamberlain of Cygnus Support. This file is part of BFD, the Binary File Descriptor library. @@ -40,7 +40,8 @@ static const bfd_arch_info_type arch_info_struct[] = N(bfd_mach_mcf5307, "m68k:5307", FALSE, &arch_info_struct[10]), N(bfd_mach_mcf5407, "m68k:5407", FALSE, &arch_info_struct[11]), N(bfd_mach_m68060, "m68k:68060", FALSE, &arch_info_struct[12]), - N(bfd_mach_mcf528x, "m68k:528x", FALSE, 0), + N(bfd_mach_mcf528x, "m68k:528x", FALSE, &arch_info_struct[13]), + N(bfd_mach_mcfv4e, "m68k:cfv4e", FALSE, 0), }; const bfd_arch_info_type bfd_m68k_arch = |