aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elfnn-aarch64.c7
2 files changed, 5 insertions, 7 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index b2b028f..810a555 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2017-07-04 Jiong Wang <jiong.wang@arm.com>
+
+ * elfnn-aarch64.c (elfNN_aarch64_finish_dynamic_symbol): Remove the
+ sanity check at the head of this function.
+
2017-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
* dwarf2.c (struct dwarf2_debug): Add fields dwarf_line_str_buffer and
diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c
index 1195448..86bae0e 100644
--- a/bfd/elfnn-aarch64.c
+++ b/bfd/elfnn-aarch64.c
@@ -8892,13 +8892,6 @@ elfNN_aarch64_finish_dynamic_symbol (bfd *output_bfd,
struct elf_aarch64_link_hash_table *htab;
htab = elf_aarch64_hash_table (info);
- /* Sanity check to make sure no unexpected symbol reaches here. */
- if (h->dynindx == -1
- && !h->forced_local
- && h->root.type != bfd_link_hash_undefweak
- && bfd_link_pic (info))
- abort ();
-
if (h->plt.offset != (bfd_vma) - 1)
{
asection *plt, *gotplt, *relplt;