This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Comment tidy


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=dce2246a6c934bf35157e8970d0da5a11aefb282

commit dce2246a6c934bf35157e8970d0da5a11aefb282
Author: Alan Modra <amodra@gmail.com>
Date:   Tue Dec 5 10:05:19 2017 +1030

    Comment tidy
    
    Past tense is wrong for a comment before some action.
    
    	* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Comment tidy.
    	* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.
    	* elfnn-aarch64.c (elfNN_aarch64_adjust_dynamic_symbol): Likewise.

Diff:
---
 bfd/ChangeLog       | 6 ++++++
 bfd/elf32-ppc.c     | 2 +-
 bfd/elf64-ppc.c     | 2 +-
 bfd/elfnn-aarch64.c | 2 +-
 4 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index b20003b..927a4b3 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2017-12-06  Alan Modra  <amodra@gmail.com>
+
+	* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Comment tidy.
+	* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.
+	* elfnn-aarch64.c (elfNN_aarch64_adjust_dynamic_symbol): Likewise.
+
 2017-12-04  Alan Modra  <amodra@gmail.com>
 
 	* elfxx-x86.c (readonly_dynrelocs): New function.
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c
index bd5cc5c..0ea3da8 100644
--- a/bfd/elf32-ppc.c
+++ b/bfd/elf32-ppc.c
@@ -5611,7 +5611,7 @@ ppc_elf_adjust_dynamic_symbol (struct bfd_link_info *info,
   if (info->nocopyreloc)
     return TRUE;
 
-   /* If we didn't find any dynamic relocs in read-only sections, then
+   /* If we don't find any dynamic relocs in read-only sections, then
       we'll be keeping the dynamic relocs and avoiding the copy reloc.
       We can't do this if there are any small data relocations.  This
       doesn't work on VxWorks, where we can not have dynamic
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index b0fc020..68bcaf9 100644
--- a/bfd/elf64-ppc.c
+++ b/bfd/elf64-ppc.c
@@ -7233,7 +7233,7 @@ ppc64_elf_adjust_dynamic_symbol (struct bfd_link_info *info,
       /* If -z nocopyreloc was given, don't generate them either.  */
       || info->nocopyreloc
 
-      /* If we didn't find any dynamic relocs in read-only sections, then
+      /* If we don't find any dynamic relocs in read-only sections, then
 	 we'll be keeping the dynamic relocs and avoiding the copy reloc.  */
       || (ELIMINATE_COPY_RELOCS && !alias_readonly_dynrelocs (h))
 
diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c
index a4ee136..4767fbb 100644
--- a/bfd/elfnn-aarch64.c
+++ b/bfd/elfnn-aarch64.c
@@ -6811,7 +6811,7 @@ elfNN_aarch64_adjust_dynamic_symbol (struct bfd_link_info *info,
   if (ELIMINATE_COPY_RELOCS)
     {
       struct elf_aarch64_link_hash_entry *eh;
-      /* If we didn't find any dynamic relocs in read-only sections, then
+      /* If we don't find any dynamic relocs in read-only sections, then
 	 we'll be keeping the dynamic relocs and avoiding the copy reloc.  */
       eh = (struct elf_aarch64_link_hash_entry *) h;
       if (!need_copy_relocation_p (eh))


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]