grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] configure: Add -fno-ident when available


From: Vladimir 'phcoder' Serbinenko
Subject: Re: [PATCH] configure: Add -fno-ident when available
Date: Thu, 11 Jul 2019 17:47:34 +0200

On Thu, Jul 11, 2019 at 12:32 PM Daniel Kiper <address@hidden> wrote:
>
> On Tue, Jul 09, 2019 at 05:52:58PM +0200, Vladimir 'phcoder' Serbinenko wrote:
> > On mingw i386-pc without this option mingw generates a
> > rdata$zzz symbol that is page-aligned and hence lzma_decompress no
> > longer fits in its allocated space.
>
> Out of curiosity, why is the size of lzma_decompress limited to an
> value? I thought that the total size of core.img is limited not
> lzma_decompress module.
>
It's not a module but a part of GRUB kernel, just compiled separately
because it's the only part of kernel that is not compressed. On
runtime it's loaded at 0x8200 and main GRUB kernel resides at 0x9000,
so decompressor can't be more that 0xe00. So far this was never a
problem except this case which turned out to be alignment issue and
it's good that we catched it since it wasted a lot of place in core
since this part is not compressed



reply via email to

[Prev in Thread] Current Thread [Next in Thread]