sim: fix aarch64 sim build
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 28 Mar 2019 13:42:07 +0000 (13:42 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 28 Mar 2019 13:46:09 +0000 (13:46 +0000)
This commit:

  commit ef9866970ce6683d40465fb7c3168f87a1dcd1b7
  Date:   Thu Mar 28 06:40:30 2019 +0900

      sim/common: convert sim-arange to use sim-inline

Broke the simulator build for aarch64 - some required macros are no
longer included where needed, fixed in this commit.

sim/aarch64/ChangeLog:

* cpustate.c: Add 'libiberty.h' include.
* interp.c: Add 'sim-assert.h' include.

sim/aarch64/ChangeLog
sim/aarch64/cpustate.c
sim/aarch64/interp.c

index a634fd3e1525bc7823ced5c0bfeaf45b1e0333ac..9ab81ad5cc65bbf1f22f5cafbf862add902abb58 100644 (file)
@@ -1,3 +1,8 @@
+2019-03-28  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * cpustate.c: Add 'libiberty.h' include.
+       * interp.c: Add 'sim-assert.h' include.
+
 2017-09-06  John Baldwin  <jhb@FreeBSD.org>
 
        * configure: Regenerate.
index 6f5121a76fa23440f28d78f5c2a9e8e622febe07..f90b7ad321af8f219c45b5d935911aa95d964898 100644 (file)
@@ -25,6 +25,7 @@
 #include "sim-main.h"
 #include "cpustate.h"
 #include "simulator.h"
+#include "libiberty.h"
 
 /* Some operands are allowed to access the stack pointer (reg 31).
    For others a read from r31 always returns 0, and a write to r31 is ignored.  */
index c8a3c28c49440f8a85aeb7bf190138fe1a163a2d..c5cfc4a88e470bd704da664f461ea8387d664027 100644 (file)
@@ -38,6 +38,7 @@
 #include "sim-options.h"
 #include "memory.h"
 #include "simulator.h"
+#include "sim-assert.h"
 
 /* Filter out (in place) symbols that are useless for disassembly.
    COUNT is the number of elements in SYMBOLS.
This page took 0.025225 seconds and 4 git commands to generate.