aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-mips.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-02-15 02:10:35 +0000
committerAlan Modra <amodra@gmail.com>2002-02-15 02:10:35 +0000
commitfd96f80fc8159f92a6d80a36ddbcfd274c4ef96a (patch)
tree8f36b132e9d43be2ec7eb231e177bfc8f5d71c65 /bfd/elf64-mips.c
parent9a1b9f826d080723e5ffabaab8f4f2dbf76bc3cf (diff)
downloadgdb-fd96f80fc8159f92a6d80a36ddbcfd274c4ef96a.zip
gdb-fd96f80fc8159f92a6d80a36ddbcfd274c4ef96a.tar.gz
gdb-fd96f80fc8159f92a6d80a36ddbcfd274c4ef96a.tar.bz2
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.
Diffstat (limited to 'bfd/elf64-mips.c')
-rw-r--r--bfd/elf64-mips.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/elf64-mips.c b/bfd/elf64-mips.c
index 75d456a..f20d15b 100644
--- a/bfd/elf64-mips.c
+++ b/bfd/elf64-mips.c
@@ -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 ();
}