[PATCH] [RFC] ld: add new --enable-new-dtags-only flag

Mike Frysinger vapier@gentoo.org
Tue Jan 8 11:25:00 GMT 2013
On Tuesday 08 January 2013 04:31:53 Alan Modra wrote:
> On Tue, Dec 25, 2012 at 02:30:00AM -0500, Mike Frysinger wrote:
> > With the --enable-new-dtags flag, you can generate DT_RUNPATH in
> > addition to DT_RPATH.  But the former tag isn't terribly useful
> > so long as the latter is still being generated.
> 
> Huh?  I thought that if DT_RUNPATH is present, DT_RPATH is ignored.

it is ignored.  i meant to point out generating both is pointless and has been 
for quite a long time now.

> Also, if you're going to name the new option --enable-new-dtags-only,
> I'd be inclined to make it actually enable the new dtags.  ie. don't
> require --enable-new-dtags as well.

i'm fine with that behavior.  i was trying to be conservative.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/binutils/attachments/20130108/b384e97b/attachment.sig>


More information about the Binutils mailing list