aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/common/crt.S
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2016-05-25 15:36:46 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2016-05-25 15:36:46 -0700
commit959218673db6737d65014f93208b9240c85eb8a6 (patch)
tree2e04fac274f527072108bb42850a360134cd8027 /benchmarks/common/crt.S
parent7917324486685f738ea165642e25bfb997a69c2d (diff)
downloadriscv-tests-959218673db6737d65014f93208b9240c85eb8a6.zip
riscv-tests-959218673db6737d65014f93208b9240c85eb8a6.tar.gz
riscv-tests-959218673db6737d65014f93208b9240c85eb8a6.tar.bz2
Keep tohost/fromhost at deterministic address
Diffstat (limited to 'benchmarks/common/crt.S')
-rw-r--r--benchmarks/common/crt.S8
1 files changed, 8 insertions, 0 deletions
diff --git a/benchmarks/common/crt.S b/benchmarks/common/crt.S
index 634b864..7c8fc19 100644
--- a/benchmarks/common/crt.S
+++ b/benchmarks/common/crt.S
@@ -223,3 +223,11 @@ _tdata_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