aboutsummaryrefslogtreecommitdiff
path: root/bfd/ctor.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/ctor.c')
-rw-r--r--bfd/ctor.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/bfd/ctor.c b/bfd/ctor.c
index d81df61..0550aa8 100644
--- a/bfd/ctor.c
+++ b/bfd/ctor.c
@@ -140,9 +140,7 @@ void DEFUN(bfd_constructor_entry,(abfd, symbol_ptr_ptr, type),
rel_section->constructor_chain = reloc;
reloc->relent.address = rel_section->_cooked_size;
/* ask the cpu which howto to use */
- reloc->relent.howto =
- bfd_reloc_type_lookup(abfd->arch_info,
- BFD_RELOC_CTOR);
+ reloc->relent.howto = bfd_reloc_type_lookup(abfd, BFD_RELOC_CTOR);
rel_section->_cooked_size += sizeof(int *);
rel_section->reloc_count++;
}