From: Richard Sandiford Date: Mon, 11 Feb 2013 17:38:53 +0000 (+0000) Subject: bfd/ X-Git-Tag: sid-snapshot-20130301~191 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59b089943c568c6245f8c87e06f57a4fccdcca58;p=external%2Fbinutils.git bfd/ * elfxx-mips.c (mips_elf_multi_got): Simplify size calculation. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 1b51b61..51232de 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,9 @@ 2013-02-11 Richard Sandiford + * elfxx-mips.c (mips_elf_multi_got): Simplify size calculation. + +2013-02-11 Richard Sandiford + * elfxx-mips.c (mips_got_info): Move global_gotsym to... (mips_elf_link_hash_table): ...here. Update rest of file accordingly. 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);