lkml.org 
[lkml]   [2001]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: stripping symbols from modules
Date
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/

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