Hi !
> Is there any way to strip symbols from modules .o files ?
there are many symbols you have to keep. You also have to keep modules args
and exported modules. I personnaly use this method which seems to work OK even
if it's really awful (although I'm not sure it will work under all
circumsta
H. Peter Anvin wrote:
>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.
>
I think you will find "--strip-unneeded" will toss out init_module
and cleanup_module
Followup to: <[EMAIL PROTECTED]>
By author:[EMAIL PROTECTED]
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
On Tue, 23 Jan 2001 16:15:24 -0700,
[EMAIL PROTECTED] wrote:
>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 th
3:06 PM
> To: MEHTA,HIREN (A-SanJose,ex1)
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: stripping symbols from modules
>
>
> On Tue, 23 Jan 2001 17:34:15 -0500,
> "MEHTA,HIREN (A-SanJose,ex1)" <[EMAIL PROTECTED]> wrote:
> >Is there any way to strip sym
On Tue, 23 Jan 2001 17:34:15 -0500,
"MEHTA,HIREN (A-SanJose,ex1)" <[EMAIL PROTECTED]> 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 s
6 matches
Mail list logo