Re: stripping symbols from modules

From: H. Peter Anvin (hpa@zytor.com)
Date: Wed Jan 24 2001 - 02:42:54 EST


Followup to: <FEEBE78C8360D411ACFD00D0B747797188095D@xsj02.sjs.agilent.com>
By author: hiren_mehta@agilent.com
In newsgroup: linux.dev.kernel
>
> That is what I was guessing. But insmod does not need all symbols
> present in the .o.
>
> I need to do this because when I release the driver to the customer,
> I don't want them to be aware of some of the symbols. I understand
> that this is against the open source policy. But that's how it is
> and it is beyond my control. Is there any way to export only
> selected symbols as required by insmod ? As of now I am not worried
> about ksymoops.
>

I think "strip --strip-unneeded" is what you want.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jan 31 2001 - 21:00:17 EST