aboutsummaryrefslogtreecommitdiff
path: root/bfd/i386linux.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-11-01 18:25:35 +0000
committerIan Lance Taylor <ian@airs.com>1995-11-01 18:25:35 +0000
commitb2193cc59423f8f15c25bd765c774e4791a22123 (patch)
tree2d925195a93529cf7a88db262862c1785ba4c6dd /bfd/i386linux.c
parentbaabeb74a72eae51dcb5994497bc233584f42353 (diff)
downloadgdb-b2193cc59423f8f15c25bd765c774e4791a22123.zip
gdb-b2193cc59423f8f15c25bd765c774e4791a22123.tar.gz
gdb-b2193cc59423f8f15c25bd765c774e4791a22123.tar.bz2
* 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.
Diffstat (limited to 'bfd/i386linux.c')
-rw-r--r--bfd/i386linux.c3
1 files changed, 3 insertions, 0 deletions
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,