From: Alan Modra <amodra@bigpond.net.au>
To: Mayank Kumar <mayank@microsoft.com>
Cc: binutils@sourceware.org
Subject: Re: How to determine if a global symbol is defined in .so and hence needs to be output to the binary as undefined
Date: Fri, 07 Sep 2007 05:05:00 -0000 [thread overview]
Message-ID: <20070907050527.GF11390@bubble.grove.modra.org> (raw)
In-Reply-To: <76EBE649FB0E0E4DA883B5840459059F1F02B4BEED@AA-EXMSG-C412.southpacific.corp.microsoft.com>
On Fri, Sep 07, 2007 at 12:36:04PM +0800, Mayank Kumar wrote:
> Now I wanted to understand where this output_section gets populated so that I can debug through why this section is not coming to be NULL.
The ELF linker simply removes all the dynamic sections. Search for
bfd_section_list_clear in elflink.c
--
Alan Modra
Australia Development Lab, IBM
prev parent reply other threads:[~2007-09-07 5:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-06 10:42 Mayank Kumar
2007-09-06 17:05 ` Ian Lance Taylor
2007-09-07 4:36 ` Mayank Kumar
2007-09-07 5:05 ` Alan Modra [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=20070907050527.GF11390@bubble.grove.modra.org \
--to=amodra@bigpond.net.au \
--cc=binutils@sourceware.org \
--cc=mayank@microsoft.com \
/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).