This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Re-indent elf_x86_64_relocate_section
- From: H.J.Lu <hjl at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 17 Jul 2017 17:41:06 -0000
- Subject: [binutils-gdb] Re-indent elf_x86_64_relocate_section
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=dd57c19c1abd19c71538631cd9e5b0f70eff5a5c
commit dd57c19c1abd19c71538631cd9e5b0f70eff5a5c
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Mon Jul 17 10:40:18 2017 -0700
Re-indent elf_x86_64_relocate_section
* elf64-x86-64.c (elf_x86_64_relocate_section): Re-indent.
Diff:
---
bfd/ChangeLog | 4 ++++
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))))