summaryrefslogtreecommitdiff
path: root/util/riscvtools/spike-elf.ld
diff options
context:
space:
mode:
Diffstat (limited to 'util/riscvtools/spike-elf.ld')
-rw-r--r--util/riscvtools/spike-elf.ld4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/riscvtools/spike-elf.ld b/util/riscvtools/spike-elf.ld
index 341a16ffc2..44114f7cad 100644
--- a/util/riscvtools/spike-elf.ld
+++ b/util/riscvtools/spike-elf.ld
@@ -8,4 +8,8 @@ SECTIONS
.data : {
*(.data)
}
+
+ tohost = .;
+ . = . + 8;
+ fromhost = .;
}