Kernel module at amd64: unexpected relocation type

From: Rasmus Kaj <kaj_at_kth.se>
Date: 11 Aug 2005 15:57:24 +0200
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.  http://www.stacken.kth.se/projekt/arla/


-- 
Rasmus Kaj --+-- rasmus_at_kaj.se --+-- http://www.stacken.kth.se/~kaj/
Var glad! Det värsta har ännu inte inträffat -Ph. Johnnson
Received on Thu Aug 11 2005 - 11:57:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:41 UTC