[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <481E4655.7040000@zytor.com>
Date: Sun, 04 May 2008 16:27:17 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Kumar Gala <galak@...nel.crashing.org>
CC: sam@...nborg.org, lkml List <linux-kernel@...r.kernel.org>,
"linuxppc-dev@...abs.org list" <linuxppc-dev@...abs.org>
Subject: Re: How to link a .o with all modules
Kumar Gala wrote:
> Sam,
>
> We have a case in powerpc in which we want to link some library routines
> with all module objects. The routines are intended for handling
> out-of-line function call register save/restore so having them as
> EXPORT_SYMBOL() is counter productive (we do also need to link the same
> "library" code into the kernel).
>
Why is having them as an EXPORT_SYMBOL() counterproductive? It sounds
like *exactly* what you need -- and then having the kernel provide the
same code to modules, instead of replication...?
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists