diff options
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elf64-x86-64.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index fbd44a7..a702502 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2017-07-17 H.J. Lu <hongjiu.lu@intel.com> + + * elf64-x86-64.c (elf_x86_64_relocate_section): Re-indent. + 2017-07-16 Alan Modra <amodra@gmail.com> * elf64-ppc.c (ppc64_elf_relocate_section): Don't optimize diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index f93cfd2..79bc9fb 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -4966,8 +4966,8 @@ do_ifunc_pointer: && (input_section->flags & SEC_READONLY) != 0 && h != NULL && ((bfd_link_executable (info) - && h->root.type == bfd_link_hash_undefweak - && !resolved_to_zero) + && h->root.type == bfd_link_hash_undefweak + && !resolved_to_zero) || (bfd_link_pic (info) && !(bfd_link_pie (info) && h->root.type == bfd_link_hash_undefined)))) |