Bug 26767 - missing documentation for adding DT_RUNPATH (and others?)
Summary: missing documentation for adding DT_RUNPATH (and others?)
Status: NEW
Alias: None
Product: binutils
Classification: Unclassified
Component: ld (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-21 18:01 UTC by Dave Love
Modified: 2020-10-21 18:01 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Love 2020-10-21 18:01:11 UTC
I went looking for how to link with a setting for DT_RUNPATH rather than DT_RPATH, and came up blank in the ld doc and a web search initially.  I eventually came across a post which mentioned using --enable-new-dtags, but there's no way I'd have got that without reading the source, with no indication what "the new dynamic tags" are that it controls.

I suggest listing those tags with index entries to be explicit that you need --enable-new-dtags with --rpath for that job, at least.  I assume there are others to treat similarly.