public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <iant@google.com>
To: "H.J. Lu" <hjl.tools@gmail.com>
Cc: Mike Frysinger <vapier@gentoo.org>, binutils@sourceware.org
Subject: Re: [PATCH 2/2 v5] gold: enable new dtags by default
Date: Tue, 05 Feb 2013 05:43:00 -0000	[thread overview]
Message-ID: <CAKOQZ8y7cQvXi7GgNhQjNq4K1NRwz3tTxJJK9BrchYXqhn48Yg@mail.gmail.com> (raw)
In-Reply-To: <CAMe9rOoRUxVop0cEaC9eM7RU17d+2cmR+h+6UEqTr+wxM8LNKg@mail.gmail.com>

On Mon, Feb 4, 2013 at 5:44 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
>
> This caused:
>
> http://www.sourceware.org/bugzilla/show_bug.cgi?id=15098
>
> I changed BFD linker not set new dtags with -rpath.

I don't see why that is the right fix.  Since DT_RPATH/DT_RUNPATH are
only ever set by the linker's -rpath option, it seems like the right
fix is to always use DT_RPATH and never use DT_RUNPATH.

Of course, since the only thing --new-dtags does in gold is select
DT_RUNPATH rather than DT_RPATH, this makes new--dtags completely
useless in gold.

It seems that we have made sensible-seeming decisions to wind up in an
absurd place.  It seems that we should now make --new-dtags a no-op
and drop all support for generating DT_RUNPATH.  Which makes me wonder
why DT_RUNPATH was invented in the first place.

Ian

  reply	other threads:[~2013-02-05  5:43 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-25  7:29 [PATCH] [RFC] ld: add new --enable-new-dtags-only flag Mike Frysinger
2013-01-08  9:32 ` Alan Modra
2013-01-08 11:25   ` Mike Frysinger
2013-01-11  6:03 ` [PATCH v2] " Mike Frysinger
2013-01-11  9:22   ` John Marino
2013-01-11 16:34     ` Mike Frysinger
2013-01-12  6:30 ` [PATCH 1/2 v3] ld: add new --{dis,en}able-new-dtags-only flag Mike Frysinger
2013-01-12  6:30   ` [PATCH 2/2] gold: enable new dtags by default Mike Frysinger
2013-01-15 14:47     ` Ian Lance Taylor
2013-01-15 17:37       ` Mike Frysinger
2013-01-15 19:06         ` Ian Lance Taylor
2013-01-15 19:32           ` Mike Frysinger
2013-01-15 20:02             ` Ian Lance Taylor
2013-01-15 21:06               ` Mike Frysinger
2013-01-17  3:42               ` Alan Modra
2013-01-17  4:09                 ` Mike Frysinger
2013-01-17  4:42                   ` Alan Modra
2013-01-17 13:10                     ` Michael Matz
2013-01-17 19:19                     ` Mike Frysinger
2013-01-17 22:19                       ` Alan Modra
2013-01-17 19:19 ` [PATCH 1/2 v4] ld: change --enable-new-dtags to only generate new dtags Mike Frysinger
2013-01-17 19:18   ` [PATCH 2/2 v4] gold: enable new dtags by default Mike Frysinger
2013-01-17 21:33   ` [PATCH 1/2 v4] ld: change --enable-new-dtags to only generate new dtags Alan Modra
2013-01-17 22:26     ` Mike Frysinger
2013-01-18  4:23 ` [PATCH 1/2 v5] " Mike Frysinger
2013-01-18  4:23   ` [PATCH 2/2 v5] gold: enable new dtags by default Mike Frysinger
2013-01-18  6:24     ` Ian Lance Taylor
2013-02-05  1:44       ` H.J. Lu
2013-02-05  5:43         ` Ian Lance Taylor [this message]
2013-02-05  9:39           ` Alan Modra
2013-02-05 14:19             ` Ian Lance Taylor
2013-02-05 21:50               ` Alan Modra
2013-02-06 16:24                 ` H.J. Lu
2013-02-05 14:20             ` Ian Lance Taylor
2013-02-05 16:33               ` H.J. Lu
2013-02-05 21:57                 ` Alan Modra
2013-02-06  8:24                   ` Andreas Schwab
2013-02-06 16:37                     ` H.J. Lu
2013-02-06 16:28                   ` H.J. Lu
2013-02-06 21:44                     ` Alan Modra
2013-02-05 16:47             ` H.J. Lu
2013-02-05 17:41               ` H.J. Lu
2013-02-20  6:15           ` Mike Frysinger
2013-02-20 17:17             ` H.J. Lu
2013-02-20 18:40               ` Mike Frysinger
2014-02-05  0:12                 ` Cary Coutant
2014-02-05  2:29                   ` Joseph S. Myers
2014-02-05 16:53                     ` Cary Coutant
2014-02-05 17:01                       ` Joseph S. Myers
2013-01-18 14:00   ` [PATCH 1/2 v5] ld: change --enable-new-dtags to only generate new dtags Alan Modra
2013-01-18 21:02 ` [PATCH] ld: enable new dtags by default for linux/gnu targets Mike Frysinger
2013-01-19  6:42   ` Alan Modra
2013-01-19  8:40   ` Andreas Schwab
2013-01-19 16:12     ` Mike Frysinger
2013-01-21  8:26       ` Mike Frysinger
2013-01-31  0:47   ` Hans-Peter Nilsson
2013-01-31  0:58     ` Hans-Peter Nilsson
2013-01-31  9:58       ` Hans-Peter Nilsson
2013-02-04 18:15   ` H.J. Lu

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=CAKOQZ8y7cQvXi7GgNhQjNq4K1NRwz3tTxJJK9BrchYXqhn48Yg@mail.gmail.com \
    --to=iant@google.com \
    --cc=binutils@sourceware.org \
    --cc=hjl.tools@gmail.com \
    --cc=vapier@gentoo.org \
    /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).