From: Alan Modra <amodra@gmail.com>
To: "H.J. Lu" <hjl.tools@gmail.com>
Cc: binutils@sourceware.org
Subject: Re: [PATCH] Don't complain undefined weak dynamic reference
Date: Thu, 25 Apr 2019 23:38:00 -0000 [thread overview]
Message-ID: <20190425233836.GF9648@bubble.grove.modra.org> (raw)
In-Reply-To: <20190425212000.4919-1-hjl.tools@gmail.com>
On Thu, Apr 25, 2019 at 02:20:00PM -0700, H.J. Lu wrote:
> When undefined non-weak references in IR objects are optimized out
> by LTO, we can have weak dynamic referencs to symbols marked with
> bfd_link_hash_undefined. We shouldn't complain such undefined weak
> dynamic references.
Looks good to me.
> bfd/
>
> PR ld/24486
> * elflink.c (elf_link_output_extsym): Don't complain undefined
> weak dynamic reference.
>
> ld/
>
> PR ld/24486
> * testsuite/ld-plugin/lto.exp: Run PR ld/24486 tests.
> * testsuite/ld-plugin/pr24486a.c: New file.
> * testsuite/ld-plugin/pr24486b.c: Likewise.
> * testsuite/ld-plugin/pr24486c.c: Likewise.
--
Alan Modra
Australia Development Lab, IBM
prev parent reply other threads:[~2019-04-25 23:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-25 21:20 H.J. Lu
2019-04-25 23:38 ` 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=20190425233836.GF9648@bubble.grove.modra.org \
--to=amodra@gmail.com \
--cc=binutils@sourceware.org \
--cc=hjl.tools@gmail.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).