From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kernel@vger.kernel.org
Subject: Re: stripping symbols from modules
Date: 23 Jan 2001 23:42:54 -0800 [thread overview]
Message-ID: <94m11u$3re$1@cesium.transmeta.com> (raw)
In-Reply-To: <FEEBE78C8360D411ACFD00D0B747797188095D@xsj02.sjs.agilent.com>
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/
next prev parent reply other threads:[~2001-01-24 7:45 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 [this message]
2001-01-24 18:36 ` Paul Gortmaker
-- 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='94m11u$3re$1@cesium.transmeta.com' \
--to=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.