aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/elflink.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 42d112f..626e68a 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
+
+ * elflink.c (elf_link_add_object_symbols): Always turn hidden
+ and internal symbols which have a dynamic index into local
+ ones.
+
2016-04-04 Nick Clifton <nickc@redhat.com>
PR 19872
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 445fb01..42b3689 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -4583,7 +4583,7 @@ error_free_dyn:
goto error_free_vers;
}
}
- else if (dynsym && h->dynindx != -1)
+ else if (h->dynindx != -1)
/* If the symbol already has a dynamic index, but
visibility says it should not be visible, turn it into
a local symbol. */