x86: Return -1 if bfd_canonicalize_dynamic_reloc returns 0
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 22 Sep 2017 14:25:16 +0000 (07:25 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 22 Sep 2017 14:25:16 +0000 (07:25 -0700)
commitb69e9267d15a09ce3f3d4599eae2952dfc6df502
tree0198e3d70b78d85340a7173b45a8329f00c5eec6
parentbe2b629f6427812a24f38802ba1c472a2cbfab7d
x86: Return -1 if bfd_canonicalize_dynamic_reloc returns 0

Stop if bfd_canonicalize_dynamic_reloc returns 0.

PR ld/22163
* elfxx-x86.c (_bfd_x86_elf_get_synthetic_symtab): Also return
-1 if bfd_canonicalize_dynamic_reloc returns 0.
bfd/ChangeLog
bfd/elfxx-x86.c