diff options
author | Jeff Law <law@redhat.com> | 1999-12-01 10:14:02 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1999-12-01 10:14:02 +0000 |
commit | 31f8dc8fceba2e10cc6d503cc6280db0504dd7f7 (patch) | |
tree | 7bdfca9f665bde18d0afd196bc8cef38505af52b /bfd/cpu-m10300.c | |
parent | 0ed4f623e67138e6119a6ec85524f595d2b8306a (diff) | |
download | gdb-31f8dc8fceba2e10cc6d503cc6280db0504dd7f7.zip gdb-31f8dc8fceba2e10cc6d503cc6280db0504dd7f7.tar.gz gdb-31f8dc8fceba2e10cc6d503cc6280db0504dd7f7.tar.bz2 |
* 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.
Diffstat (limited to 'bfd/cpu-m10300.c')
-rw-r--r-- | bfd/cpu-m10300.c | 19 |
1 files changed, 16 insertions, 3 deletions
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, }; - |