[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 10/23] efi: build xen.gz with EFI code

On 24/08/15 21:54, Daniel Kiper wrote:
>>>>> Currently, PE file contains many sections which are not "linear" (one
>>>>> after another without any holes) or even do not have representation
>>>>> in a file (e.g. BSS). In theory there is a chance that we could build
>>>>> proper PE file using current build system. However, it means that
>>>> What is "improper" about the currently built PE file? And if there is
>>>> anything improper, did you inform the binutils maintainers of the
>>>> problem?
>>> From PE loader point of view everything is OK. However, current Xen PE
>>> image (at least build on my machines) is not usable by multiboot (v1)
>>> or multiboot2 protocol compatible loader because it is not linear (one
>>> section does not live immediately after another without any voids).
>> Again - either I'm missing something (and then your explanation is
>> not good enough) or this is (as said above) a pointless adjustment.
> Let's focus on multiboot2 protocol (multiboot (v1) is similar to multiboot2
> in discussed case). In general multiboot2 is able to load any file which has:
>   1. proper multiboot2 header in first 32 KiB of a given file,
>   2. "the text and data segments must be consecutive in the OS image"
>      (The Multiboot Specification version 1.6).

What is the reasoning for the restriction in 2. ?


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.