Comment tidy
authorAlan Modra <amodra@gmail.com>
Mon, 4 Dec 2017 23:35:19 +0000 (10:05 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 6 Dec 2017 03:51:45 +0000 (14:21 +1030)
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.

bfd/ChangeLog
bfd/elf32-ppc.c
bfd/elf64-ppc.c
bfd/elfnn-aarch64.c

index b20003b6d8681b2e0f271981f3b9fa6913196fb4..927a4b334203f1cf7d6bb435958f1f89201bda16 100644 (file)
@@ -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.
index bd5cc5c44d1b0097296f50177113a8ea410c1e00..0ea3da857a017746f860df27abb9aff328b24670 100644 (file)
@@ -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
index b0fc02037b2aae40274d554239b8e4673b21fba9..68bcaf9d99b60cd4bf54600ca9f807e5f3b33571 100644 (file)
@@ -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))
 
index a4ee1364568f8cb578bf7096d823428a0927bd6c..4767fbbdfbb0b4746844b0b177938a0ba4243b8f 100644 (file)
@@ -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))
This page took 0.049156 seconds and 4 git commands to generate.