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

Thanks and regards,
-hiren

> -----Original Message-----
> From: Keith Owens [mailto:kaos@ocs.com.au]
> Sent: Tuesday, January 23, 2001 3:06 PM
> To: MEHTA,HIREN (A-SanJose,ex1)
> Cc: 'linux-kernel@vger.kernel.org'
> Subject: Re: stripping symbols from modules
>
>
> On Tue, 23 Jan 2001 17:34:15 -0500,
> "MEHTA,HIREN (A-SanJose,ex1)" <hiren_mehta@agilent.com> wrote:
> >Is there any way to strip symbols from modules .o files ?
>
> Not safely. Some symbols must be kept to assist insmod and hot
> plugging, strip does not know about these special symbols.
>
> Why do you need to strip modules anyway? I don't see the point unless
> you are critically low on disk space. Stripping the symbols makes it
> much harder to debug oops in modules, ksymoops needs all the symbols.
>
-
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:18    [W:0.080 / U:6.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site