Skip site navigation (1)Skip section navigation (2)
Date:      11 Aug 2005 15:57:24 +0200
From:      Rasmus Kaj <kaj@kth.se>
To:        current@freebsd.org
Subject:   Kernel module at amd64: unexpected relocation type
Message-ID:  <rqcfytginjv.fsf@kashyyyk.ite.kth.se>

next in thread | raw e-mail | index | archive | help

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/


--=20
Rasmus Kaj --+-- rasmus@kaj.se --+-- http://www.stacken.kth.se/~kaj/
Var glad! Det v=C3=A4rsta har =C3=A4nnu inte intr=C3=A4ffat -Ph. Johnnson



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?rqcfytginjv.fsf>