On 29/03/2021 13.03, Alex Bennée wrote:
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.ben...@linaro.org>
---
  tests/tcg/i386/system/kernel.ld | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

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 = .;
        }

Reviewed-by: Thomas Huth <th...@redhat.com>


Reply via email to