Re: x86_64 module loader reloc problem

From: Andi Kleen
Date: Tue Nov 18 2003 - 08:44:18 EST


Jason Baietto <jason.baietto@xxxxxxxx> writes:

> Note that in my linked test module, objdump shows 632 R_X86_64_32 reloc
> entries and only 18 R_X86_64_64 reloc entries.

X86_64_32 is wrong for -mcmodel=kernel. It should be X86_64_32S.
Either you didn't compile with -mcmodel=kernel or your compiler or binutils
are buggy.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/