grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Fix module relocation errors on PowerPC


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: [PATCH] Fix module relocation errors on PowerPC
Date: Thu, 03 Nov 2011 19:03:09 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20111010 Iceowl/1.0b2 Icedove/3.1.15

Please try the attached patch
On 18.10.2011 06:48, Anton Blanchard wrote:
> Hi,
>
> I tried grub2 on a POWER6 box and got:
>
>
> Welcome to GRUB!
>
> error: relocation overflow.
> Entering rescue mode...
>
>
> Modules (and therefore the heap) need to be close to the executable to
> avoid requiring more complicated relocations. This patch uses the same
> method sparc does and puts the heap directly above the executable.
>
> We use the OF stack so we don't need to reserve any memory for it. Is
> it time to create GRUB_MACHINE_POWERPC?
>
> Anton
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/grub-devel


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko

Attachment: ppc_tramp.diff
Description: Text Data

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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