> The problem lies in that drivers which use module_init() can be valid,
> linkable objects, with no external references at all. There needs to
> be some way to tell the linker to include all objects which have
> module_init() in them.
But the Makefiles are not supposed to even compile the objects which aren't
required, so what's wrong with --whole-archive?
If there's an object in the archive that isn't used, then it should be
considered a bug in the Makefiles, surely?
-- 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/