Skip to contentSkip to conversation

hvmloader: set entry point in linker script

PATCH In review Roger Pau Monne 2 participants 2 messages Sep 4, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
Cc: Jan Beulich <[email protected]>
Cc: Andrew Cooper <[email protected]>
Cc: Wei Liu <[email protected]>
Cc: Ian Jackson <[email protected]>

---
 tools/firmware/hvmloader/hvmloader.lds | 2 ++
 1 file changed, 2 insertions(+)
tools/firmware/hvmloader/hvmloader.lds +2 -0
index 4471d7af27..edb1a12dc3 100644
@@ -1,3 +1,5 @@
+ENTRY(_start)
+
 SECTIONS
 {
   . = 0x100000;
Signature · 7 lines
2.18.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Roger Pau Monne

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.

Ooops, missed that.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel