28 lines
1 KiB
Text
28 lines
1 KiB
Text
|
/* h8300 target configuration file. */
|
||
|
|
||
|
/* Define this if the simulator supports profiling.
|
||
|
See the mips simulator for an example.
|
||
|
This enables the `-p foo' and `-s bar' options.
|
||
|
The target is required to provide sim_set_profile{,_size}. */
|
||
|
/* #define SIM_HAVE_PROFILE */
|
||
|
|
||
|
/* Define this if the simulator uses an instruction cache.
|
||
|
See the h8/300 simulator for an example.
|
||
|
This enables the `-c size' option to set the size of the cache.
|
||
|
The target is required to provide sim_set_simcache_size. */
|
||
|
#define SIM_HAVE_SIMCACHE
|
||
|
|
||
|
/* C statement to call after argument parsing is done and executable file
|
||
|
has been opened (with bfd_openr).
|
||
|
See h8300/tconfig.in for an example. */
|
||
|
#define SIM_PRE_LOAD(EXEC_BFD) \
|
||
|
do { \
|
||
|
if ((EXEC_BFD)->arch_info->mach == bfd_mach_h8300h \
|
||
|
|| (EXEC_BFD)->arch_info->mach == bfd_mach_h8300s) \
|
||
|
set_h8300h (1); \
|
||
|
} while (0)
|
||
|
|
||
|
/* FIXME: This is a quick hack for run.c so it can support the `-h' option.
|
||
|
It will eventually be replaced by a more general facility. */
|
||
|
#define SIM_H8300
|