>
> If binfmt_elf is a module then register_binfmt() called from
> init_elf_binfmt does the job. But if it is not a module how is elf_format
> linked to formats?
In 2.2 init_elf_binfmt is called from fs/exec.c:binfmt_setup(); I guess in
later 2.3 kernels Linus' __init linker magic handles this.. Ah yes, in
include/linux/init.h, module_init(x) is defined to __initcall if MODULE is
undef'd.
-- %DCL-MEM-BAD, bad memory VMS-F-PDGERS, pudding between the ears- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/