diff mbox series

[PULL,05/11] tests/tcg/i386: expand .data sections for system tests

Message ID 20210406150041.28753-6-alex.bennee@linaro.org
State New
Headers show
Series [PULL,01/11] tests/tcg: update the defaults for x86 compilers | expand

Commit Message

Alex Bennée April 6, 2021, 3 p.m. UTC
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>
diff mbox series

Patch

diff --git a/tests/tcg/i386/system/kernel.ld b/tests/tcg/i386/system/kernel.ld
index 92de525e93..27ea5bbe04 100644
--- a/tests/tcg/i386/system/kernel.ld
+++ b/tests/tcg/i386/system/kernel.ld
@@ -12,7 +12,7 @@  SECTIONS {
 	}
 
 	.data : {
-		*(.data)
+		*(.data*)
 		__load_en = .;
 	}