OSDN Git Service

* elfxx-mips.c (struct mips_got_entry): New.
authoraoliva <aoliva>
Thu, 12 Dec 2002 02:55:41 +0000 (02:55 +0000)
committeraoliva <aoliva>
Thu, 12 Dec 2002 02:55:41 +0000 (02:55 +0000)
commit9e1e5f467213eeeb87f5efcde19e324b508bf3d2
tree8edc63fe4b1bac29bfbccb1acba6fa1a538be6a0
parentb0c85e17acf400b9386af2ace37c16f7435c82ff
* 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