mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 02:20:51 +00:00
sim: m32r: move arch-specific settings to internal header
There's no need for these settings to be in sim-main.h which is shared with common/ sim code, so move it all out to the existing m32r-sim.h. Unfortunately, we can't yet drop the m32r-sim.h include from sim-main.h as many of the generated CGEN files refer only to sim-main.h. We'll have to improve the CGEN interface before we can make more progress, but this is at least a minor improvement.
This commit is contained in:
@@ -28,6 +28,8 @@
|
||||
#include "cgen-ops.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "m32r-sim.h"
|
||||
|
||||
/* Return the size of REGNO in bytes. */
|
||||
|
||||
static int
|
||||
|
||||
Reference in New Issue
Block a user