mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-30 09:09:16 +08:00
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Set
sh_entsize only when sgot was already initialized.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2006-08-11 Thiemo Seufer <ths@mips.com>
|
||||||
|
|
||||||
|
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Set
|
||||||
|
sh_entsize only when sgot was already initialized.
|
||||||
|
|
||||||
2006-08-08 DJ Delorie <dj@redhat.com>
|
2006-08-08 DJ Delorie <dj@redhat.com>
|
||||||
|
|
||||||
* elf32-sh.c (sh_elf_relax_section): Allow for branches across
|
* elf32-sh.c (sh_elf_relax_section): Allow for branches across
|
||||||
|
@ -8789,11 +8789,10 @@ _bfd_mips_elf_finish_dynamic_sections (bfd *output_bfd,
|
|||||||
MIPS_ELF_PUT_WORD (output_bfd, (bfd_vma) 0x80000000,
|
MIPS_ELF_PUT_WORD (output_bfd, (bfd_vma) 0x80000000,
|
||||||
sgot->contents + MIPS_ELF_GOT_SIZE (output_bfd));
|
sgot->contents + MIPS_ELF_GOT_SIZE (output_bfd));
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (sgot != NULL)
|
elf_section_data (sgot->output_section)->this_hdr.sh_entsize
|
||||||
elf_section_data (sgot->output_section)->this_hdr.sh_entsize
|
= MIPS_ELF_GOT_SIZE (output_bfd);
|
||||||
= MIPS_ELF_GOT_SIZE (output_bfd);
|
}
|
||||||
|
|
||||||
/* Generate dynamic relocations for the non-primary gots. */
|
/* Generate dynamic relocations for the non-primary gots. */
|
||||||
if (gg != NULL && gg->next)
|
if (gg != NULL && gg->next)
|
||||||
|
Reference in New Issue
Block a user