summaryrefslogtreecommitdiff
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
commit57ed2233d85cf7ed6844d6fa3532c5ff5960170c (patch)
treeb7a96db4948d88a69c73d438a56df0110150b603 /bfd/cpu-m32r.c
parent05609c8407b69af8d3e7ef77a73ec6f947e2a257 (diff)
downloadgdb-57ed2233d85cf7ed6844d6fa3532c5ff5960170c.tar.gz
* 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 bd3cc31963d..895ad413b26 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);