summaryrefslogtreecommitdiff
path: root/bfd/cpu-m10300.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-12-01 10:14:02 +0000
committerJeff Law <law@redhat.com>1999-12-01 10:14:02 +0000
commite0c785d649bd55ba6f0f0254ea804d5899be4d33 (patch)
treef532db62eff29a2018a59501b4743393c46d8c72 /bfd/cpu-m10300.c
parentbaf95d97eb19007e53223335d747c559a7ee32f4 (diff)
downloadbinutils-redhat-e0c785d649bd55ba6f0f0254ea804d5899be4d33.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.c19
1 files changed, 16 insertions, 3 deletions
diff --git a/bfd/cpu-m10300.c b/bfd/cpu-m10300.c
index 5aa0bfe9c8..aa5d0973ae 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,
};
-