binutils-gdb/sim
Mike Frysinger 6df01ab8ab sim: switch config.h usage to defs.h
The defs.h header will take care of including the various config.h
headers.  For now, it's just config.h, but we'll add more when we
integrate gnulib in.

This header should be used instead of config.h, and should be the
first include in every .c file.  We won't rely on the old behavior
where we expected files to include the port's sim-main.h which then
includes the common sim-basics.h which then includes config.h.  We
have a ton of code that includes things before sim-main.h, and it
sometimes needs to be that way.  Creating a dedicated header avoids
the ordering mess and implicit inclusion that shows up otherwise.
2021-05-16 22:38:41 -04:00
..
aarch64 sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
arm sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
avr sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
bfin sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
bpf sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
common sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
cr16 sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
cris sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
d10v sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
erc32 sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
example-synacor sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
frv sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
ft32 sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
h8300 sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
igen sim: add support for build-time ar & ranlib 2021-05-04 08:22:07 -04:00
iq2000 sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
lm32 sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
m4 sim: riscv: move __int128 check to configure 2021-05-16 00:04:17 -04:00
m32c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
m32r sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
m68hc11 sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
mcore sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
microblaze sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
mips sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
mn10300 sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
moxie sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
msp430 sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
or1k sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
ppc sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
pru sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
riscv sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
rl78 sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
rx sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sh sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
testsuite sim: Add bfd include path for common testsuite tools 2021-05-07 21:02:34 +03:00
v850 sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
.gitignore sim: drop common/cconfig.h in favor of a single config.h 2016-01-09 03:52:30 -05:00
aclocal.m4 sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
ChangeLog sim: riscv: move __int128 check to configure 2021-05-16 00:04:17 -04:00
configure sim: add support for build-time ar & ranlib 2021-05-04 08:22:07 -04:00
configure.ac sim: example-synacor: a simple implementation for reference 2021-04-03 16:19:16 -04:00
MAINTAINERS sim: readd myself as a maintainer 2021-01-29 22:11:45 -05:00
Makefile.am Fix igen build 2021-05-04 13:19:33 -06:00
Makefile.in sim: Add bfd include path for common testsuite tools 2021-05-07 21:02:34 +03:00
README-HACKING sim: create header namespace 2021-05-14 00:41:05 -04:00