Add output_type to bfd_link_info
[deliverable/binutils-gdb.git] / bfd / coff-mips.c
index a4905721870ec84b1d0c7f2274a15e94b74602d2..5dfbc54314967a149456955731a7cdce0c73b75a 100644 (file)
@@ -960,7 +960,7 @@ mips_relocate_section (bfd *output_bfd,
                 and the GP value of OUTPUT_BFD (which is in GP).  */
              addend = ecoff_data (input_bfd)->gp - gp;
            }
-         else if (! info->relocatable
+         else if (! bfd_link_relocatable (info)
                   || h->root.type == bfd_link_hash_defined
                   || h->root.type == bfd_link_hash_defweak)
            {
@@ -986,7 +986,7 @@ mips_relocate_section (bfd *output_bfd,
            }
        }
 
-      if (info->relocatable)
+      if (bfd_link_relocatable (info))
        {
          /* We are generating relocatable output, and must convert
             the existing reloc.  */
This page took 0.029956 seconds and 4 git commands to generate.