aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elflink.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 332bb56..3996dfc 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,9 @@
2014-01-22 Alan Modra <amodra@gmail.com>
+ * elflink.c (elf_link_add_object_symbols): Call minfo for --as-needed.
+
+2014-01-22 Alan Modra <amodra@gmail.com>
+
* elf64-ppc.c (STK_LINKER): Comment typo fix.
2014-01-21 H.J. Lu <hongjiu.lu@intel.com>
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 792e14e..88967c8 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -4437,6 +4437,9 @@ error_free_dyn:
int ret;
const char *soname = elf_dt_name (abfd);
+ info->callbacks->minfo ("%!", soname, old_bfd,
+ h->root.root.string);
+
/* A symbol from a library loaded via DT_NEEDED of some
other library is referenced by a regular object.
Add a DT_NEEDED entry for it. Issue an error if