On Mon, 22 Aug 2011 23:38:43 +0200, Richard Weinberger wrote:
> Hi!
>
> UserModeLinux is using the arch specific module functions from
> arch/x86/kernel/module.c.
> On i386 this works perfectly fine but on x86_64 it causes problems.
>
> apply_relocate_add() assumes modules compiled with -mcmode
Hi!
UserModeLinux is using the arch specific module functions from
arch/x86/kernel/module.c.
On i386 this works perfectly fine but on x86_64 it causes problems.
apply_relocate_add() assumes modules compiled with -mcmodel=kernel
because the kernel lives in the negative 2GiB of the address space.