Link the infinate loop at 0x10000000
[riscv-tests.git] / debug / targets / spike / link.lds
index 52e4472e19b4d730de565354d02554dc8cc4301e..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.*)