7996bf419b
Unlike for modules with dso type, in elf object modules all the sections have virtual address of zero. So, it is insufficient to add module base address to section virtual address (as recorded in section header) to get section address in kernel memory. Instead, we should apply the same calculations that are performed by kernel loaders (in boot code and in kernel) when they lay out sections in memory. Discussed with: jhb, np MFC after: 3 weeks |
||
---|---|---|
.. | ||
lib | ||
usr.bin | ||
COPYING | ||
COPYING.LIB | ||
Makefile | ||
Makefile.inc |