Re: What's the deal with building intermediate .o vs .a files?

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Sun Apr 09 2000 - 19:56:46 EST


Graham Stoney wrote:
> Is there some other hack I could
> use to get "ar" to work with initcall, like treating it as a C++ constructor
> or using KEEP in the .lds file or something?

Anything is possible ;)

If there is an easy way to hack the ld script such that ar pulls in
initcall [other similar special sections], that would cut down on some
errors, I would think.

The general thinking seems to be "your code shouldn't contain dead code
anyway", so getting ar to work with initcall has a fairly low priority
IMHO

        Jeff

-- 
Jeff Garzik              | Nothing cures insomnia like the
Building 1024            | realization that it's time to get up.
MandrakeSoft, Inc.       |        -- random fortune

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



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:13 EST