This is the mail archive of the
mailing list for the binutils project.
Re: PATCH: Implement --no-add-needed/--add-needed for ld
On Mon, Jul 19, 2004 at 05:37:26PM +0100, Nick Clifton wrote:
> Hi H. J.
> >This is the complete patch. Any comments?
> Nope - it looks OK to me. Please consider this patch approved, although
> I do recommend adding an entry to the ld/NEWS file as well.
Like this? I also added --as-needed/--no-as-needed.
2004-07-19 H.J. Lu <firstname.lastname@example.org>
* NEWS: Mention the new --add-needed/--no-add-needed and
--- ld/NEWS.new 2004-07-19 09:33:15.047272207 -0700
+++ ld/NEWS 2004-07-19 09:55:57.270004202 -0700
@@ -1,5 +1,9 @@
-*- text -*-
+* New ELF --add-needed/--no-add-needed options to control if a
+DT_NEEDED tag should be added when a shared library comes from
* Support for the crx-elf target added.
* Support for the sh-symbianelf target added.
@@ -17,6 +21,9 @@
might also be used in the future to select similar tradeoffs.
Changes in 2.15:
+* New ELF --as-needed/--no-as-needed options to control if a DT_NEEDED
+tag should be added only when a shared library is referenced.
* New PE --large-address-aware option to indicate executables support virtual
addresses greater than 2 gigabytes.