aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-01-31 11:44:38 +0000
committerAlan Modra <amodra@gmail.com>2009-01-31 11:44:38 +0000
commit010e5ae26efd7221bd797a2b6726eb671cb2528e (patch)
tree4f67226b3c29c107120006a9eb8678a9eaa6d568 /binutils
parent5d27446dac0017fcbea7ad53ba0aa713575d0354 (diff)
downloadfsf-binutils-gdb-010e5ae26efd7221bd797a2b6726eb671cb2528e.zip
fsf-binutils-gdb-010e5ae26efd7221bd797a2b6726eb671cb2528e.tar.gz
fsf-binutils-gdb-010e5ae26efd7221bd797a2b6726eb671cb2528e.tar.bz2
binutils/
* NEWS: Mention --as-needed change. ld/ * ld.texinfo (--as-needed): Update. bfd/ * elflink.c (on_needed_list): New function. (elf_link_add_object_symbols): Link in --as-needed libs if they satisfy undefined symbols in other libs.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/NEWS5
2 files changed, 9 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index b61784e..c18aa00 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2009-01-31 Alan Modra <amodra@bigpond.net.au>
+
+ * NEWS: Mention --as-needed change.
+
2009-01-29 Alan Modra <amodra@bigpond.net.au>
PR 9798
diff --git a/binutils/NEWS b/binutils/NEWS
index 4cc89e1..60ea0cd 100644
--- a/binutils/NEWS
+++ b/binutils/NEWS
@@ -1,5 +1,10 @@
-*- text -*-
+* --as-needed now links in a dynamic library if it satisfies undefined
+ symbols in regular objects, or in other dynamic libraries. In the
+ latter case the library is not linked if it is found in a DT_NEEDED
+ entry of one of the libraries already linked.
+
* Add new option --use-nul-prefixed-import-tables to dlltool to allow fall-
back to old import table generation with null element prefix.