lkml.org 
[lkml]   [1999]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: PATCH 2.3.28: drivers/net/Makefile update
    Peter Samuelson wrote:
    >
    > [Jeff Garzik]
    > > 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?
    >
    > Does "--whole-archive" work or does it have unwanted side effects?

    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.

    --
    Jeff Garzik | Just once, I wish we would encounter
    Building 1024 | an alien menace that wasn't immune to
    MandrakeSoft, Inc. | bullets. -- The Brigadier, "Dr. Who"

    -
    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:3.276 / U:0.392 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site