grub-devel
[Top][All Lists]
Advanced

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

[PATCH] Fix module relocation errors on PowerPC


From: Anton Blanchard
Subject: [PATCH] Fix module relocation errors on PowerPC
Date: Tue, 18 Oct 2011 15:48:17 +1100

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

Attachment: fix_module_relocation
Description: Binary data


reply via email to

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