This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[COMMITTED][OBV][AArch64] Remove X86-64 comments
- From: Jiong Wang <jiong dot wang at arm dot com>
- To: "binutils\ at sourceware dot org" <binutils at sourceware dot org>
- Date: Mon, 18 May 2015 10:47:47 +0100
- Subject: [COMMITTED][OBV][AArch64] Remove X86-64 comments
- Authentication-results: sourceware.org; auth=none
Committed this patch as obivious.
--
Regards,
Jiong
commit 80de0c6d618be3656fa5a82bf445e0cd1b4b16d3
Author: Jiong Wang <jiong.wang@arm.com>
Date: Mon May 18 10:43:43 2015 +0100
[AArch64] Remove X86-64 comments
bfd/
* elfnn-aarch64.c (elfNN_aarch64_adjust_dynamic_symbol): Rewrite comments.
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3727e35..3c89401 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-18 Jiong Wang <jiong.wang@arm.com>
+
+ * elfnn-aarch64.c (elfNN_aarch64_adjust_dynamic_symbol): Rewrite
+ comments.
+
2015-05-16 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_check_relocs): Create .plt.got section
diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c
index ddca5dd..1d896d4 100644
--- a/bfd/elfnn-aarch64.c
+++ b/bfd/elfnn-aarch64.c
@@ -6020,11 +6020,7 @@ elfNN_aarch64_adjust_dynamic_symbol (struct bfd_link_info *info,
return TRUE;
}
else
- /* It's possible that we incorrectly decided a .plt reloc was
- needed for an R_X86_64_PC32 reloc to a non-function sym in
- check_relocs. We can't decide accurately between function and
- non-function syms in check-relocs; Objects loaded later in
- the link may change h->type. So fix it now. */
+ /* Otherwise, reset to -1. */
h->plt.offset = (bfd_vma) - 1;