qemu/tests/tcg/i386/system/kernel.ld
Alex Bennée 4011a686cc tests/tcg/i386: expand .data sections for system tests
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>
2021-04-06 15:04:42 +01:00

24 lines
196 B
Plaintext

SECTIONS {
. = 0x100000;
.text : {
__load_st = .;
*(.head)
*(.text)
}
.rodata : {
*(.rodata)
}
.data : {
*(.data*)
__load_en = .;
}
.bss : {
*(.bss)
__bss_en = .;
}
}