projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sim/erc32: Perform pseudo-init if binary linked to non-zero address.
[deliverable/binutils-gdb.git]
/
sim
/
erc32
/
interf.c
diff --git
a/sim/erc32/interf.c
b/sim/erc32/interf.c
index 63b3f38c97e7cefc809f7c75acd4f9e6408970a6..ca1a29af7e1f1ae2a1ca2a0242ac09c1635c4f01 100644
(file)
--- a/
sim/erc32/interf.c
+++ b/
sim/erc32/interf.c
@@
-78,6
+78,8
@@
run_sim(sregs, icount, dis)
init_stdio();
sregs->starttime = time(NULL);
irq = 0;
+ if ((sregs->pc != 0) && (ebase.simtime == 0))
+ boot_init();
while (!sregs->err_mode & (icount > 0)) {
sregs->fhold = 0;
This page took
0.025029 seconds
and
4
git commands to generate.