Re: [Xen-devel] [PATCH v2 3/3] x86/linker: add a reloc section to ELF binary

2019-06-24 Thread Jan Beulich
>>> On 21.06.19 at 18:38, wrote: > if the hypervisor has been built with EFI support (ie: multiboot2). > This allows to position the .reloc section correctly in the output > binary. The title still says "add ... to ELF binary", when really such a section is already there (and in fact that's the p

[Xen-devel] [PATCH v2 3/3] x86/linker: add a reloc section to ELF binary

2019-06-21 Thread Roger Pau Monne
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 for two reasons: in order for the resulting binary to not contain any section w