diff options
author | Avi Kivity <avi@redhat.com> | 2009-09-16 12:25:37 +0300 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2009-09-16 16:00:41 -0300 |
commit | f4f344ea442bb64bc749098d21514acd31b47e62 (patch) | |
tree | 6ca07db7eef249bd9a78e7868fc1550c9e7a632d /kvm | |
parent | Add test device (diff) | |
download | qemu-kvm-f4f344ea442bb64bc749098d21514acd31b47e62.tar.gz qemu-kvm-f4f344ea442bb64bc749098d21514acd31b47e62.tar.bz2 qemu-kvm-f4f344ea442bb64bc749098d21514acd31b47e62.zip |
test: load image immediately after program headers
Otherwise, ld places the image somewhere where multiboot can't find the
multiboot headers.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'kvm')
-rw-r--r-- | kvm/user/flat.lds | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvm/user/flat.lds b/kvm/user/flat.lds index 61f10573a..d61bec3d6 100644 --- a/kvm/user/flat.lds +++ b/kvm/user/flat.lds @@ -2,7 +2,7 @@ OUTPUT_FORMAT(binary) SECTIONS { - . = 1M; + . = 4M + SIZEOF_HEADERS; stext = .; .text : { *(.init) *(.text) *(.text.*) } . = ALIGN(4K); |