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.ld11
1 files changed, 11 insertions, 0 deletions
diff --git a/util/riscvtools/spike-elf.ld b/util/riscvtools/spike-elf.ld
new file mode 100644
index 0000000000..341a16ffc2
--- /dev/null
+++ b/util/riscvtools/spike-elf.ld
@@ -0,0 +1,11 @@
+/* See make-spike-elf.sh */
+
+ENTRY(_start);
+SECTIONS
+{
+ . = 0x80000000;
+ _start = .;
+ .data : {
+ *(.data)
+ }
+}