From 7ab7ad44e66ba9bc2d91e04773efa4f87a1d8a3b Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Fri, 4 Aug 2017 00:23:04 -0700 Subject: Improve RVC test Make the page-crossing instruction non-idempotent to detect erroneously executing the first 16 bits of the instruction with garbage MSBs. --- benchmarks/common/test.ld | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'benchmarks/common') diff --git a/benchmarks/common/test.ld b/benchmarks/common/test.ld index ada0862..4f8892e 100644 --- a/benchmarks/common/test.ld +++ b/benchmarks/common/test.ld @@ -25,7 +25,8 @@ SECTIONS . = 0x80000000; .text.init : { *(.text.init) } - .tohost ALIGN(0x1000) : { *(.tohost) } + . = ALIGN(0x1000); + .tohost : { *(.tohost) } .text : { *(.text) } -- cgit v1.1