[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 3/4] x86/linker: add a reloc section to ELF binary
>>> On 19.06.19 at 13:20, <andrew.cooper3@xxxxxxxxxx> wrote: > On 19/06/2019 12:02, Roger Pau Monne wrote: >> Note that the .reloc section is moved before .bss for two reasons: in >> order for the resulting binary to not contain any section with data >> after .bss, so that the file size can be smaller than the loaded >> memory size, and because the data it contains is read-only, so it >> belongs with the other sections containing read-only data. > > The content of .relocs is transformed via mkreloc to become > __base_relocs_{start,end} and shouldn't exist into the final linked > image AFAICT. The labels are referenced from code, and hence ... > Since the MB1/MB2 builds aren't relocatable, I think we might be able to > get away with simply excluding them in the non-EFI build. ... this won't be possible without further trickery, I'm afraid. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |