forked from Imagelibrary/binutils-gdb
sim: d10v: 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 d10v_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:
@@ -42,7 +42,7 @@ write_template (void)
|
||||
struct d10v_opcode *opcode;
|
||||
int i,j;
|
||||
|
||||
printf ("#include \"sim-main.h\"\n");
|
||||
printf ("#include \"d10v-sim.h\"\n");
|
||||
printf ("#include \"simops.h\"\n");
|
||||
|
||||
for (opcode = (struct d10v_opcode *)d10v_opcodes; opcode->name; opcode++)
|
||||
@@ -103,6 +103,7 @@ write_opcodes (void)
|
||||
|
||||
/* write out opcode table */
|
||||
printf ("#include \"sim-main.h\"\n");
|
||||
printf ("#include \"d10v-sim.h\"\n");
|
||||
printf ("#include \"simops.h\"\n\n");
|
||||
printf ("struct simops Simops[] = {\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user