projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba9e922
)
sim: common: add missing stdlib.h for abort()
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 9 Jan 2021 07:43:54 +0000
(
02:43
-0500)
committer
Mike Frysinger
<vapier@gentoo.org>
Sat, 9 Jan 2021 07:45:14 +0000
(
02:45
-0500)
sim/common/ChangeLog
patch
|
blob
|
history
sim/common/cgen-par.c
patch
|
blob
|
history
sim/common/cgen-trace.c
patch
|
blob
|
history
sim/common/hw-events.c
patch
|
blob
|
history
sim/common/sim-abort.c
patch
|
blob
|
history
diff --git
a/sim/common/ChangeLog
b/sim/common/ChangeLog
index df78108370d6f4da4c3ca8fb75eba1062d344715..52a2003e9c61a54aea03354043e158fcf5c1dcb8 100644
(file)
--- a/
sim/common/ChangeLog
+++ b/
sim/common/ChangeLog
@@
-1,3
+1,8
@@
+2021-01-09 Mike Frysinger <vapier@gentoo.org>
+
+ * cgen-par.c: Include stdlib.h.
+ * cgen-trace.c, hw-events.c, sim-abort.c: Likewise.
+
2021-01-08 Mike Frysinger <vapier@gentoo.org>
* Make-common.in (C_DIALECT): Define.
diff --git
a/sim/common/cgen-par.c
b/sim/common/cgen-par.c
index 8f2b0f94e57a759dbec8c0de75d73540b38bc6a5..4cf0388e16f47379ae2881ded4a38425ab61fc7c 100644
(file)
--- a/
sim/common/cgen-par.c
+++ b/
sim/common/cgen-par.c
@@
-18,6
+18,7
@@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "sim-main.h"
+#include <stdlib.h>
#include "cgen-mem.h"
#include "cgen-par.h"
diff --git
a/sim/common/cgen-trace.c
b/sim/common/cgen-trace.c
index 43bf0173944be06d20e7639ac2d9bddb94cb7b7e..82abad61b6c86ea694742a1ee1d3b34b555dabd0 100644
(file)
--- a/
sim/common/cgen-trace.c
+++ b/
sim/common/cgen-trace.c
@@
-19,6
+19,7
@@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "config.h"
#include <errno.h>
+#include <stdlib.h>
#include "dis-asm.h"
#include "bfd.h"
#include "sim-main.h"
diff --git
a/sim/common/hw-events.c
b/sim/common/hw-events.c
index 1102420c910fc306e9e845de1f797911b8866e75..917d7bde4e9079fde257dee2fb11300c03414007 100644
(file)
--- a/
sim/common/hw-events.c
+++ b/
sim/common/hw-events.c
@@
-187,6
+187,7
@@
hw_event_remain_time (struct hw *me, struct hw_event *event)
#include "sim-main.h"
#include <string.h>
#include <stdio.h>
+#include <stdlib.h>
static void
test_handler (struct hw *me,
diff --git
a/sim/common/sim-abort.c
b/sim/common/sim-abort.c
index ef4fea14ca49338fcb3aab918b00f8834c4ba09d..bf05504255fc048ae971a3d332c5e92514d1ced0 100644
(file)
--- a/
sim/common/sim-abort.c
+++ b/
sim/common/sim-abort.c
@@
-18,6
+18,7
@@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <stdio.h>
+#include <stdlib.h>
#include "sim-main.h"
#include "sim-assert.h"