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 | 034691d61662062f2913d8bdd203f291900ce9c4 (patch) | |
tree | df13686acfcd6b9e5cdfd6b47212db2b129ab02b /bfd/cpu-m10300.c | |
parent | 1d9a212a11cba98b543b2ccbbd8196a687435ffc (diff) | |
download | gdb-034691d61662062f2913d8bdd203f291900ce9c4.tar.gz |
* 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 5aa0bfe9c88..aa5d0973ae7 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, }; - |