[coreboot-gerrit] Patch set updated for coreboot: util/riscvtools: Provide a tohost symbol so Spike doesn't hang

Jonathan Neuschäfer (j.neuschaefer@gmx.net) gerrit at coreboot.org
Thu Jun 30 18:27:01 CEST 2016


Jonathan Neuschäfer (j.neuschaefer at gmx.net) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15288

-gerrit

commit 7200f2f21f88359598c54992cf30fbc80d42c5d1
Author: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
Date:   Wed Jun 29 21:59:31 2016 +0200

    util/riscvtools: Provide a tohost symbol so Spike doesn't hang
    
    See https://github.com/riscv/riscv-isa-sim/issues/54 for more
    information.
    
    Change-Id: I8cda8dc07866d395eb3ce5d94df8232840fa8b82
    Signed-off-by: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
---
 util/riscvtools/spike-elf.ld | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/util/riscvtools/spike-elf.ld b/util/riscvtools/spike-elf.ld
index 341a16f..44114f7 100644
--- a/util/riscvtools/spike-elf.ld
+++ b/util/riscvtools/spike-elf.ld
@@ -8,4 +8,8 @@ SECTIONS
 	.data : {
 		*(.data)
 	}
+
+	tohost = .;
+	. = . + 8;
+	fromhost = .;
 }



More information about the coreboot-gerrit mailing list