summaryrefslogtreecommitdiffstats
path: root/bfd/elf32-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/elf32-mips.c
parent9a1b9f826d080723e5ffabaab8f4f2dbf76bc3cf (diff)
downloadppe42-binutils-fd96f80fc8159f92a6d80a36ddbcfd274c4ef96a.tar.gz
ppe42-binutils-fd96f80fc8159f92a6d80a36ddbcfd274c4ef96a.zip
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/elf32-mips.c')
-rw-r--r--bfd/elf32-mips.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c
index 73eba75de9..c62c5db213 100644
--- a/bfd/elf32-mips.c
+++ b/bfd/elf32-mips.c
@@ -5271,7 +5271,7 @@ _bfd_mips_elf_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 ();
}
@@ -5398,7 +5398,7 @@ _bfd_mips_elf_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 ();
}
@@ -5554,7 +5554,7 @@ _bfd_mips_elf_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 ();
}
@@ -5634,7 +5634,7 @@ _bfd_mips_elf_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 ();
}
OpenPOWER on IntegriCloud