From: Ian Lance Taylor <ian@cygnus.com>
To: kk@ddeorg.soft.net
Cc: gas2@cygnus.com, bfd@cygnus.com
Subject: Re: GNU linker on MIPS and the _etext section ....
Date: Sun, 21 Feb 1999 17:33:00 -0000 [thread overview]
Message-ID: <199902220122.UAA03149@subrogation.cygnus.com> (raw)
In-Reply-To: <199902200847.OAA10979@bombay.ddeorg.soft.net>
Date: Sat, 20 Feb 1999 14:17:50 +0530
From: "Koundinya.K" <kk@ddeorg.soft.net>
I have some doubt regarding the _etext section.
_etext is not a section. It is a symbol. It normally marks the end
of the .text section.
I am still in the process
of debugging the GNU linker. After some hours of debugging last night I
found that my runtime linker is getting killed because a call to the _etext
is resulting in a procedure linkage table entry for my run time linker.
Nothing is calling _etext. gdb is seeing a call to some address. It
can't find a symbol associated with that address. The address happens
to be after _etext, so it decides to call the address _etext plus
something. Don't pay any attention to _etext--that's just a red
herring resulting from how gdb decides to display addresses.
Your program is actually calling into code for which gdb can not find
any debugging information. This code is probably in the dynamic
linker, or in a shared library.
Ian
prev parent reply other threads:[~1999-02-21 17:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-20 0:48 Koundinya.K
1999-02-21 17:33 ` Ian Lance Taylor [this message]
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=199902220122.UAA03149@subrogation.cygnus.com \
--to=ian@cygnus.com \
--cc=bfd@cygnus.com \
--cc=gas2@cygnus.com \
--cc=kk@ddeorg.soft.net \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).