From 31f8dc8fceba2e10cc6d503cc6280db0504dd7f7 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 1 Dec 1999 10:14:02 +0000 Subject: * archures.c (bfd_mach_am33): Define. * bfd-in2.h: Rebuilt. * cpu-m10300.c (bfd_am33_arch): Add to the mn103 architecture list * elf-m10300.c (mn10300_elf_relax_section): Handle am33 instructions. (compute_function_info): Handle additional registers saved by movm on the am33. (elf_mn10300_mach): Handle E_MN10300_MACH_AM33. (_bfd_mn10300_elf_final_write_processing): Handle bfd_mach_am33. --- bfd/cpu-m10300.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'bfd/cpu-m10300.c') diff --git a/bfd/cpu-m10300.c b/bfd/cpu-m10300.c index 5aa0bfe..aa5d097 100644 --- a/bfd/cpu-m10300.c +++ b/bfd/cpu-m10300.c @@ -21,7 +21,21 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "sysdep.h" #include "libbfd.h" -#define NEXT NULL +const bfd_arch_info_type bfd_am33_arch = + { + 32, /* 16 bits in a word */ + 32, /* 16 bits in an address */ + 8, /* 8 bits in a byte */ + bfd_arch_mn10300, + 330, + "am33", + "am33", + 2, + false, + bfd_default_compatible, + bfd_default_scan , + 0, + }; const bfd_arch_info_type bfd_mn10300_arch = { @@ -36,6 +50,5 @@ const bfd_arch_info_type bfd_mn10300_arch = true, /* the one and only */ bfd_default_compatible, bfd_default_scan , - NEXT, + &bfd_am33_arch, }; - -- cgit v1.1