aboutsummaryrefslogtreecommitdiff
path: root/sim/sh64/tconfig.h
AgeCommit message (Collapse)AuthorFilesLines
2015-12-25sim: sim-model: build for everyoneMike Frysinger1-7/+0
Rather than include this for some targets, set it up so we can build it all the time via the common code. This makes it easier for targets to opt into it when they're ready, increases build coverage, and allows us to centralize much of the logic. We also get to delete tconfig.h from two more targets -- they were setting WITH_DEVICES to 0 which has the same behavior as not defining it at all. While the SIM_HAVE_MODEL knob is gone, we now have WITH_MODEL_P, but it is only used by the common sim-model code. We use it to declare dummy model lists when the arch hasn't created its own.
2015-12-25sim: move WITH_SCACHE_PBB to sim-main.hMike Frysinger1-5/+0
This helps us break up tconfig.h more. Any file using this define should be pulling in sim-main.h already, so things should continue working.
2015-12-24sim: make LMA loading the default for all targetsMike Frysinger1-3/+0
Most targets already default to loading code via their LMA, but for a few, this means the default changes from loading VMA to LMA. It's better to have the different targets be consistent, and allows some code clean up.
2015-12-24sim: delete old breakpoint codeMike Frysinger1-9/+0
This code relies on the old sim-break module, but that was deleted in 2003. The module only existed for gdb to tell the sim to set breakpoints on its behalf, but then that logic was abandoned in favor of gdb knowing all about proper breakpoints (since it does already for non-sim targets). Some dead code lived on in the older ports though -- clean it up now.
2015-12-24sim: enable watchpoint module everywhereMike Frysinger1-5/+0
We build & bundle the watchpoint module everywhere, but we don't make the command line flags available by default. A few targets opted in, but most did not. Just enable the flag for everyone. Not all targets will respect the flags (making them nops), but shouldn't be a big deal. This is how we handle other common modules already.
2015-12-24sim: delete SIM_HAVE_MEM_SIZEMike Frysinger1-7/+0
This define isn't used anywhere (doesn't seem to ever have been used by versions committed), so delete the commented out code as it's dead.
2015-03-24sim: clean up SIM_HAVE_BIENDIANMike Frysinger1-3/+0
This define only applies when using the old run.o main. Document it as such, and delete it from mips/sh64 since both use nrun.o now.
2015-03-16sim: rename tconfig.in to tconfig.hMike Frysinger1-0/+39
Rather than manually include tconfig.h when we think we'll need it (which is error prone as it can define symbols we expect from config.h), have it be included directly by config.h. Since we know we have to include that header everywhere already, this will make sure tconfig.h isn't missed. It should also be fine as tconfig.h is supposed to be simple and only set up a few core defines for the target. This allows us to stop symlinking it in place all the time and just use it straight out of the respective source directory.