Revert "sim: mn10300: drop unused sim-main.c"

This reverts commit 681a422b85.

I missed that this was included via common/sim-inline.c.  I thought
I had grepped the top of the tree, but I must have only done mn10300.

Add a comment to make it clear where/how this file is used.
This commit is contained in:
Mike Frysinger 2022-12-23 00:20:52 -05:00
parent 681a422b85
commit a4c4d804d6

9
sim/mn10300/sim-main.c Normal file
View file

@ -0,0 +1,9 @@
/**
* This isn't normally compiled, but is pulled in via sim-inline.c when the
* SIM_MAIN_INLINE option is enabled by the user at compile time.
*/
#ifndef SIM_MAIN_C
#define SIM_MAIN_C
#include "op_utils.c"
#endif