From: Jiong Wang Date: Mon, 18 May 2015 09:43:43 +0000 (+0100) Subject: [AArch64] Remove X86-64 comments X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=80de0c6d618be3656fa5a82bf445e0cd1b4b16d3;p=binutils-gdb.git [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 3727e35b59d..3c894017e6a 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2015-05-18 Jiong Wang + + * elfnn-aarch64.c (elfNN_aarch64_adjust_dynamic_symbol): Rewrite + comments. + 2015-05-16 H.J. Lu * elf32-i386.c (elf_i386_check_relocs): Create .plt.got section diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c index ddca5dd483f..1d896d4ea32 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;