X-Git-Url: https://git.libre-soc.org/?p=riscv-tests.git;a=blobdiff_plain;f=benchmarks%2Fcommon%2Ftest.ld;h=dd32bb12fe168ca55536cb857c21799ccdb5658f;hp=7ee56b6e0976f6d135a28be313232e6fd18d79c8;hb=959218673db6737d65014f93208b9240c85eb8a6;hpb=7917324486685f738ea165642e25bfb997a69c2d diff --git a/benchmarks/common/test.ld b/benchmarks/common/test.ld index 7ee56b6..dd32bb1 100644 --- 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) }