[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 10/23] efi: build xen.gz with EFI code
From: |
Andrew Cooper |
Subject: |
Re: [PATCH v2 10/23] efi: build xen.gz with EFI code |
Date: |
Tue, 25 Aug 2015 11:50:05 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0 |
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. ?
~Andrew
- Re: [PATCH v2 10/23] efi: build xen.gz with EFI code, Jan Beulich, 2015/08/20
- Re: [PATCH v2 10/23] efi: build xen.gz with EFI code, Daniel Kiper, 2015/08/22
- Re: [PATCH v2 10/23] efi: build xen.gz with EFI code, Jan Beulich, 2015/08/24
- Re: [PATCH v2 10/23] efi: build xen.gz with EFI code, Jan Beulich, 2015/08/25
- Re: [PATCH v2 10/23] efi: build xen.gz with EFI code, Daniel Kiper, 2015/08/25
- Re: [PATCH v2 10/23] efi: build xen.gz with EFI code, Jan Beulich, 2015/08/26
- Re: [PATCH v2 10/23] efi: build xen.gz with EFI code, Daniel Kiper, 2015/08/26
- Re: [PATCH v2 10/23] efi: build xen.gz with EFI code, Jan Beulich, 2015/08/26
- Re: [PATCH v2 10/23] efi: build xen.gz with EFI code, Daniel Kiper, 2015/08/26