mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Keith Owens <kaos@ocs.com.au>
To: Russell King <rmk@arm.linux.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Modutils 2.5 change, start running this command now
Date: Wed, 03 Oct 2001 21:59:39 +1000	[thread overview]
Message-ID: <1538.1002110379@ocs3.intra.ocs.com.au> (raw)
In-Reply-To: Your message of "Wed, 03 Oct 2001 09:17:02 +0100." <20011003091702.B1175@flint.arm.linux.org.uk>

On Wed, 3 Oct 2001 09:17:02 +0100, 
Russell King <rmk@arm.linux.org.uk> wrote:
>On Wed, Oct 03, 2001 at 02:36:24PM +1000, Keith Owens wrote:
>> Either export the required symbols
>> (remember to add the .o file to export-objs in the Makefile) or add
>> EXPORT_NO_SYMBOLS; somewhere in the module (no change to Makefile).
>> 
>>  objdump -h `modprobe -l` | \
>>  awk '/file format/{file = $1}/__ksymtab/{file = ""}/\.comment/ && file != "" {print file}'
>
>Sorry, your awk script is buggy - it doesn't take note of __ksymtab
>after .comment:

Foo, I was assuming that .comment always came last.  Oh well, do it the
hard way.

objdump -h `modprobe -l` | sed -ne '/__ksym/h;$b1;\:^/:!d;:1;x;s/:.*//p;'

Gotta love those sed hieroglyphics :-)


  reply	other threads:[~2001-10-03 11:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-03  4:36 Keith Owens
2001-10-03  4:48 ` Robert Love
2001-10-03  8:17 ` Russell King
2001-10-03 11:59   ` Keith Owens [this message]
2001-10-11 11:45 Keith Owens
2001-10-12  6:34 ` Ingo Oeser
2001-10-12 10:04 ` Benjamin LaHaise
2001-10-12 11:37   ` Keith Owens
2001-10-12 12:14     ` David Woodhouse
2001-10-12 14:40       ` Keith Owens
2001-10-12 15:01       ` Tom Rini

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=1538.1002110379@ocs3.intra.ocs.com.au \
    --to=kaos@ocs.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmk@arm.linux.org.uk \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®