mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 21:40:49 +00:00
d1f3a23bfa
This adds a test case for Multiboot memory map in the tests/multiboot directory, where future i386 test kernels can be dropped. Because this requires an x86 build host and an installed 32 bit libgcc, the test is not part of a regular 'make check'. The reference output for the test is verified against test runs of the same multiboot kernel booted by some GRUB 0.97. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
20 lines
253 B
Plaintext
20 lines
253 B
Plaintext
ENTRY(_start)
|
|
|
|
SECTIONS
|
|
{
|
|
. = 0x100000;
|
|
.text : {
|
|
*(multiboot)
|
|
*(.text)
|
|
}
|
|
.data ALIGN(4096) : {
|
|
*(.data)
|
|
}
|
|
.rodata ALIGN(4096) : {
|
|
*(.rodata)
|
|
}
|
|
.bss ALIGN(4096) : {
|
|
*(.bss)
|
|
}
|
|
}
|