binutils-2.22: ld and --copy-dt-needed-entries

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Tue, 06 Dec 2011 18:48:12 +0200
Just for your information.
It seems that ld from binutils-2.22 by default has --no-copy-dt-needed-entries
behavior, and so explicit --copy-dt-needed-entries is now needed where the
previous default behavior is relied upon.

A short excerpt from the man page for your convenience:

> This option also has an effect on the resolution of symbols in
> dynamic libraries.  With --copy-dt-needed-entries dynamic libraries
> mentioned on the command line will be recursively searched,
> following their DT_NEEDED tags to other libraries, in order to
> resolve symbols required by the output binary.  With the default
> setting however the searching of dynamic libraries that follow it
> will stop with the dynamic library itself.  No DT_NEEDED links will
> be traversed to resolve symbols.

-- 
Andriy Gapon
Received on Tue Dec 06 2011 - 15:48:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:21 UTC