From b2193cc59423f8f15c25bd765c774e4791a22123 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 1 Nov 1995 18:25:35 +0000 Subject: * elf.c (bfd_elf_set_dt_needed_name): Don't do anything if the BFD is not of the right type. (bfd_elf_get_needed_list): Likewise. * i386linux.c (bfd_linux_size_dynamic_sections): Likewise. * sunos.c (bfd_sunos_get_needed_list): Likewise. * xcofflink.c (XCOFF_XVECP): Define. (bfd_xcoff_link_record_set): Don't do anything if the BFD is not of the right type. (bfd_xcoff_import_symbol): Likewise. (bfd_xcoff_export_symbol): Likewise. (bfd_xcoff_link_count_reloc): Likewise. (bfd_xcoff_record_link_assignment): Likewise. (bfd_xcoff_size_dynamic_sections): Likewise. --- bfd/i386linux.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bfd/i386linux.c') diff --git a/bfd/i386linux.c b/bfd/i386linux.c index d46f622..92260af 100644 --- a/bfd/i386linux.c +++ b/bfd/i386linux.c @@ -549,6 +549,9 @@ bfd_linux_size_dynamic_sections (output_bfd, info) struct fixup *f; asection *s; + if (output_bfd->xvec != &MY(vec)) + return true; + /* First find the fixups... */ linux_link_hash_traverse (linux_hash_table (info), linux_tally_symbols, -- cgit v1.1