Skip to content

Commit cd5b607

Browse files
committed
sim: fix aarch64 sim build
This commit: commit ef98669 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.
1 parent bffa101 commit cd5b607

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

‎sim/aarch64/ChangeLog‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2019-03-28 Andrew Burgess <andrew.burgess@embecosm.com>
2+
3+
* cpustate.c: Add 'libiberty.h' include.
4+
* interp.c: Add 'sim-assert.h' include.
5+
16
2017-09-06 John Baldwin <jhb@FreeBSD.org>
27

38
* configure: Regenerate.

‎sim/aarch64/cpustate.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include "sim-main.h"
2626
#include "cpustate.h"
2727
#include "simulator.h"
28+
#include "libiberty.h"
2829

2930
/* Some operands are allowed to access the stack pointer (reg 31).
3031
For others a read from r31 always returns 0, and a write to r31 is ignored. */

‎sim/aarch64/interp.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
#include "sim-options.h"
3939
#include "memory.h"
4040
#include "simulator.h"
41+
#include "sim-assert.h"
4142

4243
/* Filter out (in place) symbols that are useless for disassembly.
4344
COUNT is the number of elements in SYMBOLS.

0 commit comments

Comments
 (0)