mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 23:39:35 +08:00
Support arbitrary length fill patterns.
* linker.c (bfd_new_link_order): Zero all fields with bfd_zalloc. (_bfd_default_link_order): Remove bfd_fill_link_order code. Call default_data_link_order. (default_fill_link_order): Delete. (default_data_link_order): New function. * elf32-mips.c (_bfd_mips_elf_final_link): Replace occurrences of bfd_fill_link_order with bfd_data_link_order. * elf64-alpha.c (elf64_alpha_final_link): Likewise. * elf64-mips.c (mips_elf64_final_link): Likewise.
This commit is contained in:
@ -6518,7 +6518,7 @@ mips_elf64_final_link (abfd, info)
|
||||
|
||||
if (p->type != bfd_indirect_link_order)
|
||||
{
|
||||
if (p->type == bfd_fill_link_order)
|
||||
if (p->type == bfd_data_link_order)
|
||||
continue;
|
||||
abort ();
|
||||
}
|
||||
@ -6655,7 +6655,7 @@ mips_elf64_final_link (abfd, info)
|
||||
|
||||
if (p->type != bfd_indirect_link_order)
|
||||
{
|
||||
if (p->type == bfd_fill_link_order)
|
||||
if (p->type == bfd_data_link_order)
|
||||
continue;
|
||||
abort ();
|
||||
}
|
||||
@ -6734,7 +6734,7 @@ mips_elf64_final_link (abfd, info)
|
||||
|
||||
if (p->type != bfd_indirect_link_order)
|
||||
{
|
||||
if (p->type == bfd_fill_link_order)
|
||||
if (p->type == bfd_data_link_order)
|
||||
continue;
|
||||
abort ();
|
||||
}
|
||||
|
Reference in New Issue
Block a user