projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Keep tohost/fromhost at deterministic address
[riscv-tests.git]
/
benchmarks
/
common
/
test.ld
diff --git
a/benchmarks/common/test.ld
b/benchmarks/common/test.ld
index 7ee56b6e0976f6d135a28be313232e6fd18d79c8..dd32bb12fe168ca55536cb857c21799ccdb5658f 100644
(file)
--- a/
benchmarks/common/test.ld
+++ b/
benchmarks/common/test.ld
@@
-22,11
+22,11
@@
SECTIONS
/* text: test code section */
. = 0x80000000;
- .text
:
- {
- crt.o(.text)
- *(.text)
- }
+ .text
.init : { crt.o(.text) }
+
+ .tohost ALIGN(0x1000) : { *(.tohost) }
+
+
.text : { *(.text)
}
/* data segment */
.data : { *(.data) }