Add HW breakpoint test
[riscv-tests.git] / benchmarks / common / test.ld
index 082891c3c195138acf9b979ba1cbe4efe8991387..dd32bb12fe168ca55536cb857c21799ccdb5658f 100644 (file)
@@ -21,12 +21,12 @@ SECTIONS
 {
 
   /* text: test code section */
-  . = 0;
-  .text : 
-  {
-    crt.o(.text)
-    *(.text)
-  }
+  . = 0x80000000;
+  .text.init : { crt.o(.text) }
+
+  .tohost ALIGN(0x1000) : { *(.tohost) }
+
+  .text : { *(.text) }
 
   /* data segment */
   .data : { *(.data) }