X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=benchmarks%2Fcommon%2Ftest.ld;h=4f8892ee25f7600018b6bfe178029b2492382f86;hb=HEAD;hp=a08d71d3c4d7089552f1e3d2e66c366335ecab2a;hpb=610e0cb499a807287320fb13701cdee373a0a091;p=riscv-tests.git diff --git a/benchmarks/common/test.ld b/benchmarks/common/test.ld index a08d71d..4f8892e 100644 --- a/benchmarks/common/test.ld +++ b/benchmarks/common/test.ld @@ -12,6 +12,7 @@ specifically one of the entires in bfd/cpu-mips.c */ OUTPUT_ARCH( "riscv" ) +ENTRY(_start) /*----------------------------------------------------------------------*/ /* Sections */ @@ -24,7 +25,8 @@ SECTIONS . = 0x80000000; .text.init : { *(.text.init) } - .tohost ALIGN(0x1000) : { *(.tohost) } + . = ALIGN(0x1000); + .tohost : { *(.tohost) } .text : { *(.text) }