bfd/
* elfxx-mips.c (mips_elf_multi_got): Simplify size calculation.
This commit is contained in:
parent
d222d21028
commit
59b089943c
@ -1,3 +1,7 @@
|
||||
2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
|
||||
|
||||
* elfxx-mips.c (mips_elf_multi_got): Simplify size calculation.
|
||||
|
||||
2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
|
||||
|
||||
* elfxx-mips.c (mips_got_info): Move global_gotsym to...
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user