[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 5/6] multiboot2: Add support for relocatable images
From: |
Daniel Kiper |
Subject: |
Re: [PATCH v2 5/6] multiboot2: Add support for relocatable images |
Date: |
Tue, 10 Nov 2015 15:52:29 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Nov 09, 2015 at 09:08:35PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko
wrote:
> On 20.07.2015 16:35, Daniel Kiper wrote:
> > Signed-off-by: Daniel Kiper <address@hidden>
> What is handling the actual relocation?
In Xen we get image offset from GRUB2 and using this value we calculate
relative addresses. We are using %fs for it.
> Why doesn't this patch include support for ELF relocations?
This is another option. We considered it too. However, in our case
relative addressing looks simpler then ELF relocations. However, if
you wish I can add this functionality when this patch series is
included in upstream GRUB2. Is it OK for you?
Daniel