Re: [Xen-devel] [PATCH v3 1/3] x86/linker: add a reloc section to ELF linker script

2019-06-27 Thread Andrew Cooper
On 27/06/2019 12:07, Roger Pau Monné wrote: > On Thu, Jun 27, 2019 at 11:59:46AM +0100, Andrew Cooper wrote: >> 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

Re: [Xen-devel] [PATCH v3 1/3] x86/linker: add a reloc section to ELF linker script

2019-06-27 Thread Jan Beulich
>>> On 27.06.19 at 11:33, 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 r

Re: [Xen-devel] [PATCH v3 1/3] x86/linker: add a reloc section to ELF linker script

2019-06-27 Thread Roger Pau Monné
On Thu, Jun 27, 2019 at 11:59:46AM +0100, Andrew Cooper wrote: > 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 outpu

Re: [Xen-devel] [PATCH v3 1/3] x86/linker: add a reloc section to ELF linker script

2019-06-27 Thread Andrew Cooper
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 cont

[Xen-devel] [PATCH v3 1/3] x86/linker: add a reloc section to ELF linker script

2019-06-27 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 because the data it contains is read-only, so it belongs with the other section