Searched hist:151430 (Results 1 - 1 of 1) sorted by relevance
/freebsd-10.2-release/sys/kern/ | ||
H A D | link_elf.c | diff 151430 Mon Oct 17 23:21:55 MDT 2005 peter Add support for kernel modules with a single PT_LOAD section. While here, support up to four sections because it was trivial to do and cheap. (One pointer per section). For amd64 with "-fpic -shared" format .ko files, using a single PT_LOAD section is important to avoid wasting about 1MB of KVM and physical ram for the 'gap' between the two PT_LOAD sections. amd64 normally uses .o format kld files and isn't affected normally. But -fpic -shared modules are actually possible to produce and load... (And with a bugfix to binutils, we can build and use plain -shared .ko files without -fpic) i386 only wastes 4K per .ko file, so that isn't such a big deal there. |
Completed in 51 milliseconds