diff options
author | Kevin Wolf <kwolf@redhat.com> | 2013-06-27 13:50:05 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-10-28 17:34:42 +0100 |
commit | d1f3a23bfac4fe38056ab5e07186939b7be8852b (patch) | |
tree | 2283619f5f9622adddd60bcf76d65f7a22e4bb0b /tests/multiboot/link.ld | |
parent | d7b7e580096255c766f7b1e7502a9151b95091e8 (diff) |
tests: Multiboot mmap test case
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>
Diffstat (limited to 'tests/multiboot/link.ld')
-rw-r--r-- | tests/multiboot/link.ld | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/multiboot/link.ld b/tests/multiboot/link.ld new file mode 100644 index 0000000000..3d49b58c60 --- /dev/null +++ b/tests/multiboot/link.ld @@ -0,0 +1,19 @@ +ENTRY(_start) + +SECTIONS +{ + . = 0x100000; + .text : { + *(multiboot) + *(.text) + } + .data ALIGN(4096) : { + *(.data) + } + .rodata ALIGN(4096) : { + *(.rodata) + } + .bss ALIGN(4096) : { + *(.bss) + } +} |