From: "H.J. Lu" <hjl.tools@gmail.com>
To: Ian Lance Taylor <iant@google.com>
Cc: binutils@sourceware.org
Subject: Re: PATCH: PR ld/12761: .gnu.warning.* doesn't work when building shared library
Date: Tue, 17 May 2011 15:05:00 -0000 [thread overview]
Message-ID: <BANLkTinYypezaSgmKEVftDjpK5yKdS-TOQ@mail.gmail.com> (raw)
In-Reply-To: <mcrvcx9xte0.fsf@coign.corp.google.com>
On Tue, May 17, 2011 at 8:02 AM, Ian Lance Taylor <iant@google.com> wrote:
> "H.J. Lu" <hjl.tools@gmail.com> writes:
>
>>> The difference is that the author of a shared library can call a
>>> function with a warning safely from another externally visible function
>>> which does not require a warning.
>>>
>>
>> How does linker know warning is from the author of a shared library.
>> A shared library may contain many 3rd party objects.
>
> Sure, but it's hardly the common case.
>
3rd party may be a team member or the warning may be written
by the same author many years ago.
--
H.J.
next prev parent reply other threads:[~2011-05-17 15:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-16 19:05 H.J. Lu
2011-05-17 1:51 ` Alan Modra
2011-05-17 6:04 ` Ian Lance Taylor
2011-05-17 13:12 ` H.J. Lu
2011-05-17 14:30 ` Ian Lance Taylor
2011-05-17 14:36 ` H.J. Lu
2011-05-17 15:02 ` Ian Lance Taylor
2011-05-17 15:05 ` H.J. Lu [this message]
2011-05-17 16:34 ` Ian Lance Taylor
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=BANLkTinYypezaSgmKEVftDjpK5yKdS-TOQ@mail.gmail.com \
--to=hjl.tools@gmail.com \
--cc=binutils@sourceware.org \
--cc=iant@google.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).