On 27/06/2019 10:33, Roger Pau Monne wrote: > if the hypervisor has been built with EFI support (ie: multiboot2). > This allows to position the .reloc section correctly in the output > binary. > > Note that for the ELF output format the .reloc section is moved before > .bss because the data it contains is read-only, so it belongs with the > other sections containing read-only data. > > Signed-off-by: Roger Pau Monné <[email protected]>
I have to admit that I'm still confused as to why we need this in the first place. The ELF build is linked to a fixed virtual address, irrespective of whether grub loads it via MB1 or MB2 and/or with EFI details. i.e. the non-EFI build shouldn't have any remaining relocations by the time it is fully linked. Or am I missing something? ~Andrew _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
