[uClinux-dev] kernel modules

Bernhard Kuhn bkuhn at lineo.com
Wed Nov 14 21:06:45 EST 2001


Fabrice Gautier schrieb:

> Well, i'm not sure exactly how modules works, but i was wondering where they
> were loaded, if they need to be compiled with PIC (like shared libraries)
> and how the relocations works.

Modules are plain ELF and insmod does the relocation before
the code is copied to it known place in kernel space.

Bernhard

-- 
Bernhard Kuhn, Software Engineer, Lineo Inc. (Where Open Meets Smart)
This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/



More information about the uClinux-dev mailing list