aboutsummaryrefslogtreecommitdiff
path: root/bfd/cpu-m32r.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1999-10-05 00:54:12 +0000
committerDoug Evans <dje@google.com>1999-10-05 00:54:12 +0000
commite916b64e85c4877eab99164842c70d708c41cb6c (patch)
tree79f93ee7ec34e29c9294a35d9aa68c2b7ea45d2a /bfd/cpu-m32r.c
parent44ce095e1de1eb4f290bfbb0cbc0b747c05ee7a7 (diff)
downloadgdb-e916b64e85c4877eab99164842c70d708c41cb6c.zip
gdb-e916b64e85c4877eab99164842c70d708c41cb6c.tar.gz
gdb-e916b64e85c4877eab99164842c70d708c41cb6c.tar.bz2
* cpu-m32r.c (arch_info_struct): New static global.
(bfd_m32r_arch): Refer to it. * elf32-m32r.c (m32r_elf_object_p): Recognize E_M32RX_ARCH. (m32r_elf_print_private_bfd_data): Ditto. (m32r_elf_final_write_processing): Handle bfd_mach_m32rx.
Diffstat (limited to 'bfd/cpu-m32r.c')
-rw-r--r--bfd/cpu-m32r.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/cpu-m32r.c b/bfd/cpu-m32r.c
index bd3cc31..895ad41 100644
--- a/bfd/cpu-m32r.c
+++ b/bfd/cpu-m32r.c
@@ -27,6 +27,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define NEXT NULL
+static const bfd_arch_info_type arch_info_struct[] =
+{
+ N (bfd_mach_m32rx, "m32rx", false, NULL)
+};
+
+#undef NEXT
+#define NEXT &arch_info_struct[0]
const bfd_arch_info_type bfd_m32r_arch =
N (bfd_mach_m32r, "m32r", true, NEXT);