This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 1/11/2013 07:05, 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.  So add a new
option to suppress that.

The proposed option name isn't great, but it's in line with the
existing --neable-new-dtags flag.

Signed-off-by: Mike Frysinger<vapier@gentoo.org>

[Being lazy on CL writing until we hammer out the proposal]
---

I don't think the premise is true.
If both DT_RUNPATH and DT_RPATH dtags are present, DT_RPATH dtag is ignored by the dynamic linker.


I don't know of a dynamic linker that behaves differently.
Are you sure there's a problem here?

John


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]