OSDN Git Service

* 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)
commitd9702dd889f59b8d09b35674992694bd78c4413f
tree6799c41b0b5dba21aceda11c6080e532988128c8
parent49559485e51a0437eb0a69c426f07c0cbe820426
* 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