diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2013-02-11 17:38:53 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2013-02-11 17:38:53 +0000 |
commit | 59b089943c568c6245f8c87e06f57a4fccdcca58 (patch) | |
tree | 51fa7b60202a4ad389e4487a63ca7d0d33ca828f /bfd/elfxx-mips.c | |
parent | d222d210283a5f08c3a0d347914011035f20d4be (diff) | |
download | gdb-59b089943c568c6245f8c87e06f57a4fccdcca58.zip gdb-59b089943c568c6245f8c87e06f57a4fccdcca58.tar.gz gdb-59b089943c568c6245f8c87e06f57a4fccdcca58.tar.bz2 |
bfd/
* elfxx-mips.c (mips_elf_multi_got): Simplify size calculation.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r-- | bfd/elfxx-mips.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 4a4e061..07546ba 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -4705,9 +4705,7 @@ mips_elf_multi_got (bfd *abfd, struct bfd_link_info *info, } while (g); - got->size = (gg->next->local_gotno - + gg->next->global_gotno - + gg->next->tls_gotno) * MIPS_ELF_GOT_SIZE (abfd); + got->size = assign * MIPS_ELF_GOT_SIZE (abfd); needed_relocs = 0; set_got_offset_arg.value = MIPS_ELF_GOT_SIZE (abfd); |