]> xenbits.xensource.com Git - people/royger/xen-test-framework.git/commit
Adjust linker script to avoid having a PT_LOAD header all the way from zero
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 7 Dec 2015 14:37:28 +0000 (14:37 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 7 Dec 2015 17:37:23 +0000 (17:37 +0000)
commitc4dbefe46c4e4f6181568fd538182d5357cac081
treef52845ba27e045784254d7229d6eac2074347c4c
parentb81c117de201dda7ecda24bcb921309772db81a6
Adjust linker script to avoid having a PT_LOAD header all the way from zero

Previously, the generated binaries had a single PT_LOAD header all the
way from 0 to the end of the generated code.

When building, the domain builder maps the entire region and
zeroes/copies the data as appropriate.  This causes a failure to build
when the header overlaps with unmapped addresses such as the HVM legacy
VGA range.

Link all binaries to load and run at 1MB to avoid the legacy VGA hole in
HVM guests.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
arch/x86/link.lds.S