aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorJiong Wang <jiong.wang@arm.com>2015-05-18 10:43:43 +0100
committerJiong Wang <jiong.wang@arm.com>2015-05-18 10:46:34 +0100
commit80de0c6d618be3656fa5a82bf445e0cd1b4b16d3 (patch)
tree8baf8ae53f0891f9bc2926ba20bd816f07528f78 /bfd
parentdf4227e4c6ec085abe2ca4d2a71889d7df023cb4 (diff)
downloadgdb-80de0c6d618be3656fa5a82bf445e0cd1b4b16d3.zip
gdb-80de0c6d618be3656fa5a82bf445e0cd1b4b16d3.tar.gz
gdb-80de0c6d618be3656fa5a82bf445e0cd1b4b16d3.tar.bz2
[AArch64] Remove X86-64 comments
bfd/ * elfnn-aarch64.c (elfNN_aarch64_adjust_dynamic_symbol): Rewrite comments.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elfnn-aarch64.c6
2 files changed, 6 insertions, 5 deletions
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;