Add final echo to E300/U500 OpenOCD scripts
[riscv-tests.git] / debug / targets / spike / link.lds
index 029a332da1280b9f6a3c94b503e79f61a6cb85d2..01d0e3d0f7861ac5d6766cf4af4754630072ceca 100755 (executable)
@@ -4,7 +4,7 @@ SECTIONS
 {
   /* Leave some space for pk's data structures, which includes tohost/fromhost
    * which are special addresses we ought to leave alone.  */
-  . = 0x80010000;
+  . = 0x10010000;
   .text : 
   {
     *(.text.entry)
@@ -15,7 +15,7 @@ SECTIONS
   .data : { *(.data) }
 
   .sdata : {
-    _gp = . + 0x800;
+    __global_pointer$ = . + 0x800;
     *(.srodata.cst16) *(.srodata.cst8) *(.srodata.cst4) *(.srodata.cst2)
     *(.srodata*)
     *(.sdata .sdata.* .gnu.linkonce.s.*)
@@ -28,8 +28,9 @@ SECTIONS
   }
   .bss : { *(.bss) }
 
+  __malloc_start = .;
+  . = . + 512;
+
   /* End of uninitalized data segement */
   _end = .;
-  _heap_end = .;
 }
-