Add output_type to bfd_link_info
[deliverable/binutils-gdb.git] / bfd / coffgen.c
index 44bdc6ed508d19e1bf30d8005d4589ae3d649138..9257f73200f3982d31659d38305591a44e64b81a 100644 (file)
@@ -2486,7 +2486,7 @@ coff_sizeof_headers (bfd *abfd, struct bfd_link_info *info)
 {
   size_t size;
 
-  if (!info->relocatable)
+  if (!bfd_link_relocatable (info))
     size = bfd_coff_filhsz (abfd) + bfd_coff_aoutsz (abfd);
   else
     size = bfd_coff_filhsz (abfd);
This page took 0.024128 seconds and 4 git commands to generate.