qemu/tests/tcg/i386/system/kernel.ld
Alex Bennée 40d6ee9450 tests/tcg/i386: add system mode Hello World test
This introduces the build framework for simple i386 system tests. The
first test is the eponymous "Hello World" which simply outputs the
text on the serial port and then exits.

I've included the framework for x86_64 but it is not in this series as
it is a work in progress.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2019-03-12 17:05:21 +00:00

24 lines
195 B
Plaintext

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