Keep tohost/fromhost at deterministic address
[riscv-tests.git] / benchmarks / common / crt.S
index 634b864297e14effdd9575844dbbc27d6575bdd0..7c8fc19c7df581c5e59f279437f30235653e6caf 100644 (file)
@@ -223,3 +223,11 @@ _tdata_end:
 .section ".tbss.end"
 .globl _tbss_end
 _tbss_end:
 .section ".tbss.end"
 .globl _tbss_end
 _tbss_end:
+
+.section ".tohost","aw",@progbits
+.align 6
+.globl tohost
+tohost: .dword 0
+.align 6
+.globl fromhost
+fromhost: .dword 0