Correct the calculation of the use_counts of merged .got entries.
authorJiaming Wei <jmwei@hxgpt.com>
Tue, 9 Aug 2016 15:18:42 +0000 (16:18 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 9 Aug 2016 15:18:42 +0000 (16:18 +0100)
* elf64-alpha.c (elf64_alpha_copy_indirect_symbol): Fix thinko
adjusting the use_count of merged .got entries.

bfd/ChangeLog
bfd/elf64-alpha.c

index 0b19c6162d72a1aa1b90af9f047593e6cf1f48fa..3722f31b60459850c74ec5c8720cc47c14cf1a4d 100644 (file)
@@ -1,3 +1,8 @@
+2016-08-09  Jiaming Wei  <jmwei@hxgpt.com>
+
+       * elf64-alpha.c (elf64_alpha_copy_indirect_symbol): Fix thinko
+       adjusting the use_count of merged .got entries.
+
 2016-08-08  Nick Clifton  <nickc@redhat.com>
 
        * doc/chew.c (delete_string): Only free the string buffer if it is
index 681f792c7131a58aff32bc659664604e2aba080c..5a9c3c771a9401cb879dd1e16e48c4523e2ba84a 100644 (file)
@@ -2218,7 +2218,7 @@ elf64_alpha_copy_indirect_symbol (struct bfd_link_info *info,
                && gi->reloc_type == gs->reloc_type
                && gi->addend == gs->addend)
              {
-               gi->use_count += gs->use_count;
+               gs->use_count += gi->use_count;
                goto got_found;
              }
          gi->next = hs->got_entries;
This page took 0.038658 seconds and 4 git commands to generate.