diff --git a/bfd/ChangeLog b/bfd/ChangeLog index fbd44a7adac..a7025028efb 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2017-07-17 H.J. Lu + + * elf64-x86-64.c (elf_x86_64_relocate_section): Re-indent. + 2017-07-16 Alan Modra * 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 f93cfd21585..79bc9fbecff 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))))