From: "Randy.Dunlap" <rddunlap@osdl.org>
To: lkml <linux-kernel@vger.kernel.org>
Cc: rusty@rustcorp.com.au, zwane@arm.linux.org.uk, ak@suse.de
Subject: missing last symbol in /proc/kallsyms
Date: Mon, 3 May 2004 10:05:07 -0700 [thread overview]
Message-ID: <20040503100507.4e6b9d86.rddunlap@osdl.org> (raw)
(2.6.5)
I want to see _einittext as the last (non-module) symbol in
/proc/kallsyms.
_einittext should be the last kernel image symbol listed in
/proc/kallsyms AFAICT (just before module symbols begin).
It (_einittext) is the last symbol listed in my
.tmp_kallsyms2.S file, but for some reason, it's not listed
in /proc/kallsyms. I've beat my head on it for a little
while, so I'm hoping that someone else can see the problem.
(Zwane has also looked at it a bit.)
I modified scripts/kallsyms.c to print one more symbol at the
end of its list and to increase kallsyms_num_syms by 1, and
that does enable _einittext to be printed in /proc/kallsyms
(and the added symbol is not printed).
Without that change, the end of my /proc/kallsyms file contains:
c04e71d0 t af_unix_init
c04e7260 t packet_init
and the end of the corresponding .tmp_kallsyms2.S file contains:
.byte 0x00
.asciz "af_unix_init"
.byte 0x00
.asciz "packet_init"
.byte 0x00
.asciz "_einittext"
Where is the off-by-1? I want my _einittext.
--
~Randy
(Again. Sometimes I think ln -s /usr/src/linux/.config .signature) -- akpm
reply other threads:[~2004-05-03 17:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20040503100507.4e6b9d86.rddunlap@osdl.org \
--to=rddunlap@osdl.org \
--cc=ak@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
--cc=zwane@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®