Add output_type to bfd_link_info
[deliverable/binutils-gdb.git] / bfd / elf32-mt.c
index 7bfa18e0bd1a6e706adc494744ea0359ca56d36c..18366300a34e11ab9adafe30a98ef1503c95b562 100644 (file)
@@ -362,7 +362,7 @@ mt_elf_relocate_section
        RELOC_AGAINST_DISCARDED_SECTION (info, input_bfd, input_section,
                                         rel, 1, relend, howto, 0, contents);
 
-      if (info->relocatable)
+      if (bfd_link_relocatable (info))
        continue;
 
       /* Finally, the sole MT-specific part.  */
@@ -436,7 +436,7 @@ mt_elf_check_relocs
   const Elf_Internal_Rela *     rel;
   const Elf_Internal_Rela *     rel_end;
 
-  if (info->relocatable)
+  if (bfd_link_relocatable (info))
     return TRUE;
 
   symtab_hdr = &elf_tdata (abfd)->symtab_hdr;
This page took 0.034061 seconds and 4 git commands to generate.