lkml.org 
[lkml]   [1999]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: PATCH 2.3.28: drivers/net/Makefile update
Date
From

jgarzik@mandrakesoft.com said:
> The whole idea behind *.a is to be able to remove dead objects, which
> is totally opposite of --whole-archive.

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

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.238 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site