]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/m32r/sim-if.c
sim: namespace sim_machs
[thirdparty/binutils-gdb.git] / sim / m32r / sim-if.c
index 3d8db0332fd6f3ae5c0b609982515cc7f42b70ff..33ae7c106e391b42016202982f39f0ea4d1fad85 100644 (file)
@@ -44,6 +44,8 @@ free_state (SIM_DESC sd)
   sim_state_free (sd);
 }
 
+extern const SIM_MACH * const m32r_sim_machs[];
+
 /* Create an instance of the simulator.  */
 
 SIM_DESC
@@ -55,6 +57,7 @@ sim_open (SIM_OPEN_KIND kind, host_callback *callback, struct bfd *abfd,
   int i;
 
   /* Set default options before parsing user options.  */
+  STATE_MACHS (sd) = m32r_sim_machs;
   current_alignment = STRICT_ALIGNMENT;
   current_target_byte_order = BFD_ENDIAN_BIG;