This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: --as-needed by default
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Mike Hearn <mike at navi dot cx>
- Cc: binutils at sources dot redhat dot com
- Date: Fri, 4 Mar 2005 09:14:13 +1030
- Subject: Re: --as-needed by default
- References: <pan.2005.03.03.14.30.11.178270@navi.cx>
On Thu, Mar 03, 2005 at 02:30:11PM +0000, Mike Hearn wrote:
> I'm wondering why the --as-needed ld option is not used by default.
Code supporting --as-needed is relatively new and quite complicated.
It is likely to have bugs. Also, some projects might rely on the
existing ld behaviour of always adding DT_NEEDED tags for shared
libraries.
--
Alan Modra
IBM OzLabs - Linux Technology Centre