Re: PATCH 2.3.28: drivers/net/Makefile update

Mike Touloumtzis (miket@bluemug.com)
Sat, 13 Nov 1999 03:49:50 -0800


On Sat, Nov 13, 1999 at 08:25:54AM +0000, Jeff Garzik wrote:
>
> Attached is a patch against 2.3.28 which causes 'net.o' to be output not
> 'net.a'. I believe this is necessary in order to use initcall drivers,
> which will not be linked into the kernel image otherwise.
>
> Long term, it would be nice to output *.a files again. How can ld be
> told it needs to link those initcall-only modules into vmlinux?
>

You can force the linker to link in a module by manually unresolving
a symbol in it with -u (on the ld command line).

miket

-
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/