sim: fix aarch64 sim build

This commit:

  commit ef9866970c
  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.
This commit is contained in:
Andrew Burgess 2019-03-28 13:42:07 +00:00
parent bffa1015cd
commit cd5b607419
3 changed files with 7 additions and 0 deletions

View 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.

View 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. */

View 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.