This is the mail archive of the
mailing list for the binutils project.
Re: [PATCH 2/2 v5] gold: enable new dtags by default
On Tue, Feb 5, 2013 at 1:57 PM, Alan Modra <email@example.com> wrote:
> On Tue, Feb 05, 2013 at 08:32:13AM -0800, H.J. Lu wrote:
>> On Tue, Feb 5, 2013 at 6:19 AM, Ian Lance Taylor <firstname.lastname@example.org> wrote:
>> > I wonder if it would make sense to add a -runpath option to set DT_RUNPATH.
>> This is a good idea.
> Isn't it more or less an alias for -rpath, --enable-new-dtags? Given
> that is the case, people won't use the option in Makefiles if they
> care about ld compatibility! So why add an option that potentially
> causes trouble for careless people?
The gABI has DT_FLAGS to replace DT_SYMBOLIC, DT_BIND_NOW,
and DT_TEXTREL. --enable-new-dtags can be used to enable DT_FLAGS.
DT_RUNPATH is independent of DT_FLAGS. We may want DT_RPATH
with DT_FLAGS. But there is no way to do that today.