All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Gortmaker <p_gortmaker@yahoo.com>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: stripping symbols from modules
Date: Wed, 24 Jan 2001 13:36:46 -0500	[thread overview]
Message-ID: <3A6F20BE.E493EC1@yahoo.com> (raw)
In-Reply-To: <FEEBE78C8360D411ACFD00D0B747797188095D@xsj02.sjs.agilent.com> <94m11u$3re$1@cesium.transmeta.com>

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 (and perhaps others). Using "strip -g -x ..."
would leave the important bits in place IIRC (at least on 2.2.x).

Paul.



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
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/

  reply	other threads:[~2001-01-24 18:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-23 23:15 stripping symbols from modules hiren_mehta
2001-01-24  3:06 ` Keith Owens
2001-01-24  7:42 ` H. Peter Anvin
2001-01-24 18:36   ` Paul Gortmaker [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-01-23 22:34 MEHTA,HIREN (A-SanJose,ex1)
2001-01-23 23:06 ` Keith Owens
2001-01-27 17:54 ` Willy Tarreau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A6F20BE.E493EC1@yahoo.com \
    --to=p_gortmaker@yahoo.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.