]> xenbits.xensource.com Git - people/dwmw2/xen.git/commitdiff
hvmloader: set entry point in linker script
authorRoger Pau Monné <roger.pau@citrix.com>
Tue, 4 Sep 2018 09:27:41 +0000 (11:27 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 4 Sep 2018 09:27:41 +0000 (11:27 +0200)
Or else it defaults to using 0x100000 as the entry point, which might
or might not point to _start. This is a fix for 09b3907f93.

Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
tools/firmware/hvmloader/hvmloader.lds

index 4471d7af277dc0ea4912fd21b5a870ca52e8bd13..edb1a12dc305e5bd02d5e191d0ff8eee71bf8fcb 100644 (file)
@@ -1,3 +1,5 @@
+ENTRY(_start)
+
 SECTIONS
 {
   . = 0x100000;