Use 32-bit link script for 32-bit target.
authorTim Newsome <tim@sifive.com>
Fri, 1 Sep 2017 19:03:40 +0000 (12:03 -0700)
committerTim Newsome <tim@sifive.com>
Fri, 1 Sep 2017 19:03:40 +0000 (12:03 -0700)
debug/targets/RISC-V/spike32.py

index fc7d598c9ff4fc3c88883a84eb01b8a7e9bffd35..665d7e99a56c6ae73e7364a60ef11a33f80b14f5 100644 (file)
@@ -7,7 +7,7 @@ class spike32_hart(targets.Hart):
     ram_size = 0x10000000
     instruction_hardware_breakpoint_count = 4
     reset_vector = 0x1000
-    link_script_path = "spike64.lds"
+    link_script_path = "spike32.lds"
 
 class spike32(targets.Target):
     harts = [spike32_hart()]