Jonathan Neuschäfer (j.neuschaefer@gmx.net) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15288
-gerrit
commit 310adbca37d8d66f944b23096f609798657ed3e2 Author: Jonathan Neuschäfer j.neuschaefer@gmx.net Date: Thu Jun 30 22:58:52 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@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 = .; }