diff options
Diffstat (limited to 'sim/mips')
-rw-r--r-- | sim/mips/ChangeLog | 7 | ||||
-rw-r--r-- | sim/mips/cp1.c | 3 | ||||
-rw-r--r-- | sim/mips/dsp.c | 3 | ||||
-rw-r--r-- | sim/mips/dv-tx3904cpu.c | 2 | ||||
-rw-r--r-- | sim/mips/dv-tx3904irc.c | 2 | ||||
-rw-r--r-- | sim/mips/dv-tx3904sio.c | 2 | ||||
-rw-r--r-- | sim/mips/dv-tx3904tmr.c | 2 | ||||
-rw-r--r-- | sim/mips/interp.c | 7 | ||||
-rw-r--r-- | sim/mips/m16run.c | 3 | ||||
-rw-r--r-- | sim/mips/mdmx.c | 3 | ||||
-rw-r--r-- | sim/mips/micromipsrun.c | 3 | ||||
-rw-r--r-- | sim/mips/sim-main.c | 3 |
12 files changed, 36 insertions, 4 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 76134b7..68c2503 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,5 +1,12 @@ 2021-05-16 Mike Frysinger <vapier@gentoo.org> + * interp.c: Replace config.h include with defs.h. + * cp1.c, dsp.c, dv-tx3904cpu.c, dv-tx3904irc.c, dv-tx3904sio.c, + dv-tx3904tmr.c, m16run.c, mdmx.c, micromipsrun.c, sim-main.c: + Include defs.h. + +2021-05-16 Mike Frysinger <vapier@gentoo.org> + * config.in, configure: Regenerate. 2021-05-14 Mike Frysinger <vapier@gentoo.org> diff --git a/sim/mips/cp1.c b/sim/mips/cp1.c index f5d3d1d..03ed0c0 100644 --- a/sim/mips/cp1.c +++ b/sim/mips/cp1.c @@ -40,6 +40,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ (Originally, this code was in interp.c) */ +/* This must come before any other includes. */ +#include "defs.h" + #include "sim-main.h" #include <stdlib.h> diff --git a/sim/mips/dsp.c b/sim/mips/dsp.c index b82ff68..fb25caa 100644 --- a/sim/mips/dsp.c +++ b/sim/mips/dsp.c @@ -17,6 +17,9 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +/* This must come before any other includes. */ +#include "defs.h" + #include "sim-main.h" int DSPLO_REGNUM[4] = diff --git a/sim/mips/dv-tx3904cpu.c b/sim/mips/dv-tx3904cpu.c index bf23a06..43f38d2 100644 --- a/sim/mips/dv-tx3904cpu.c +++ b/sim/mips/dv-tx3904cpu.c @@ -18,6 +18,8 @@ */ +/* This must come before any other includes. */ +#include "defs.h" #include "sim-main.h" #include "hw-main.h" diff --git a/sim/mips/dv-tx3904irc.c b/sim/mips/dv-tx3904irc.c index d9a9197..0896b0f 100644 --- a/sim/mips/dv-tx3904irc.c +++ b/sim/mips/dv-tx3904irc.c @@ -18,6 +18,8 @@ */ +/* This must come before any other includes. */ +#include "defs.h" #include "sim-main.h" #include "hw-main.h" diff --git a/sim/mips/dv-tx3904sio.c b/sim/mips/dv-tx3904sio.c index 9676344..c81b2dd 100644 --- a/sim/mips/dv-tx3904sio.c +++ b/sim/mips/dv-tx3904sio.c @@ -18,6 +18,8 @@ */ +/* This must come before any other includes. */ +#include "defs.h" #include "sim-main.h" #include "hw-main.h" diff --git a/sim/mips/dv-tx3904tmr.c b/sim/mips/dv-tx3904tmr.c index 48b169f..5b5d8ac 100644 --- a/sim/mips/dv-tx3904tmr.c +++ b/sim/mips/dv-tx3904tmr.c @@ -18,6 +18,8 @@ */ +/* This must come before any other includes. */ +#include "defs.h" #include "sim-main.h" #include "hw-main.h" diff --git a/sim/mips/interp.c b/sim/mips/interp.c index 49b79f9..25eb497 100644 --- a/sim/mips/interp.c +++ b/sim/mips/interp.c @@ -22,7 +22,9 @@ code on the hardware. */ -#include "config.h" +/* This must come before any other includes. */ +#include "defs.h" + #include "bfd.h" #include "sim-main.h" #include "sim-utils.h" @@ -32,9 +34,6 @@ code on the hardware. #include "itable.h" - -#include "config.h" - #include <stdio.h> #include <stdarg.h> #include <ansidecl.h> diff --git a/sim/mips/m16run.c b/sim/mips/m16run.c index 44fb9e4..a04e3ee 100644 --- a/sim/mips/m16run.c +++ b/sim/mips/m16run.c @@ -17,6 +17,9 @@ */ +/* This must come before any other includes. */ +#include "defs.h" + #include "sim-main.h" #include "m16_idecode.h" #include "m32_idecode.h" diff --git a/sim/mips/mdmx.c b/sim/mips/mdmx.c index 948bb0d..6978251 100644 --- a/sim/mips/mdmx.c +++ b/sim/mips/mdmx.c @@ -18,6 +18,9 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +/* This must come before any other includes. */ +#include "defs.h" + #include <stdio.h> #include "sim-main.h" diff --git a/sim/mips/micromipsrun.c b/sim/mips/micromipsrun.c index 3950dc2..53a5c08 100644 --- a/sim/mips/micromipsrun.c +++ b/sim/mips/micromipsrun.c @@ -19,6 +19,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +/* This must come before any other includes. */ +#include "defs.h" + #include "sim-main.h" #include "micromips16_idecode.h" #include "micromips32_idecode.h" diff --git a/sim/mips/sim-main.c b/sim/mips/sim-main.c index 620f4b2..24e1602 100644 --- a/sim/mips/sim-main.c +++ b/sim/mips/sim-main.c @@ -19,6 +19,9 @@ #ifndef SIM_MAIN_C #define SIM_MAIN_C +/* This must come before any other includes. */ +#include "defs.h" + #include "sim-main.h" #include "sim-assert.h" |