sim/erc32: Perform pseudo-init if binary linked to non-zero address.
[deliverable/binutils-gdb.git] / sim / erc32 / interf.c
index 63b3f38c97e7cefc809f7c75acd4f9e6408970a6..ca1a29af7e1f1ae2a1ca2a0242ac09c1635c4f01 100644 (file)
@@ -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.