[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen staging] hvmloader: set entry point in linker script



commit 2646b30320a09110468fc1b57c709b7d8c9b04b1
Author:     Roger Pau Monné <roger.pau@xxxxxxxxxx>
AuthorDate: Tue Sep 4 11:27:41 2018 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Tue Sep 4 11:27:41 2018 +0200

    hvmloader: set entry point in linker script
    
    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@xxxxxxxxxx>
    Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
    Reviewed-by: Wei Liu <wei.liu2@xxxxxxxxxx>
    Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
---
 tools/firmware/hvmloader/hvmloader.lds | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/firmware/hvmloader/hvmloader.lds 
b/tools/firmware/hvmloader/hvmloader.lds
index 4471d7af27..edb1a12dc3 100644
--- a/tools/firmware/hvmloader/hvmloader.lds
+++ b/tools/firmware/hvmloader/hvmloader.lds
@@ -1,3 +1,5 @@
+ENTRY(_start)
+
 SECTIONS
 {
   . = 0x100000;
--
generated by git-patchbot for /home/xen/git/xen.git#staging

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.