mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
sim: cr16: 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 drop the cr16_sim.h include and move it to the few files that actually need it. Also rename the file to standardize it a bit better with other ports.
This commit is contained in:
@@ -70,6 +70,7 @@ write_template (void)
|
||||
|
||||
printf ("#include \"defs.h\"\n");
|
||||
printf ("#include \"sim-main.h\"\n");
|
||||
printf ("#include \"cr16-sim.h\"\n");
|
||||
printf ("#include \"simops.h\"\n\n");
|
||||
|
||||
for ( ; i < NUMOPCODES; i++)
|
||||
@@ -134,7 +135,7 @@ write_opcodes (void)
|
||||
|
||||
/* write out opcode table. */
|
||||
printf ("#include \"defs.h\"\n");
|
||||
printf ("#include \"sim-main.h\"\n");
|
||||
printf ("#include \"cr16-sim.h\"\n");
|
||||
printf ("#include \"simops.h\"\n\n");
|
||||
printf ("struct simops Simops[] = {\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user