From: Russell King <rmk@arm.linux.org.uk>
To: Keith Owens <kaos@ocs.com.au>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Modutils 2.5 change, start running this command now
Date: Wed, 3 Oct 2001 09:17:02 +0100 [thread overview]
Message-ID: <20011003091702.B1175@flint.arm.linux.org.uk> (raw)
In-Reply-To: <31135.1002083784@kao2.melbourne.sgi.com>
In-Reply-To: <31135.1002083784@kao2.melbourne.sgi.com>; from kaos@ocs.com.au on Wed, Oct 03, 2001 at 02:36:24PM +1000
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:
# objdump -h /lib/modules/2.4.9-ac17/kernel/drivers/acorn/scsi/acornscsi_mod.o
/lib/modules/2.4.9-ac17/kernel/drivers/acorn/scsi/acornscsi_mod.o: file format elf32-littlearm
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 0000466c 00000000 00000000 00000034 2**2
CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
1 .rodata 00000de6 00000000 00000000 000046a0 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
2 .modinfo 00000028 00000000 00000000 00005488 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
3 .data 000000bc 00000000 00000000 000054b0 2**2
CONTENTS, ALLOC, LOAD, RELOC, DATA
4 .bss 0000008c 00000000 00000000 0000556c 2**2
ALLOC
5 .comment 00000026 00000000 00000000 0000556c 2**0
CONTENTS, READONLY
6 __ksymtab 00000000 00000000 00000000 00005592 2**0
CONTENTS, READONLY
--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html
next prev parent reply other threads:[~2001-10-03 8:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-03 4:36 Modutils 2.5 change, start running this command now Keith Owens
2001-10-03 4:48 ` Robert Love
2001-10-03 8:17 ` Russell King [this message]
2001-10-03 11:59 ` Keith Owens
-- strict thread matches above, loose matches on Subject: below --
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=20011003091702.B1175@flint.arm.linux.org.uk \
--to=rmk@arm.linux.org.uk \
--cc=kaos@ocs.com.au \
--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.