Re: CSLIP broken as module in 2.3.27

David Woodhouse (David.Woodhouse@mvhi.com)
Fri, 12 Nov 1999 16:22:51 +0000


rgooch@ras.ucalgary.ca said:
> In theory slhc.o is linked into the kernel, but because nothing else
> is referencing symbols in slhc.o, the linker "optimises" it away.

This bit me too - I added a whole directory full of new drivers, each with
their own __initfunc sections - but because nothing explicitly referenced
them, the whole library didn't get included in the final link. It confused the
hell out of me :)

I eventually got round it by using O_TARGET instead of A_TARGET.

--
dwmw2

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