What exactly does --enable-new-dtags do?

Mike Hearn mike@navi.cx
Mon Apr 4 09:51:00 GMT 2005
On Mon, 2005-04-04 at 09:54 +0930, Alan Modra wrote:
> The action of the switch itself is reasonably self-documenting.  What's
> not so obvious is which of the new dtags ld generates, and which tags
> ld.so recognises.  Documentation on the latter probably doesn't belong
> in ld.texinfo.  Some info on the new tags can be found at
> http://docsun.cites.uiuc.edu/sun_docs/C/solaris_9/SUNWdev/LLM/p55.html

Right, that tells me the definition of DT_RUNPATH and DT_FLAGS, but I
already knew that from reading the ELF spec. What I don't know is
whether these two are the only ones --enable-new-dtags generates (I read
the original patch as well, but it may have changed since that time).

thanks -mike



More information about the Binutils mailing list