Kernel module at amd64: unexpected relocation type

Rasmus Kaj kaj at
Thu Aug 11 13:57:28 GMT 2005

Hi!  I get the message "kldload: unexpected relocation type 10" many
times (som many the ringbuffer gets full and the first message I see
is truncated) when loading a 3-rd part kernel module (nnpfs [1]).

Relocation type 10 seems to be R_X86_64_32, "Add 32 bit zero extended
symbol value", which sys/amd64/amd64/elf_machdep.c doesn't support.
On the other hand R_X86_64_32S, "Add 32 bit sign extended symbol
value", which sounds quite similar, is supported.  Should support for
R_X86_64_32 be added, or should I try to "fix" the kernel module so it
doesn't use that relocation type?

[1] nnpfs is a kernel to userland interface for file systems, used by
arla, an AFS client.

Rasmus Kaj --+-- rasmus at --+--
Var glad! Det värsta har ännu inte inträffat -Ph. Johnnson

More information about the freebsd-current mailing list