tests/tcg/i386: expand .data sections for system tests
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 1 Apr 2021 10:25:24 +0000 (11:25 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 6 Apr 2021 14:04:42 +0000 (15:04 +0100)
Newer compilers might end up putting some data in .data.rel.local
which was getting skipped resulting in hilarious confusion on some
tests. Fix that.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210401102530.12030-6-alex.bennee@linaro.org>

tests/tcg/i386/system/kernel.ld

index 92de525e934f73d003dc901c2dad0161fbf154fe..27ea5bbe049c387c2c2d1fa984147d778f47a034 100644 (file)
@@ -12,7 +12,7 @@ SECTIONS {
        }
 
        .data : {
-               *(.data)
+               *(.data*)
                __load_en = .;
        }