* elfxx-mips.c (struct mips_got_entry): New.
authorAlexandre Oliva <aoliva@redhat.com>
Thu, 12 Dec 2002 02:55:41 +0000 (02:55 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Thu, 12 Dec 2002 02:55:41 +0000 (02:55 +0000)
commitb15e66826065ced9d1a4f9bb5c9403780132d891
tree8bd2c35d3265d18529a8472001d61c05afb4109a
parent4c9ba7e0a610fe6e6c9b96a493a5cf3d8cce761d
* elfxx-mips.c (struct mips_got_entry): New.
(struct mips_got_info): Added got_entries field.
(mips_elf_got_entry_hash, mips_elf_got_entry_eq): New functions.
(mips_elf_local_got_index, mips_elf_got_page,
mips_elf_got16_entry): Re-implement in terms of new...
(mips_elf_create_local_got_entry): Rewrite to use got_entries.
Change return type.
(mips_elf_highest): Warning clean-up.
(mips_elf_create_got_section): Initialize got_entries.
(_bfd_mips_elf_check_relocs): Use got_entries to estimate
local got size.
(_bfd_mips_elf_size_dynamic_sections): Do not account for
GOT_PAGE entries, since we now reuse GOT16 entries.
bfd/ChangeLog
bfd/elfxx-mips.c