]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/multiboot: Fix load address of test kernels
authorKevin Wolf <kwolf@redhat.com>
Mon, 22 Jul 2019 09:26:15 +0000 (11:26 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 30 Jul 2019 10:25:43 +0000 (12:25 +0200)
commit6078a0b64f23b40a9f5405bb39662412f536d7d6
treec4017cd326bfd8895a1e7c42cd5cf6c4929cf451
parentee9545ed1543020fba52fa5fb8f2b71c63e5389f
tests/multiboot: Fix load address of test kernels

While older toolchains produced binaries where the physical load address
of ELF segments was the same as the virtual address, newer versions seem
to choose a different physical address if it isn't specified explicitly.
The means that the test kernel doesn't use the right addresses to access
e.g. format strings any more and the whole output disappears, causing
all test cases to fail.

Fix this by specifying the physical load address of sections explicitly.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/multiboot/link.ld