mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-09 10:42:22 +08:00
* elflink.c (bfd_elf_final_link): Correct calculation of
max_external_reloc_size.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2010-09-09 Bernd Schmidt <bernds@codesourcery.com>
|
||||||
|
|
||||||
|
bfd/
|
||||||
|
* elflink.c (bfd_elf_final_link): Correct calculation of
|
||||||
|
max_external_reloc_size.
|
||||||
|
|
||||||
2010-09-07 Alan Modra <amodra@gmail.com>
|
2010-09-07 Alan Modra <amodra@gmail.com>
|
||||||
Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
|
Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
|
||||||
|
|
||||||
|
@ -10360,7 +10360,10 @@ bfd_elf_final_link (bfd *abfd, struct bfd_link_info *info)
|
|||||||
{
|
{
|
||||||
size_t ext_size;
|
size_t ext_size;
|
||||||
|
|
||||||
ext_size = elf_section_data (sec)->rel_hdr.sh_size;
|
ext_size = esdi->rel_hdr.sh_size;
|
||||||
|
if (esdi->rel_hdr2 != NULL)
|
||||||
|
ext_size += esdi->rel_hdr2->sh_size;
|
||||||
|
|
||||||
if (ext_size > max_external_reloc_size)
|
if (ext_size > max_external_reloc_size)
|
||||||
max_external_reloc_size = ext_size;
|
max_external_reloc_size = ext_size;
|
||||||
if (sec->reloc_count > max_internal_reloc_count)
|
if (sec->reloc_count > max_internal_reloc_count)
|
||||||
|
Reference in New Issue
Block a user